Functions#
Conversion#
|
Create a DataFrame or Series from an Arrow Table or Array. |
|
Build a Polars DataFrame from any dataframe supporting the interchange protocol. |
|
Construct a DataFrame from a dictionary of sequences. |
|
Construct a DataFrame from a sequence of dictionaries. |
|
Construct a DataFrame from a numpy ndarray. |
Construct a Polars DataFrame or Series from a pandas DataFrame or Series. |
|
|
Construct a DataFrame from a sequence of sequences. |
|
Utility function that reconstructs a DataFrame or Series from the object's repr. |
Miscellaneous#
|
Align a sequence of frames using common values from one or more columns as a key. |
|
Combine multiple DataFrames, LazyFrames, or Series into a single object. |
Parallelization#
|
Collect multiple LazyFrames at the same time. |
Collect multiple LazyFrames at the same time asynchronously in thread pool. |
Random#
|
Set the global random seed for Polars. |
StringCache#
Note that the StringCache
can be used as both a context manager
and a decorator, in order to explicitly scope cache lifetime.
Context manager for enabling and disabling the global string cache. |
|
|
Enable the global string cache. |
Disable and clear the global string cache. |
|
Check whether the global string cache is enabled. |