to_parquet
with path not ending in a slash writes to a file instead of a directory since v36
#9684
Labels
bug
Something isn't working
Describe the bug
Dataframe::to_parquet
takes a path as string, and used to create a directory and write files to it, even if it did not end with/
. Starting with v36, it writes to a single file if the path does not end with/
.To Reproduce
(using the Python library)
v36 behavior:
Expected behavior
v35 behavior:
Additional context
It is common to use the
pathlib
module in Python when working with paths, and it always strips the trailing/
.The text was updated successfully, but these errors were encountered: