We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2326462 commit e0ac591Copy full SHA for e0ac591
1 file changed
dataframely/schema.py
@@ -813,7 +813,6 @@ def cast(
813
the lazy frame's schema but also means that a call to :meth:`polars.LazyFrame.collect`
814
further down the line might fail because of the cast and/or missing columns.
815
"""
816
-
817
lf = match_to_schema(df.lazy(), cls, casting="strict")
818
if isinstance(df, pl.DataFrame):
819
return lf.collect() # type: ignore
0 commit comments