Functions
Conversion
| Create a DataFrame or Series from an Arrow Table or Array. |
| Build a Polars DataFrame from any dataframe supporting the PyCapsule Interface. |
| 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, Series, or Index. |
| Construct a DataFrame from a sequence of sequences. |
| Construct a Polars DataFrame or Series from its string representation. |
| Normalize semi-structured deserialized JSON data into a flat table. |
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. |
| Combine multiple DataFrames, LazyFrames, or Series into a single object. |
| Merge multiple sorted DataFrames or LazyFrames by the sorted key. |
| Deferred execution. |
| Escapes string regex meta characters. |
Multiple queries
| Collect multiple LazyFrames at the same time. |
| Collect multiple LazyFrames at the same time asynchronously in thread pool. |
| Explain multiple LazyFrames as if passed to |
Random
| Set the global random seed for Polars. |
Extension Types
| Register the extension type for the given extension name. |
| Unregister the extension type for the given extension name. |
| Get the extension type class for the given extension name. |
StringCache
Note that the StringCache can be used as both a context manager and a decorator, in order to explicitly scope cache lifetime.
| Does nothing. |
Does nothing. | |
Does nothing. | |
Always returns true. |
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/functions.html