You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be convenient to allow calls to .collect() on a DataFrame to return a copy (same behavior as .clone()).
Currently LazyFrame allows .lazy() which allows us to write a function that accepts either a LazyFrame or a materialized DataFrame and returns a Lazy copy of that object.
We can get around it right now by calling frame.lazy().collect() but there may be additional overhead to converting from DataFrame to Lazy and back again, rather than just cloning the DataFrame directly.
Happy to give this a go myself if approved.
The text was updated successfully, but these errors were encountered:
Description
It would be convenient to allow calls to
.collect()
on a DataFrame to return a copy (same behavior as.clone()
).Currently LazyFrame allows
.lazy()
which allows us to write a function that accepts either a LazyFrame or a materialized DataFrame and returns a Lazy copy of that object.It would be useful to also be able to write a similar function that always returns a materialized DataFrame.
We can get around it right now by calling
frame.lazy().collect()
but there may be additional overhead to converting from DataFrame to Lazy and back again, rather than just cloning the DataFrame directly.Happy to give this a go myself if approved.
The text was updated successfully, but these errors were encountered: