Home Explore Blog CI



nushell

21th chunk of `book/dataframes.md`
b9615cd8835c819876fa1721609b1e40181f29d7d2223cfd0000000100000ca1
| polars store-get       | any, any              | Gets a Dataframe or other object from the plugin cache.                                          |                         |
| polars store-ls        |                       | Lists stored dataframes.                                                                         |                         |
| polars store-rm        | any                   | Removes a stored Dataframe or other object from the plugin cache.                                |                         |
| polars str-lengths     | dataframe             | Get lengths of all strings.                                                                      |                         |
| polars str-slice       | dataframe             | Slices the string from the start position until the selected length.                             |                         |
| polars strftime        | dataframe             | Formats date based on string rule.                                                               |                         |
| polars sum             | expression, dataframe | Creates a sum expression for an aggregation or aggregates columns to their sum value.            |                         |
| polars summary         | dataframe             | For a dataframe, produces descriptive statistics (summary statistics) for its numeric columns.   |                         |
| polars take            | dataframe             | Creates new dataframe using the given indices.                                                   |                         |
| polars unique          | dataframe             | Returns unique values from a dataframe.                                                          | uniq                    |
| polars uppercase       | dataframe             | Uppercase the strings in the column.                                                             |                         |
| polars value-counts    | dataframe             | Returns a dataframe with the counts for unique values in series.                                 |                         |
| polars var             | expression, dataframe | Create a var expression for an aggregation.                                                      |                         |
| polars when            | expression            | Creates and modifies a when expression.                                                          |                         |
| polars with-column     | dataframe             | Adds a series to the dataframe.                                                                  | `insert <column_name> <value> \| upsert <column_name> { <new_value> }` |

## Future of Dataframes

We hope that by the end of this page you have a solid grasp of how to use the
dataframe commands. As you can see they offer powerful operations that can
help you process data faster and natively.

However, the future of these dataframes is still very experimental. New
commands and tools that take advantage of these commands will be added as they
mature.

Check this chapter, as well as our [Blog](/blog/), regularly to learn about new
dataframes features and how they can help you process data faster and efficiently.

Title: Polars Dataframe Commands and Future Development
Summary
This section covers more Polars dataframe commands, including commands for interacting with the plugin cache (`store-get`, `store-ls`, `store-rm`), string manipulation (`str-lengths`, `str-slice`, `strftime`, `uppercase`), aggregation (`sum`, `var`), descriptive statistics (`summary`), data manipulation (`take`, `unique`), and conditional logic (`when`, `with-column`). The section also notes that the Dataframes feature is experimental and will continue to evolve with new commands and tools. Users are encouraged to check back for updates.