From 9de1a33aa154f0db039422eb414a0bbc2e905c10 Mon Sep 17 00:00:00 2001 From: coastalwhite Date: Sun, 7 Jul 2024 22:28:18 +0200 Subject: [PATCH] fix(python): normalize path in `sink_csv` Fixes 17473. --- py-polars/polars/lazyframe/frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-polars/polars/lazyframe/frame.py b/py-polars/polars/lazyframe/frame.py index fe997ad59a99..6f60a9d3326e 100644 --- a/py-polars/polars/lazyframe/frame.py +++ b/py-polars/polars/lazyframe/frame.py @@ -2475,7 +2475,7 @@ def sink_csv( ) return lf.sink_csv( - path=path, + path=normalize_filepath(path), include_bom=include_bom, include_header=include_header, separator=ord(separator),