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 b5a0d1d commit 41cdb25Copy full SHA for 41cdb25
pandas/io/common.py
@@ -1326,16 +1326,6 @@ def _match_file(
1326
1327
def _resolve_local_path(path_str: str) -> Path:
1328
parsed = parse_url(path_str)
1329
- if is_platform_windows():
1330
- if parsed.netloc:
1331
- return Path(f"//{parsed.netloc}{unquote(parsed.path)}")
1332
-
1333
- path = unquote(parsed.path)
1334
- if path.startswith("\\") and not path.startswith("\\\\"):
1335
- drive = os.path.splitdrive(os.getcwd())[0]
1336
- return Path(drive + path)
1337
1338
- return Path(path)
1339
return Path(unquote(parsed.path))
1340
1341
0 commit comments