From b3b0f6557d5d26be93895c0172c70300a8e6dec8 Mon Sep 17 00:00:00 2001 From: arw2019 Date: Thu, 15 Oct 2020 12:18:45 +0000 Subject: [PATCH] fix type hint --- pandas/io/parquet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/io/parquet.py b/pandas/io/parquet.py index 97ec0ed1f7fdc..01de7c4e1601f 100644 --- a/pandas/io/parquet.py +++ b/pandas/io/parquet.py @@ -238,7 +238,7 @@ def read( def to_parquet( df: DataFrame, - path: FilePathOrBuffer[AnyStr], + path: FilePathOrBuffer, engine: str = "auto", compression: Optional[str] = "snappy", index: Optional[bool] = None,