Skip to content

Commit ee8cd90

Browse files
pandas-dev#44914 Changes WriteBuffer class to io.BufferedWriter class for typecasting to string in path object for to_parquet
1 parent 0bde11e commit ee8cd90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/parquet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def write(
180180
mode="wb",
181181
is_dir=partition_cols is not None,
182182
)
183-
if isinstance(path_or_handle, WriteBuffer):
183+
if isinstance(path_or_handle, io.BufferedWriter):
184184
path_or_handle = path_or_handle.raw.name
185185

186186
try:

0 commit comments

Comments
 (0)