We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e288a8 commit cc9dfd9Copy full SHA for cc9dfd9
src/nested_pandas/nestedframe/io.py
@@ -179,10 +179,10 @@ def _transform_read_parquet_data_arg(data):
179
# Check if a file-like object
180
if hasattr(data, "read"):
181
return data, None
182
- # Check if `data` is a Path
183
# Check if `data` is a UPath and use it
184
if isinstance(data, UPath):
185
return data.path, data.fs
+ # Check if `data` is a Path (Path is a superclass for UPath, so this order of checks)
186
if isinstance(data, Path):
187
188
# It should be a string now
0 commit comments