File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2828
2929if TYPE_CHECKING :
3030 from collections .abc import Iterable , Iterator , Mapping , Sequence
31+ from io import BytesIO
32+ from pathlib import Path
3133 from types import ModuleType
3234
3335 from narwhals ._compliant .typing import CompliantDataFrameAny
@@ -380,11 +382,13 @@ def group_by(
380382 def explode (self , columns : Sequence [str ]) -> DaftLazyFrame :
381383 return self ._with_native (self .native .explode (* columns ))
382384
385+ def sink_parquet (self , file : str | Path | BytesIO ) -> None :
386+ self .native .write_parquet (str (file ))
387+
383388 gather_every = not_implemented .deprecated (
384389 "`LazyFrame.gather_every` is deprecated and will be removed in a future version."
385390 )
386391 join_asof = not_implemented ()
387392 tail = not_implemented .deprecated (
388393 "`LazyFrame.tail` is deprecated and will be removed in a future version."
389394 )
390- sink_parquet = not_implemented ()
You can’t perform that action at this time.
0 commit comments