Collection.collect_all#
- Collection.collect_all(**kwargs: Any) Self[source]#
Collect all members of the collection.
This method collects all members in parallel for maximum efficiency. It is particularly useful when
filter()is called with lazy frame inputs.- Parameters:
kwargs – Keyword arguments passed directly to
polars.collect_all().- Returns:
The same collection with all members collected once. Members annotated with
DataFrameare returned as DataFrames, while members annotated withLazyFrameare returned as “shallow-lazy” frames (obtained by calling.collect().lazy()).