. | plugin |
+| [`polars str-strip-chars`](/commands/docs/polars_str-strip-chars.md) | Strips specified characters from strings in a column | plugin |
+| [`polars strftime`](/commands/docs/polars_strftime.md) | Formats date based on string rule. | plugin |
+| [`polars struct-json-encode`](/commands/docs/polars_struct-json-encode.md) | Convert this struct to a string column with json values. | plugin |
+| [`polars sum`](/commands/docs/polars_sum.md) | Creates a sum expression for an aggregation or aggregates columns to their sum value. | plugin |
+| [`polars summary`](/commands/docs/polars_summary.md) | For a dataframe, produces descriptive statistics (summary statistics) for its numeric columns. | plugin |
+| [`polars take`](/commands/docs/polars_take.md) | Creates new dataframe using the given indices. | plugin |
+| [`polars truncate`](/commands/docs/polars_truncate.md) | Divide the date/datetime range into buckets. | plugin |
+| [`polars unique`](/commands/docs/polars_unique.md) | Returns unique values from a dataframe. | plugin |
+| [`polars unnest`](/commands/docs/polars_unnest.md) | Decompose struct columns into separate columns for each of their fields. The new columns will be inserted into the dataframe at the location of the struct column. | plugin |
+| [`polars unpivot`](/commands/docs/polars_unpivot.md) | Unpivot a DataFrame from wide to long format. | plugin |
+| [`polars uppercase`](/commands/docs/polars_uppercase.md) | Uppercase the strings in the column. | plugin |
+| [`polars value-counts`](/commands/docs/polars_value-counts.md) | Returns a dataframe with the counts for unique values in series. | plugin |
+| [`polars var`](/commands/docs/polars_var.md) | Create a var expression for an aggregation. | plugin |
+| [`polars when`](/commands/docs/polars_when.md) | Creates and modifies a when expression. | plugin |
+| [`polars with-column`](/commands/docs/polars_with-column.md) | Adds a series to the dataframe. | plugin |
\ No newline at end of file
diff --git a/commands/docs/polars_agg-groups.md b/commands/docs/polars_agg-groups.md
index 93ec6df049c..a867f144036 100644
--- a/commands/docs/polars_agg-groups.md
+++ b/commands/docs/polars_agg-groups.md
@@ -2,7 +2,7 @@
title: polars agg-groups
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates an agg_groups expression.
usage: |
diff --git a/commands/docs/polars_agg.md b/commands/docs/polars_agg.md
index ed5102eedda..af2bd473c79 100644
--- a/commands/docs/polars_agg.md
+++ b/commands/docs/polars_agg.md
@@ -2,7 +2,7 @@
title: polars agg
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Performs a series of aggregations from a group-by.
usage: |
diff --git a/commands/docs/polars_all-false.md b/commands/docs/polars_all-false.md
index ffc62590685..a95e2aef7d7 100644
--- a/commands/docs/polars_all-false.md
+++ b/commands/docs/polars_all-false.md
@@ -2,7 +2,7 @@
title: polars all-false
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Returns true if all values are false.
usage: |
diff --git a/commands/docs/polars_all-true.md b/commands/docs/polars_all-true.md
index d7280e402c7..a7533c313fc 100644
--- a/commands/docs/polars_all-true.md
+++ b/commands/docs/polars_all-true.md
@@ -2,7 +2,7 @@
title: polars all-true
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Returns true if all values are true.
usage: |
diff --git a/commands/docs/polars_append.md b/commands/docs/polars_append.md
index 2264c3dfdf5..4c198150e5b 100644
--- a/commands/docs/polars_append.md
+++ b/commands/docs/polars_append.md
@@ -2,7 +2,7 @@
title: polars append
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Appends a new dataframe.
usage: |
diff --git a/commands/docs/polars_arg-max.md b/commands/docs/polars_arg-max.md
index 5caeedf80d0..99030841357 100644
--- a/commands/docs/polars_arg-max.md
+++ b/commands/docs/polars_arg-max.md
@@ -2,7 +2,7 @@
title: polars arg-max
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Return index for max value in series.
usage: |
diff --git a/commands/docs/polars_arg-min.md b/commands/docs/polars_arg-min.md
index 4cbf2c721e8..53e874469e7 100644
--- a/commands/docs/polars_arg-min.md
+++ b/commands/docs/polars_arg-min.md
@@ -2,7 +2,7 @@
title: polars arg-min
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Return index for min value in series.
usage: |
diff --git a/commands/docs/polars_arg-sort.md b/commands/docs/polars_arg-sort.md
index 5a4ddc4f12e..1212ed53b34 100644
--- a/commands/docs/polars_arg-sort.md
+++ b/commands/docs/polars_arg-sort.md
@@ -2,7 +2,7 @@
title: polars arg-sort
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Returns indexes for a sorted series.
usage: |
diff --git a/commands/docs/polars_arg-true.md b/commands/docs/polars_arg-true.md
index c64ec33c8e0..d776cb74b54 100644
--- a/commands/docs/polars_arg-true.md
+++ b/commands/docs/polars_arg-true.md
@@ -2,7 +2,7 @@
title: polars arg-true
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Returns indexes where values are true.
usage: |
diff --git a/commands/docs/polars_arg-unique.md b/commands/docs/polars_arg-unique.md
index 9014c9184c5..8eae9ca5406 100644
--- a/commands/docs/polars_arg-unique.md
+++ b/commands/docs/polars_arg-unique.md
@@ -2,7 +2,7 @@
title: polars arg-unique
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Returns indexes for unique values.
usage: |
diff --git a/commands/docs/polars_arg-where.md b/commands/docs/polars_arg-where.md
index 5470aeaa242..b47d4d4604a 100644
--- a/commands/docs/polars_arg-where.md
+++ b/commands/docs/polars_arg-where.md
@@ -2,7 +2,7 @@
title: polars arg-where
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates an expression that returns the arguments where expression is true.
usage: |
diff --git a/commands/docs/polars_as-date.md b/commands/docs/polars_as-date.md
index 6f7b38725d0..f07f2e48452 100644
--- a/commands/docs/polars_as-date.md
+++ b/commands/docs/polars_as-date.md
@@ -2,7 +2,7 @@
title: polars as-date
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Converts string to date.
usage: |
diff --git a/commands/docs/polars_as-datetime.md b/commands/docs/polars_as-datetime.md
index 144a29dac1b..a50a165affc 100644
--- a/commands/docs/polars_as-datetime.md
+++ b/commands/docs/polars_as-datetime.md
@@ -2,7 +2,7 @@
title: polars as-datetime
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Converts string to datetime.
usage: |
@@ -88,10 +88,10 @@ Converts string to datetime using the `--not-exact` flag even with excessive sym
╭───┬──────────────╮
│ # │ datetime │
├───┼──────────────┤
-│ 0 │ 5 months ago │
-│ 1 │ 5 months ago │
-│ 2 │ 5 months ago │
-│ 3 │ 5 months ago │
+│ 0 │ 6 months ago │
+│ 1 │ 6 months ago │
+│ 2 │ 6 months ago │
+│ 3 │ 6 months ago │
╰───┴──────────────╯
```
diff --git a/commands/docs/polars_as.md b/commands/docs/polars_as.md
index fe2d87f1384..086218ee8c9 100644
--- a/commands/docs/polars_as.md
+++ b/commands/docs/polars_as.md
@@ -2,7 +2,7 @@
title: polars as
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates an alias expression.
usage: |
diff --git a/commands/docs/polars_cache.md b/commands/docs/polars_cache.md
index b8ce4fac1e3..5227e05bc99 100644
--- a/commands/docs/polars_cache.md
+++ b/commands/docs/polars_cache.md
@@ -2,7 +2,7 @@
title: polars cache
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Caches operations in a new LazyFrame.
usage: |
diff --git a/commands/docs/polars_cast.md b/commands/docs/polars_cast.md
index 48d34d07046..5ccd6bf8178 100644
--- a/commands/docs/polars_cast.md
+++ b/commands/docs/polars_cast.md
@@ -2,7 +2,7 @@
title: polars cast
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Cast a column to a different dtype.
usage: |
diff --git a/commands/docs/polars_col.md b/commands/docs/polars_col.md
index 7077aed5f34..e856fc4651b 100644
--- a/commands/docs/polars_col.md
+++ b/commands/docs/polars_col.md
@@ -2,7 +2,7 @@
title: polars col
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates a named column expression.
usage: |
diff --git a/commands/docs/polars_collect.md b/commands/docs/polars_collect.md
index bf8f9f6e1d4..452a5c35337 100644
--- a/commands/docs/polars_collect.md
+++ b/commands/docs/polars_collect.md
@@ -2,7 +2,7 @@
title: polars collect
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Collect lazy dataframe into eager dataframe.
usage: |
diff --git a/commands/docs/polars_columns.md b/commands/docs/polars_columns.md
index 49c2227df89..767ca6b51c7 100644
--- a/commands/docs/polars_columns.md
+++ b/commands/docs/polars_columns.md
@@ -2,7 +2,7 @@
title: polars columns
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Show dataframe columns.
usage: |
diff --git a/commands/docs/polars_concat-str.md b/commands/docs/polars_concat-str.md
index 0156489cc73..2650eb5df71 100644
--- a/commands/docs/polars_concat-str.md
+++ b/commands/docs/polars_concat-str.md
@@ -2,7 +2,7 @@
title: polars concat-str
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates a concat string expression.
usage: |
diff --git a/commands/docs/polars_concat.md b/commands/docs/polars_concat.md
index c0fc444d5ca..1268bc8bb3a 100644
--- a/commands/docs/polars_concat.md
+++ b/commands/docs/polars_concat.md
@@ -2,7 +2,7 @@
title: polars concat
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Concatenate two or more dataframes.
usage: |
diff --git a/commands/docs/polars_contains.md b/commands/docs/polars_contains.md
index d512c19e111..6a2fee108ac 100644
--- a/commands/docs/polars_contains.md
+++ b/commands/docs/polars_contains.md
@@ -2,7 +2,7 @@
title: polars contains
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Checks if a pattern is contained in a string.
usage: |
diff --git a/commands/docs/polars_convert-time-zone.md b/commands/docs/polars_convert-time-zone.md
index d78e84d69b9..d482958f830 100644
--- a/commands/docs/polars_convert-time-zone.md
+++ b/commands/docs/polars_convert-time-zone.md
@@ -2,7 +2,7 @@
title: polars convert-time-zone
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Convert datetime to target timezone.
usage: |
diff --git a/commands/docs/polars_count-null.md b/commands/docs/polars_count-null.md
index c4030099cca..80e303194fc 100644
--- a/commands/docs/polars_count-null.md
+++ b/commands/docs/polars_count-null.md
@@ -2,7 +2,7 @@
title: polars count-null
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Counts null values.
usage: |
diff --git a/commands/docs/polars_count.md b/commands/docs/polars_count.md
index 3947324a7e6..56e070fe438 100644
--- a/commands/docs/polars_count.md
+++ b/commands/docs/polars_count.md
@@ -2,7 +2,7 @@
title: polars count
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Returns the number of non-null values in the column.
usage: |
diff --git a/commands/docs/polars_cumulative.md b/commands/docs/polars_cumulative.md
index 8f816d1d9d3..68e2e631379 100644
--- a/commands/docs/polars_cumulative.md
+++ b/commands/docs/polars_cumulative.md
@@ -2,7 +2,7 @@
title: polars cumulative
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Cumulative calculation for a column or series.
usage: |
diff --git a/commands/docs/polars_cut.md b/commands/docs/polars_cut.md
index 134df8f322e..5aa587b8741 100644
--- a/commands/docs/polars_cut.md
+++ b/commands/docs/polars_cut.md
@@ -2,7 +2,7 @@
title: polars cut
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Bin continuous values into discrete categories for a series.
usage: |
diff --git a/commands/docs/polars_datepart.md b/commands/docs/polars_datepart.md
index 344d56e3f0d..a89d11fcf7b 100644
--- a/commands/docs/polars_datepart.md
+++ b/commands/docs/polars_datepart.md
@@ -2,7 +2,7 @@
title: polars datepart
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates an expression for capturing the specified datepart in a column.
usage: |
diff --git a/commands/docs/polars_decimal.md b/commands/docs/polars_decimal.md
index 519497c24a6..7e0708f7eff 100644
--- a/commands/docs/polars_decimal.md
+++ b/commands/docs/polars_decimal.md
@@ -2,7 +2,7 @@
title: polars decimal
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Converts a string column into a decimal column
usage: |
diff --git a/commands/docs/polars_drop-duplicates.md b/commands/docs/polars_drop-duplicates.md
index eaf5648cc4f..616ddda684a 100644
--- a/commands/docs/polars_drop-duplicates.md
+++ b/commands/docs/polars_drop-duplicates.md
@@ -2,7 +2,7 @@
title: polars drop-duplicates
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Drops duplicate values in dataframe.
usage: |
diff --git a/commands/docs/polars_drop-nulls.md b/commands/docs/polars_drop-nulls.md
index 66fb9a1b07a..986dd541e1e 100644
--- a/commands/docs/polars_drop-nulls.md
+++ b/commands/docs/polars_drop-nulls.md
@@ -2,7 +2,7 @@
title: polars drop-nulls
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Drops null values in dataframe.
usage: |
diff --git a/commands/docs/polars_drop.md b/commands/docs/polars_drop.md
index 569ff7f42ef..fd3e23a5b89 100644
--- a/commands/docs/polars_drop.md
+++ b/commands/docs/polars_drop.md
@@ -2,7 +2,7 @@
title: polars drop
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates a new dataframe by dropping the selected columns.
usage: |
diff --git a/commands/docs/polars_dummies.md b/commands/docs/polars_dummies.md
index 7c3a916a514..650a6210b75 100644
--- a/commands/docs/polars_dummies.md
+++ b/commands/docs/polars_dummies.md
@@ -2,7 +2,7 @@
title: polars dummies
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates a new dataframe with dummy variables.
usage: |
diff --git a/commands/docs/polars_entropy.md b/commands/docs/polars_entropy.md
index 46074ee3e46..e9244f441b2 100644
--- a/commands/docs/polars_entropy.md
+++ b/commands/docs/polars_entropy.md
@@ -2,7 +2,7 @@
title: polars entropy
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Compute the entropy as `-sum(pk * log(pk))` where `pk` are discrete probabilities.
usage: |
diff --git a/commands/docs/polars_explode.md b/commands/docs/polars_explode.md
index d53622ebbf7..f428983c9a6 100644
--- a/commands/docs/polars_explode.md
+++ b/commands/docs/polars_explode.md
@@ -2,7 +2,7 @@
title: polars explode
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Explodes a dataframe or creates a explode expression.
usage: |
diff --git a/commands/docs/polars_expr-not.md b/commands/docs/polars_expr-not.md
index 834a5bb1aaa..8fe273e976a 100644
--- a/commands/docs/polars_expr-not.md
+++ b/commands/docs/polars_expr-not.md
@@ -2,7 +2,7 @@
title: polars expr-not
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates a not expression.
usage: |
diff --git a/commands/docs/polars_fill-nan.md b/commands/docs/polars_fill-nan.md
index f1aba0ec733..b92e868eae6 100644
--- a/commands/docs/polars_fill-nan.md
+++ b/commands/docs/polars_fill-nan.md
@@ -2,7 +2,7 @@
title: polars fill-nan
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Replaces NaN values with the given expression.
usage: |
diff --git a/commands/docs/polars_fill-null.md b/commands/docs/polars_fill-null.md
index 20ee94ed87c..d69665fc7c6 100644
--- a/commands/docs/polars_fill-null.md
+++ b/commands/docs/polars_fill-null.md
@@ -2,7 +2,7 @@
title: polars fill-null
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Replaces NULL values with the given expression.
usage: |
diff --git a/commands/docs/polars_filter-with.md b/commands/docs/polars_filter-with.md
index 7842a7bde55..f6da8168c86 100644
--- a/commands/docs/polars_filter-with.md
+++ b/commands/docs/polars_filter-with.md
@@ -2,7 +2,7 @@
title: polars filter-with
categories: |
dataframe or lazyframe
-version: 0.112.0
+version: 0.113.0
dataframe_or_lazyframe: |
Filters dataframe using a mask or expression as reference.
usage: |
diff --git a/commands/docs/polars_filter.md b/commands/docs/polars_filter.md
index 7dd5ce3e20f..7c3d723a838 100644
--- a/commands/docs/polars_filter.md
+++ b/commands/docs/polars_filter.md
@@ -2,7 +2,7 @@
title: polars filter
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Filter dataframe based in expression.
usage: |
diff --git a/commands/docs/polars_first.md b/commands/docs/polars_first.md
index d0ce9f535f8..e92f9b3ca01 100644
--- a/commands/docs/polars_first.md
+++ b/commands/docs/polars_first.md
@@ -2,7 +2,7 @@
title: polars first
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Show only the first number of rows or create a first expression
usage: |
diff --git a/commands/docs/polars_flatten.md b/commands/docs/polars_flatten.md
index 06ab065d5d6..5c9b8c115a6 100644
--- a/commands/docs/polars_flatten.md
+++ b/commands/docs/polars_flatten.md
@@ -2,7 +2,7 @@
title: polars flatten
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
An alias for polars explode.
usage: |
diff --git a/commands/docs/polars_get-day.md b/commands/docs/polars_get-day.md
index 5819299ce4f..6f17f2f6ba0 100644
--- a/commands/docs/polars_get-day.md
+++ b/commands/docs/polars_get-day.md
@@ -2,7 +2,7 @@
title: polars get-day
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets day from date.
usage: |
diff --git a/commands/docs/polars_get-hour.md b/commands/docs/polars_get-hour.md
index a77a7d8297b..22c92aec737 100644
--- a/commands/docs/polars_get-hour.md
+++ b/commands/docs/polars_get-hour.md
@@ -2,7 +2,7 @@
title: polars get-hour
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets hour from datetime.
usage: |
diff --git a/commands/docs/polars_get-minute.md b/commands/docs/polars_get-minute.md
index 78efffb97e9..7ead6331be3 100644
--- a/commands/docs/polars_get-minute.md
+++ b/commands/docs/polars_get-minute.md
@@ -2,7 +2,7 @@
title: polars get-minute
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets minute from date.
usage: |
diff --git a/commands/docs/polars_get-month.md b/commands/docs/polars_get-month.md
index 3a19f5cb47c..3cd0154391a 100644
--- a/commands/docs/polars_get-month.md
+++ b/commands/docs/polars_get-month.md
@@ -2,7 +2,7 @@
title: polars get-month
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets month from date.
usage: |
diff --git a/commands/docs/polars_get-nanosecond.md b/commands/docs/polars_get-nanosecond.md
index 35a247fde08..b62b1316050 100644
--- a/commands/docs/polars_get-nanosecond.md
+++ b/commands/docs/polars_get-nanosecond.md
@@ -2,7 +2,7 @@
title: polars get-nanosecond
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets nanosecond from date.
usage: |
diff --git a/commands/docs/polars_get-ordinal.md b/commands/docs/polars_get-ordinal.md
index 0053c7007e1..8fdc06bcea4 100644
--- a/commands/docs/polars_get-ordinal.md
+++ b/commands/docs/polars_get-ordinal.md
@@ -2,7 +2,7 @@
title: polars get-ordinal
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets ordinal from date.
usage: |
diff --git a/commands/docs/polars_get-second.md b/commands/docs/polars_get-second.md
index 95372749037..d67cee120a1 100644
--- a/commands/docs/polars_get-second.md
+++ b/commands/docs/polars_get-second.md
@@ -2,7 +2,7 @@
title: polars get-second
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets second from date.
usage: |
diff --git a/commands/docs/polars_get-week.md b/commands/docs/polars_get-week.md
index f43ad2a759c..b2607ad9dee 100644
--- a/commands/docs/polars_get-week.md
+++ b/commands/docs/polars_get-week.md
@@ -2,7 +2,7 @@
title: polars get-week
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets week from date.
usage: |
diff --git a/commands/docs/polars_get-weekday.md b/commands/docs/polars_get-weekday.md
index 68f71f810b2..2c104633b7b 100644
--- a/commands/docs/polars_get-weekday.md
+++ b/commands/docs/polars_get-weekday.md
@@ -2,7 +2,7 @@
title: polars get-weekday
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets weekday from date.
usage: |
diff --git a/commands/docs/polars_get-year.md b/commands/docs/polars_get-year.md
index 84a7c4720ec..ffcf3836e93 100644
--- a/commands/docs/polars_get-year.md
+++ b/commands/docs/polars_get-year.md
@@ -2,7 +2,7 @@
title: polars get-year
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets year from date.
usage: |
diff --git a/commands/docs/polars_get.md b/commands/docs/polars_get.md
index d7d4be1540a..80b3d1389bb 100644
--- a/commands/docs/polars_get.md
+++ b/commands/docs/polars_get.md
@@ -2,7 +2,7 @@
title: polars get
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates dataframe with the selected columns.
usage: |
diff --git a/commands/docs/polars_group-by.md b/commands/docs/polars_group-by.md
index 00d192485fc..34cfda089cf 100644
--- a/commands/docs/polars_group-by.md
+++ b/commands/docs/polars_group-by.md
@@ -2,7 +2,7 @@
title: polars group-by
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Creates a group-by object that can be used for other aggregations.
usage: |
diff --git a/commands/docs/polars_horizontal.md b/commands/docs/polars_horizontal.md
index c0ea1be74c0..891bc7f3ae1 100644
--- a/commands/docs/polars_horizontal.md
+++ b/commands/docs/polars_horizontal.md
@@ -2,7 +2,7 @@
title: polars horizontal
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Horizontal calculation across multiple columns.
usage: |
diff --git a/commands/docs/polars_implode.md b/commands/docs/polars_implode.md
index 42cbb4ebf40..6f1170ad46f 100644
--- a/commands/docs/polars_implode.md
+++ b/commands/docs/polars_implode.md
@@ -2,7 +2,7 @@
title: polars implode
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Aggregates values into a list.
usage: |
diff --git a/commands/docs/polars_integer.md b/commands/docs/polars_integer.md
index 718720646fe..97fa8ab0378 100644
--- a/commands/docs/polars_integer.md
+++ b/commands/docs/polars_integer.md
@@ -2,7 +2,7 @@
title: polars integer
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Converts a string column into a integer column
usage: |
diff --git a/commands/docs/polars_into-df.md b/commands/docs/polars_into-df.md
index 9154fd2fd88..06cd2a13ec1 100644
--- a/commands/docs/polars_into-df.md
+++ b/commands/docs/polars_into-df.md
@@ -2,7 +2,7 @@
title: polars into-df
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Converts a list, table or record into a dataframe.
usage: |
diff --git a/commands/docs/polars_into-dtype.md b/commands/docs/polars_into-dtype.md
index e2a1fcce3cb..f373308ae34 100644
--- a/commands/docs/polars_into-dtype.md
+++ b/commands/docs/polars_into-dtype.md
@@ -2,7 +2,7 @@
title: polars into-dtype
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Convert a string to a specific datatype.
usage: |
diff --git a/commands/docs/polars_into-lazy.md b/commands/docs/polars_into-lazy.md
index 341d9b768a9..ca97e1eb841 100644
--- a/commands/docs/polars_into-lazy.md
+++ b/commands/docs/polars_into-lazy.md
@@ -2,7 +2,7 @@
title: polars into-lazy
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Converts a dataframe into a lazy dataframe.
usage: |
diff --git a/commands/docs/polars_into-nu.md b/commands/docs/polars_into-nu.md
index 3a77b58d8fd..47ae2a52970 100644
--- a/commands/docs/polars_into-nu.md
+++ b/commands/docs/polars_into-nu.md
@@ -2,7 +2,7 @@
title: polars into-nu
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Converts a dataframe or an expression into nushell value for access and exploration.
usage: |
diff --git a/commands/docs/polars_into-repr.md b/commands/docs/polars_into-repr.md
index 2dddcd684d1..531b2292e50 100644
--- a/commands/docs/polars_into-repr.md
+++ b/commands/docs/polars_into-repr.md
@@ -2,7 +2,7 @@
title: polars into-repr
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Display a dataframe in its repr format.
usage: |
diff --git a/commands/docs/polars_into-schema.md b/commands/docs/polars_into-schema.md
index 9d84b90b7f0..e3cb175be65 100644
--- a/commands/docs/polars_into-schema.md
+++ b/commands/docs/polars_into-schema.md
@@ -2,7 +2,7 @@
title: polars into-schema
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Convert a value to a polars schema object
usage: |
diff --git a/commands/docs/polars_is-duplicated.md b/commands/docs/polars_is-duplicated.md
index ee53118aee0..47fa5a488fb 100644
--- a/commands/docs/polars_is-duplicated.md
+++ b/commands/docs/polars_is-duplicated.md
@@ -2,7 +2,7 @@
title: polars is-duplicated
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates mask indicating duplicated values.
usage: |
diff --git a/commands/docs/polars_is-in.md b/commands/docs/polars_is-in.md
index 7d887262b7b..419daaa9cc0 100644
--- a/commands/docs/polars_is-in.md
+++ b/commands/docs/polars_is-in.md
@@ -2,7 +2,7 @@
title: polars is-in
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates an is-in expression or checks to see if the elements are contained in the right series
usage: |
diff --git a/commands/docs/polars_is-not-null.md b/commands/docs/polars_is-not-null.md
index e8b105bc57d..5353d0b38f4 100644
--- a/commands/docs/polars_is-not-null.md
+++ b/commands/docs/polars_is-not-null.md
@@ -2,7 +2,7 @@
title: polars is-not-null
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates mask where value is not null.
usage: |
diff --git a/commands/docs/polars_is-null.md b/commands/docs/polars_is-null.md
index 9571698f965..d137ee98a06 100644
--- a/commands/docs/polars_is-null.md
+++ b/commands/docs/polars_is-null.md
@@ -2,7 +2,7 @@
title: polars is-null
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates mask where value is null.
usage: |
diff --git a/commands/docs/polars_is-unique.md b/commands/docs/polars_is-unique.md
index 34938c43c5b..a84b6243344 100644
--- a/commands/docs/polars_is-unique.md
+++ b/commands/docs/polars_is-unique.md
@@ -2,7 +2,7 @@
title: polars is-unique
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates mask indicating unique values.
usage: |
diff --git a/commands/docs/polars_join-where.md b/commands/docs/polars_join-where.md
index a5b22686ed9..5f246d50ff8 100644
--- a/commands/docs/polars_join-where.md
+++ b/commands/docs/polars_join-where.md
@@ -2,7 +2,7 @@
title: polars join-where
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Joins a lazy frame with other lazy frame based on conditions.
usage: |
diff --git a/commands/docs/polars_join.md b/commands/docs/polars_join.md
index 6e93f7e7d1d..7c5dfb8f14c 100644
--- a/commands/docs/polars_join.md
+++ b/commands/docs/polars_join.md
@@ -2,7 +2,7 @@
title: polars join
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Joins a lazy frame with other lazy frame.
usage: |
diff --git a/commands/docs/polars_last.md b/commands/docs/polars_last.md
index 82c1c0e7bf4..6a27b6611c9 100644
--- a/commands/docs/polars_last.md
+++ b/commands/docs/polars_last.md
@@ -2,7 +2,7 @@
title: polars last
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates new dataframe with tail rows or creates a last expression.
usage: |
diff --git a/commands/docs/polars_len.md b/commands/docs/polars_len.md
index e72c1554999..c61f1ce7d1f 100644
--- a/commands/docs/polars_len.md
+++ b/commands/docs/polars_len.md
@@ -2,7 +2,7 @@
title: polars len
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Return the number of rows in the context. This is similar to COUNT(*) in SQL.
usage: |
@@ -28,7 +28,7 @@ contributors: false
| any | polars_expression |
## Examples
-Count the number of rows in the the dataframe.
+Count the number of rows in the dataframe.
```nu
> [[a b]; [1 2] [3 4]] | polars into-df | polars select (polars len) | polars collect
╭───┬─────╮
diff --git a/commands/docs/polars_list-contains.md b/commands/docs/polars_list-contains.md
index da502a3a56f..672ff23c438 100644
--- a/commands/docs/polars_list-contains.md
+++ b/commands/docs/polars_list-contains.md
@@ -2,7 +2,7 @@
title: polars list-contains
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Checks if an element is contained in a list.
usage: |
diff --git a/commands/docs/polars_lit.md b/commands/docs/polars_lit.md
index fe843d55855..8d27a1de869 100644
--- a/commands/docs/polars_lit.md
+++ b/commands/docs/polars_lit.md
@@ -2,7 +2,7 @@
title: polars lit
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates a literal expression.
usage: |
diff --git a/commands/docs/polars_lowercase.md b/commands/docs/polars_lowercase.md
index e5588243360..6bfd63e502b 100644
--- a/commands/docs/polars_lowercase.md
+++ b/commands/docs/polars_lowercase.md
@@ -2,7 +2,7 @@
title: polars lowercase
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Lowercase the strings in the column.
usage: |
diff --git a/commands/docs/polars_math.md b/commands/docs/polars_math.md
index d08de9b81d8..875bed4c69c 100644
--- a/commands/docs/polars_math.md
+++ b/commands/docs/polars_math.md
@@ -2,7 +2,7 @@
title: polars math
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Collection of math functions to be applied on one or more column expressions
usage: |
diff --git a/commands/docs/polars_max.md b/commands/docs/polars_max.md
index ca96ee6dc3a..4b4dcb0af99 100644
--- a/commands/docs/polars_max.md
+++ b/commands/docs/polars_max.md
@@ -2,7 +2,7 @@
title: polars max
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates a max expression or aggregates columns to their max value.
usage: |
diff --git a/commands/docs/polars_mean.md b/commands/docs/polars_mean.md
index 45ee26e428f..caa1006faae 100644
--- a/commands/docs/polars_mean.md
+++ b/commands/docs/polars_mean.md
@@ -2,7 +2,7 @@
title: polars mean
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates a mean expression for an aggregation or aggregates columns to their mean value.
usage: |
diff --git a/commands/docs/polars_median.md b/commands/docs/polars_median.md
index 00e583c8ff9..c2781d71f6f 100644
--- a/commands/docs/polars_median.md
+++ b/commands/docs/polars_median.md
@@ -2,7 +2,7 @@
title: polars median
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Median value from columns in a dataframe or creates expression for an aggregation
usage: |
diff --git a/commands/docs/polars_min.md b/commands/docs/polars_min.md
index 8eeb93ce372..e92fa045ddc 100644
--- a/commands/docs/polars_min.md
+++ b/commands/docs/polars_min.md
@@ -2,7 +2,7 @@
title: polars min
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates a min expression or aggregates columns to their min value.
usage: |
diff --git a/commands/docs/polars_n-unique.md b/commands/docs/polars_n-unique.md
index dd3c79dddf1..47d82467246 100644
--- a/commands/docs/polars_n-unique.md
+++ b/commands/docs/polars_n-unique.md
@@ -2,7 +2,7 @@
title: polars n-unique
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Counts unique values.
usage: |
diff --git a/commands/docs/polars_not.md b/commands/docs/polars_not.md
index 186cf9b7a15..c6c02ce72ee 100644
--- a/commands/docs/polars_not.md
+++ b/commands/docs/polars_not.md
@@ -2,7 +2,7 @@
title: polars not
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Inverts boolean mask.
usage: |
diff --git a/commands/docs/polars_open.md b/commands/docs/polars_open.md
index 11cdd8a4a50..d94cf81a394 100644
--- a/commands/docs/polars_open.md
+++ b/commands/docs/polars_open.md
@@ -2,7 +2,7 @@
title: polars open
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Opens CSV, JSON, NDJSON/JSON lines, arrow, avro, or parquet file to create dataframe. A lazy dataframe will be created by default, if supported.
usage: |
diff --git a/commands/docs/polars_otherwise.md b/commands/docs/polars_otherwise.md
index d9f65e56f31..f65131b87b6 100644
--- a/commands/docs/polars_otherwise.md
+++ b/commands/docs/polars_otherwise.md
@@ -2,7 +2,7 @@
title: polars otherwise
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Completes a when expression.
usage: |
diff --git a/commands/docs/polars_over.md b/commands/docs/polars_over.md
index 069bf2117c3..df5c2734916 100644
--- a/commands/docs/polars_over.md
+++ b/commands/docs/polars_over.md
@@ -2,7 +2,7 @@
title: polars over
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Compute expressions over a window group defined by partition expressions.
usage: |
diff --git a/commands/docs/polars_pivot.md b/commands/docs/polars_pivot.md
index 48f5211a9be..439c452b363 100644
--- a/commands/docs/polars_pivot.md
+++ b/commands/docs/polars_pivot.md
@@ -2,7 +2,7 @@
title: polars pivot
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Pivot a DataFrame from long to wide format.
usage: |
@@ -62,6 +62,27 @@ Given a set of test scores, reshape so we have one row per student, with differe
```
+Given a set of test scores, reshape so we have one row per student, with different subjects as columns, and their `test_1` scores as values, without specifying --on-cols
+```nu
+> {
+ "name": ["Cady", "Cady", "Karen", "Karen"],
+ "subject": ["maths", "physics", "maths", "physics"],
+ "test_1": [98, 99, 61, 58],
+ "test_2": [100, 100, 60, 60],
+ } |
+ polars into-df --as-columns |
+ polars pivot --on subject --index name --values test_1 |
+ polars sort-by name maths physics |
+ polars collect
+╭───┬───────┬───────┬─────────╮
+│ # │ name │ maths │ physics │
+├───┼───────┼───────┼─────────┤
+│ 0 │ Cady │ 98 │ 99 │
+│ 1 │ Karen │ 61 │ 58 │
+╰───┴───────┴───────┴─────────╯
+
+```
+
Given a set of test scores, reshape so we have one row per student, utilize a selector for the values come to include all test scores
```nu
> {
diff --git a/commands/docs/polars_profile.md b/commands/docs/polars_profile.md
index ff7cc3b4704..ace61916db1 100644
--- a/commands/docs/polars_profile.md
+++ b/commands/docs/polars_profile.md
@@ -2,7 +2,7 @@
title: polars profile
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Profile a lazy dataframe.
usage: |
diff --git a/commands/docs/polars_qcut.md b/commands/docs/polars_qcut.md
index e5a89f8861c..0698608e69c 100644
--- a/commands/docs/polars_qcut.md
+++ b/commands/docs/polars_qcut.md
@@ -2,7 +2,7 @@
title: polars qcut
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Bin continuous values into discrete categories based on their quantiles for a series.
usage: |
diff --git a/commands/docs/polars_quantile.md b/commands/docs/polars_quantile.md
index 767379ce479..9c42c781cfb 100644
--- a/commands/docs/polars_quantile.md
+++ b/commands/docs/polars_quantile.md
@@ -2,7 +2,7 @@
title: polars quantile
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Aggregates the columns to the selected quantile.
usage: |
diff --git a/commands/docs/polars_query.md b/commands/docs/polars_query.md
index 826914f9d93..0ee268942ed 100644
--- a/commands/docs/polars_query.md
+++ b/commands/docs/polars_query.md
@@ -2,7 +2,7 @@
title: polars query
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Query dataframe using SQL. Note: The dataframe is always named 'df' in your query's from clause.
usage: |
diff --git a/commands/docs/polars_rename.md b/commands/docs/polars_rename.md
index 8e05997b630..5812cc40abf 100644
--- a/commands/docs/polars_rename.md
+++ b/commands/docs/polars_rename.md
@@ -2,7 +2,7 @@
title: polars rename
categories: |
dataframe or lazyframe
-version: 0.112.0
+version: 0.113.0
dataframe_or_lazyframe: |
Rename a dataframe column.
usage: |
diff --git a/commands/docs/polars_replace-time-zone.md b/commands/docs/polars_replace-time-zone.md
index f85bb1eb564..7bf0a595bae 100644
--- a/commands/docs/polars_replace-time-zone.md
+++ b/commands/docs/polars_replace-time-zone.md
@@ -2,7 +2,7 @@
title: polars replace-time-zone
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Replace the timezone information in a datetime column.
usage: |
@@ -65,10 +65,10 @@ Apply timezone with ambiguous datetime
╭───┬──────────────╮
│ # │ datetime │
├───┼──────────────┤
-│ 0 │ 5 months ago │
+│ 0 │ 6 months ago │
│ 1 │ │
-│ 2 │ 5 months ago │
-│ 3 │ 5 months ago │
+│ 2 │ 6 months ago │
+│ 3 │ 6 months ago │
╰───┴──────────────╯
```
diff --git a/commands/docs/polars_replace.md b/commands/docs/polars_replace.md
index f14a112838e..f0348502c89 100644
--- a/commands/docs/polars_replace.md
+++ b/commands/docs/polars_replace.md
@@ -2,7 +2,7 @@
title: polars replace
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Create an expression that replaces old values with new values
usage: |
diff --git a/commands/docs/polars_reverse.md b/commands/docs/polars_reverse.md
index 340b7d18c4e..8ec4b6a7fbd 100644
--- a/commands/docs/polars_reverse.md
+++ b/commands/docs/polars_reverse.md
@@ -2,7 +2,7 @@
title: polars reverse
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Reverses the LazyFrame
usage: |
diff --git a/commands/docs/polars_rolling.md b/commands/docs/polars_rolling.md
index 3214cd53cc1..7daf857d194 100644
--- a/commands/docs/polars_rolling.md
+++ b/commands/docs/polars_rolling.md
@@ -2,7 +2,7 @@
title: polars rolling
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Rolling calculation for a series.
usage: |
diff --git a/commands/docs/polars_sample.md b/commands/docs/polars_sample.md
index c202bfdef39..10c98035212 100644
--- a/commands/docs/polars_sample.md
+++ b/commands/docs/polars_sample.md
@@ -2,7 +2,7 @@
title: polars sample
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Create sample dataframe.
usage: |
diff --git a/commands/docs/polars_save.md b/commands/docs/polars_save.md
index 0b077d68e95..8a9bc3fd17d 100644
--- a/commands/docs/polars_save.md
+++ b/commands/docs/polars_save.md
@@ -2,7 +2,7 @@
title: polars save
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Saves a dataframe to disk. For lazy dataframes a sink operation will be used if the file type supports it (parquet, ipc/arrow, csv, and ndjson).
usage: |
diff --git a/commands/docs/polars_schema.md b/commands/docs/polars_schema.md
index 213f13191df..6f8c8a3d969 100644
--- a/commands/docs/polars_schema.md
+++ b/commands/docs/polars_schema.md
@@ -2,7 +2,7 @@
title: polars schema
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Show schema for a dataframe.
usage: |
diff --git a/commands/docs/polars_select.md b/commands/docs/polars_select.md
index 97d681e93e0..486af93c49f 100644
--- a/commands/docs/polars_select.md
+++ b/commands/docs/polars_select.md
@@ -2,7 +2,7 @@
title: polars select
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Selects columns from lazyframe.
usage: |
diff --git a/commands/docs/polars_selector.md b/commands/docs/polars_selector.md
index afae66fb1a2..4376401ba35 100644
--- a/commands/docs/polars_selector.md
+++ b/commands/docs/polars_selector.md
@@ -2,7 +2,7 @@
title: polars selector
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Create column selectors for use in polars commands.
usage: |
diff --git a/commands/docs/polars_selector_all.md b/commands/docs/polars_selector_all.md
index 269819b2521..55054112635 100644
--- a/commands/docs/polars_selector_all.md
+++ b/commands/docs/polars_selector_all.md
@@ -2,7 +2,7 @@
title: polars selector all
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates a selector that selects all columns.
usage: |
diff --git a/commands/docs/polars_selector_alpha.md b/commands/docs/polars_selector_alpha.md
new file mode 100644
index 00000000000..061df2dbca1
--- /dev/null
+++ b/commands/docs/polars_selector_alpha.md
@@ -0,0 +1,158 @@
+---
+title: polars selector alpha
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all columns with alphabetic names (eg: only letters). Matching column names cannot contain *any* non-alphabetic characters. Note that the definition of "alphabetic" consists of all valid Unicode alphabetic characters by default; this can be changed by setting `--ascii-only`.
+usage: |
+ Select all columns with alphabetic names (eg: only letters). Matching column names cannot contain *any* non-alphabetic characters. Note that the definition of "alphabetic" consists of all valid Unicode alphabetic characters by default; this can be changed by setting `--ascii-only`.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector alpha` for [expression](/commands/categories/expression.md)
+
+Select all columns with alphabetic names (eg: only letters). Matching column names cannot contain *any* non-alphabetic characters. Note that the definition of "alphabetic" consists of all valid Unicode alphabetic characters by default; this can be changed by setting `--ascii-only`.
+
+## Signature
+
+```> polars selector alpha {flags} ```
+
+## Flags
+
+ - `--ascii-only, -a`: Indicate whether to consider only ASCII alphabetic characters, or the full Unicode range of valid letters (accented, idiographic, etc).
+ - `--ignore-spaces, -s`: Indicate whether to ignore the presence of spaces in column names; if so, only the other (non-space) characters are considered.
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Select columns with alphabetic names; note that accented characters and kanji are recognised as alphabetic here.
+```nu
+>
+ {
+ "no1": [100, 200, 300],
+ "café": ["espresso", "latte", "mocha"],
+ "t or f": [true, false, null],
+ "hmm": ["aaa", "bbb", "ccc"],
+ "都市": ["東京", "大阪", "京都"],
+ } |
+ polars into-df --as-columns |
+ polars select (polars selector alpha) |
+ polars sort-by café hmm 都市 |
+ polars collect
+
+╭───┬──────────┬─────┬──────╮
+│ # │ café │ hmm │ 都市 │
+├───┼──────────┼─────┼──────┤
+│ 0 │ espresso │ aaa │ 東京 │
+│ 1 │ latte │ bbb │ 大阪 │
+│ 2 │ mocha │ ccc │ 京都 │
+╰───┴──────────┴─────┴──────╯
+
+```
+
+Constrain the definition of "alphabetic" to ASCII characters only.
+```nu
+>
+ {
+ "no1": [100, 200, 300],
+ "café": ["espresso", "latte", "mocha"],
+ "t or f": [true, false, null],
+ "hmm": ["aaa", "bbb", "ccc"],
+ "都市": ["東京", "大阪", "京都"],
+ } |
+ polars into-df --as-columns |
+ polars select (polars selector alpha --ascii-only) |
+ polars collect
+
+╭───┬─────╮
+│ # │ hmm │
+├───┼─────┤
+│ 0 │ aaa │
+│ 1 │ bbb │
+│ 2 │ ccc │
+╰───┴─────╯
+
+```
+
+Constrain the definition of "alphabetic" to ASCII characters only and ignore whitespace.
+```nu
+>
+ {
+ "no1": [100, 200, 300],
+ "café": ["espresso", "latte", "mocha"],
+ "t or f": [true, false, null],
+ "hmm": ["aaa", "bbb", "ccc"],
+ "都市": ["東京", "大阪", "京都"],
+ } |
+ polars into-df --as-columns |
+ polars select (polars selector alpha --ascii-only --ignore-spaces) |
+ polars sort-by "t or f" hmm |
+ polars collect
+
+╭───┬────────┬─────╮
+│ # │ t or f │ hmm │
+├───┼────────┼─────┤
+│ 0 │ │ ccc │
+│ 1 │ false │ bbb │
+│ 2 │ true │ aaa │
+╰───┴────────┴─────╯
+
+```
+
+Select all columns *except* for those with alphabetic names.
+```nu
+>
+ {
+ "no1": [100, 200, 300],
+ "café": ["espresso", "latte", "mocha"],
+ "t or f": [true, false, null],
+ "hmm": ["aaa", "bbb", "ccc"],
+ "都市": ["東京", "大阪", "京都"],
+ } |
+ polars into-df --as-columns |
+ polars select (polars selector alpha | polars selector not) |
+ polars sort-by no1 "t or f"|
+ polars collect
+
+╭───┬─────┬────────╮
+│ # │ no1 │ t or f │
+├───┼─────┼────────┤
+│ 0 │ 100 │ true │
+│ 1 │ 200 │ false │
+│ 2 │ 300 │ │
+╰───┴─────┴────────╯
+
+```
+
+Select all columns *except* for those with alphabetic names and do not have spaces.
+```nu
+>
+ {
+ "no1": [100, 200, 300],
+ "café": ["espresso", "latte", "mocha"],
+ "t or f": [true, false, null],
+ "hmm": ["aaa", "bbb", "ccc"],
+ "都市": ["東京", "大阪", "京都"],
+ } |
+ polars into-df --as-columns |
+ polars select (polars selector alpha --ignore-spaces | polars selector not) |
+ polars sort-by no1 |
+ polars collect
+
+╭───┬─────╮
+│ # │ no1 │
+├───┼─────┤
+│ 0 │ 100 │
+│ 1 │ 200 │
+│ 2 │ 300 │
+╰───┴─────╯
+
+```
diff --git a/commands/docs/polars_selector_alphanumeric.md b/commands/docs/polars_selector_alphanumeric.md
new file mode 100644
index 00000000000..fc9549c4e18
--- /dev/null
+++ b/commands/docs/polars_selector_alphanumeric.md
@@ -0,0 +1,129 @@
+---
+title: polars selector alphanumeric
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all columns with alphanumeric names (eg: only letters). Matching column names cannot contain *any* non-alphanumeric characters. Note that the definition of "alphanumeric" consists of all valid Unicode alphanumeric characters by default; this can be changed by setting `ascii_only=true`.
+usage: |
+ Select all columns with alphanumeric names (eg: only letters). Matching column names cannot contain *any* non-alphanumeric characters. Note that the definition of "alphanumeric" consists of all valid Unicode alphanumeric characters by default; this can be changed by setting `ascii_only=true`.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector alphanumeric` for [expression](/commands/categories/expression.md)
+
+Select all columns with alphanumeric names (eg: only letters). Matching column names cannot contain *any* non-alphanumeric characters. Note that the definition of "alphanumeric" consists of all valid Unicode alphanumeric characters by default; this can be changed by setting `ascii_only=true`.
+
+## Signature
+
+```> polars selector alphanumeric {flags} ```
+
+## Flags
+
+ - `--ascii-only, -a`: Indicate whether to consider only ASCII alphanumeric characters, or the full Unicode range of valid letters (accented, idiographic, etc).
+ - `--ignore-spaces, -s`: Indicate whether to ignore the presence of spaces in column names; if so, only the other (non-space) characters are considered.
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Select columns with alphanumeric names.
+```nu
+>
+ {
+ "1st_col": [100, 200, 300],
+ "flagged": [true, false, true],
+ "00prefix": ["01:aa", "02:bb", "03:cc"],
+ "last col": ["x", "y", "z"],
+ } |
+ polars into-df --as-columns |
+ polars select (polars selector alphanumeric) |
+ polars sort-by 00prefix flagged |
+ polars collect
+
+╭───┬─────────┬──────────╮
+│ # │ flagged │ 00prefix │
+├───┼─────────┼──────────┤
+│ 0 │ true │ 01:aa │
+│ 1 │ false │ 02:bb │
+│ 2 │ true │ 03:cc │
+╰───┴─────────┴──────────╯
+
+```
+
+Select columns with alphanumeric names ignoring spaces.
+```nu
+>
+ {
+ "1st_col": [100, 200, 300],
+ "flagged": [true, false, true],
+ "00prefix": ["01:aa", "02:bb", "03:cc"],
+ "last col": ["x", "y", "z"],
+ } |
+ polars into-df --as-columns |
+ polars select (polars selector alphanumeric --ignore-spaces) |
+ polars sort-by 00prefix 'last col' flagged |
+ polars collect
+
+╭───┬─────────┬──────────┬──────────╮
+│ # │ flagged │ 00prefix │ last col │
+├───┼─────────┼──────────┼──────────┤
+│ 0 │ true │ 01:aa │ x │
+│ 1 │ false │ 02:bb │ y │
+│ 2 │ true │ 03:cc │ z │
+╰───┴─────────┴──────────┴──────────╯
+
+```
+
+Select all columns *except* for those with alphanumeric names.
+```nu
+>
+ {
+ "1st_col": [100, 200, 300],
+ "flagged": [true, false, true],
+ "00prefix": ["01:aa", "02:bb", "03:cc"],
+ "last col": ["x", "y", "z"],
+ } |
+ polars into-df --as-columns |
+ polars select (polars selector alphanumeric | polars selector not) |
+ polars sort-by '1st_col' 'last col' |
+ polars collect
+
+╭───┬─────────┬──────────╮
+│ # │ 1st_col │ last col │
+├───┼─────────┼──────────┤
+│ 0 │ 100 │ x │
+│ 1 │ 200 │ y │
+│ 2 │ 300 │ z │
+╰───┴─────────┴──────────╯
+
+```
+
+Select all columns *except* for those with alphanumeric names, ignoring spaces.
+```nu
+>
+ {
+ "1st_col": [100, 200, 300],
+ "flagged": [true, false, true],
+ "00prefix": ["01:aa", "02:bb", "03:cc"],
+ "last col": ["x", "y", "z"],
+ } |
+ polars into-df --as-columns |
+ polars select (polars selector alphanumeric --ignore-spaces | polars selector not) |
+ polars collect
+
+╭───┬─────────╮
+│ # │ 1st_col │
+├───┼─────────┤
+│ 0 │ 100 │
+│ 1 │ 200 │
+│ 2 │ 300 │
+╰───┴─────────╯
+
+```
diff --git a/commands/docs/polars_selector_array.md b/commands/docs/polars_selector_array.md
new file mode 100644
index 00000000000..220bfa2d98d
--- /dev/null
+++ b/commands/docs/polars_selector_array.md
@@ -0,0 +1,45 @@
+---
+title: polars selector array
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all array columns. Optionally filter by fixed width.
+usage: |
+ Select all array columns. Optionally filter by fixed width.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector array` for [expression](/commands/categories/expression.md)
+
+Select all array columns. Optionally filter by fixed width.
+
+## Signature
+
+```> polars selector array {flags} ```
+
+## Flags
+
+ - `--width {int}`: Only select arrays with this fixed width.
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for all array columns
+```nu
+> polars selector array
+
+```
+
+Create a selector for fixed-width arrays of size 3
+```nu
+> polars selector array --width 3
+
+```
diff --git a/commands/docs/polars_selector_binary.md b/commands/docs/polars_selector_binary.md
new file mode 100644
index 00000000000..1f44b5eafcb
--- /dev/null
+++ b/commands/docs/polars_selector_binary.md
@@ -0,0 +1,35 @@
+---
+title: polars selector binary
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all binary columns.
+usage: |
+ Select all binary columns.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector binary` for [expression](/commands/categories/expression.md)
+
+Select all binary columns.
+
+## Signature
+
+```> polars selector binary {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for binary columns
+```nu
+> polars selector binary
+
+```
diff --git a/commands/docs/polars_selector_boolean.md b/commands/docs/polars_selector_boolean.md
new file mode 100644
index 00000000000..7c6505e78d7
--- /dev/null
+++ b/commands/docs/polars_selector_boolean.md
@@ -0,0 +1,48 @@
+---
+title: polars selector boolean
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all boolean columns.
+usage: |
+ Select all boolean columns.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector boolean` for [expression](/commands/categories/expression.md)
+
+Select all boolean columns.
+
+## Signature
+
+```> polars selector boolean {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Select all boolean columns
+```nu
+> {
+ "name": ["Alice", "Bob"],
+ "active": [true, false],
+ "score": [1, 2],
+} |
+polars into-df --as-columns |
+polars select (polars selector boolean) |
+polars collect
+╭───┬────────╮
+│ # │ active │
+├───┼────────┤
+│ 0 │ true │
+│ 1 │ false │
+╰───┴────────╯
+
+```
diff --git a/commands/docs/polars_selector_by-dtype.md b/commands/docs/polars_selector_by-dtype.md
index cd7825599c0..8c81783de73 100644
--- a/commands/docs/polars_selector_by-dtype.md
+++ b/commands/docs/polars_selector_by-dtype.md
@@ -2,7 +2,7 @@
title: polars selector by-dtype
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates a selector that selects columns by data type.
usage: |
diff --git a/commands/docs/polars_selector_by-index.md b/commands/docs/polars_selector_by-index.md
new file mode 100644
index 00000000000..61ff0f8e7eb
--- /dev/null
+++ b/commands/docs/polars_selector_by-index.md
@@ -0,0 +1,67 @@
+---
+title: polars selector by-index
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select columns by their index position. Supports negative indices (e.g., -1 for the last column).
+usage: |
+ Select columns by their index position. Supports negative indices (e.g., -1 for the last column).
+editLink: false
+contributors: false
+---
+
+
+# `polars selector by-index` for [expression](/commands/categories/expression.md)
+
+Select columns by their index position. Supports negative indices (e.g., -1 for the last column).
+
+## Signature
+
+```> polars selector by-index {flags} ...rest```
+
+## Flags
+
+ - `--not-strict`: Allow out-of-range indices without error.
+
+## Parameters
+
+ - `...rest`: Column index positions to select (negative indices count from the end).
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Select first and third columns by index
+```nu
+> [[a b c]; [1 2 3] [4 5 6]]
+ | polars into-df
+ | polars select (polars selector by-index 0 2)
+ | polars collect
+╭───┬───┬───╮
+│ # │ a │ c │
+├───┼───┼───┤
+│ 0 │ 1 │ 3 │
+│ 1 │ 4 │ 6 │
+╰───┴───┴───╯
+
+```
+
+Select the last column using a negative index
+```nu
+> [[a b c]; [1 2 3] [4 5 6]]
+ | polars into-df
+ | polars select (polars selector by-index -1)
+ | polars collect
+╭───┬───╮
+│ # │ c │
+├───┼───┤
+│ 0 │ 3 │
+│ 1 │ 6 │
+╰───┴───╯
+
+```
diff --git a/commands/docs/polars_selector_by-name.md b/commands/docs/polars_selector_by-name.md
index 8900763d5b7..f17b461fd3d 100644
--- a/commands/docs/polars_selector_by-name.md
+++ b/commands/docs/polars_selector_by-name.md
@@ -2,7 +2,7 @@
title: polars selector by-name
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates a selector that selects columns by name.
usage: |
diff --git a/commands/docs/polars_selector_categorical.md b/commands/docs/polars_selector_categorical.md
new file mode 100644
index 00000000000..f3c20e0d5d8
--- /dev/null
+++ b/commands/docs/polars_selector_categorical.md
@@ -0,0 +1,35 @@
+---
+title: polars selector categorical
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all categorical columns.
+usage: |
+ Select all categorical columns.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector categorical` for [expression](/commands/categories/expression.md)
+
+Select all categorical columns.
+
+## Signature
+
+```> polars selector categorical {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for categorical columns
+```nu
+> polars selector categorical
+
+```
diff --git a/commands/docs/polars_selector_contains.md b/commands/docs/polars_selector_contains.md
new file mode 100644
index 00000000000..2eb71d0d14c
--- /dev/null
+++ b/commands/docs/polars_selector_contains.md
@@ -0,0 +1,73 @@
+---
+title: polars selector contains
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select columns whose names contain the given literal substring(s).
+usage: |
+ Select columns whose names contain the given literal substring(s).
+editLink: false
+contributors: false
+---
+
+
+# `polars selector contains` for [expression](/commands/categories/expression.md)
+
+Select columns whose names contain the given literal substring(s).
+
+## Signature
+
+```> polars selector contains {flags} ...rest```
+
+## Parameters
+
+ - `...rest`: Literal substring(s) to search for in column names.
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Select columns whose names contain 'foo'
+```nu
+> {
+ "foo_bar": [1.0, 2.0],
+ "foo_baz": [3.0, 4.0],
+ "qux": [5, 6],
+} |
+polars into-df --as-columns |
+polars select (polars selector contains foo) |
+polars sort-by foo_bar foo_baz |
+polars collect
+╭───┬─────────┬─────────╮
+│ # │ foo_bar │ foo_baz │
+├───┼─────────┼─────────┤
+│ 0 │ 1.00 │ 3.00 │
+│ 1 │ 2.00 │ 4.00 │
+╰───┴─────────┴─────────╯
+
+```
+
+Select columns whose names contain 'foo' or 'bar'
+```nu
+> {
+ "foo_x": [1, 2],
+ "bar_x": [3, 4],
+ "baz": [5, 6],
+} |
+polars into-df --as-columns |
+polars select (polars selector contains foo bar) |
+polars sort-by foo_x bar_x |
+polars collect
+╭───┬───────┬───────╮
+│ # │ foo_x │ bar_x │
+├───┼───────┼───────┤
+│ 0 │ 1 │ 3 │
+│ 1 │ 2 │ 4 │
+╰───┴───────┴───────╯
+
+```
diff --git a/commands/docs/polars_selector_date.md b/commands/docs/polars_selector_date.md
new file mode 100644
index 00000000000..fd5a9df899c
--- /dev/null
+++ b/commands/docs/polars_selector_date.md
@@ -0,0 +1,35 @@
+---
+title: polars selector date
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all date columns.
+usage: |
+ Select all date columns.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector date` for [expression](/commands/categories/expression.md)
+
+Select all date columns.
+
+## Signature
+
+```> polars selector date {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for date columns
+```nu
+> polars selector date
+
+```
diff --git a/commands/docs/polars_selector_datetime.md b/commands/docs/polars_selector_datetime.md
new file mode 100644
index 00000000000..780974661dd
--- /dev/null
+++ b/commands/docs/polars_selector_datetime.md
@@ -0,0 +1,52 @@
+---
+title: polars selector datetime
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all datetime columns. Optionally filter by time unit (ns, us, ms) and/or timezone.
+usage: |
+ Select all datetime columns. Optionally filter by time unit (ns, us, ms) and/or timezone.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector datetime` for [expression](/commands/categories/expression.md)
+
+Select all datetime columns. Optionally filter by time unit (ns, us, ms) and/or timezone.
+
+## Signature
+
+```> polars selector datetime {flags} ```
+
+## Flags
+
+ - `--time-unit {list}`: Filter by time unit(s): ns (nanoseconds), us (microseconds), ms (milliseconds).
+ - `--time-zone {list}`: Filter by timezone(s). Use "*" to match any set timezone, or "unset" to match columns without a timezone.
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for all datetime columns
+```nu
+> polars selector datetime
+
+```
+
+Create a selector for nanosecond or microsecond datetime columns
+```nu
+> polars selector datetime --time-unit [ns us]
+
+```
+
+Create a selector for nanosecond datetime columns with UTC timezone
+```nu
+> polars selector datetime --time-unit [ns] --time-zone [UTC]
+
+```
diff --git a/commands/docs/polars_selector_decimal.md b/commands/docs/polars_selector_decimal.md
new file mode 100644
index 00000000000..6db47628230
--- /dev/null
+++ b/commands/docs/polars_selector_decimal.md
@@ -0,0 +1,35 @@
+---
+title: polars selector decimal
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all decimal columns.
+usage: |
+ Select all decimal columns.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector decimal` for [expression](/commands/categories/expression.md)
+
+Select all decimal columns.
+
+## Signature
+
+```> polars selector decimal {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for decimal columns
+```nu
+> polars selector decimal
+
+```
diff --git a/commands/docs/polars_selector_digit.md b/commands/docs/polars_selector_digit.md
new file mode 100644
index 00000000000..2d8ecec10fc
--- /dev/null
+++ b/commands/docs/polars_selector_digit.md
@@ -0,0 +1,71 @@
+---
+title: polars selector digit
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select columns whose names consist entirely of digit characters. By default uses Unicode decimal digits; use `--ascii-only` to restrict to ASCII 0-9.
+usage: |
+ Select columns whose names consist entirely of digit characters. By default uses Unicode decimal digits; use `--ascii-only` to restrict to ASCII 0-9.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector digit` for [expression](/commands/categories/expression.md)
+
+Select columns whose names consist entirely of digit characters. By default uses Unicode decimal digits; use `--ascii-only` to restrict to ASCII 0-9.
+
+## Signature
+
+```> polars selector digit {flags} ```
+
+## Flags
+
+ - `--ascii-only, -a`: Restrict to ASCII digit characters (0-9) only.
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Select columns whose names consist entirely of digits
+```nu
+> {
+ "123": [1, 2],
+ "abc": [3, 4],
+ "4": [5, 6],
+} |
+polars into-df --as-columns |
+polars select (polars selector digit) |
+polars sort-by "123" "4" |
+polars collect
+╭───┬─────┬───╮
+│ # │ 123 │ 4 │
+├───┼─────┼───┤
+│ 0 │ 1 │ 5 │
+│ 1 │ 2 │ 6 │
+╰───┴─────┴───╯
+
+```
+
+Select digit-named columns using ASCII digits only
+```nu
+> {
+ "123": [1, 2],
+ "abc": [3, 4],
+} |
+polars into-df --as-columns |
+polars select (polars selector digit --ascii-only) |
+polars collect
+╭───┬─────╮
+│ # │ 123 │
+├───┼─────┤
+│ 0 │ 1 │
+│ 1 │ 2 │
+╰───┴─────╯
+
+```
diff --git a/commands/docs/polars_selector_duration.md b/commands/docs/polars_selector_duration.md
new file mode 100644
index 00000000000..9650f0e16a7
--- /dev/null
+++ b/commands/docs/polars_selector_duration.md
@@ -0,0 +1,45 @@
+---
+title: polars selector duration
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all duration columns. Optionally filter by time unit (ns, us, ms).
+usage: |
+ Select all duration columns. Optionally filter by time unit (ns, us, ms).
+editLink: false
+contributors: false
+---
+
+
+# `polars selector duration` for [expression](/commands/categories/expression.md)
+
+Select all duration columns. Optionally filter by time unit (ns, us, ms).
+
+## Signature
+
+```> polars selector duration {flags} ```
+
+## Flags
+
+ - `--time-unit {list}`: Filter by time unit(s): ns (nanoseconds), us (microseconds), ms (milliseconds).
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for all duration columns
+```nu
+> polars selector duration
+
+```
+
+Create a selector for nanosecond or microsecond duration columns
+```nu
+> polars selector duration --time-unit [ns us]
+
+```
diff --git a/commands/docs/polars_selector_empty.md b/commands/docs/polars_selector_empty.md
new file mode 100644
index 00000000000..dd639dc4ec3
--- /dev/null
+++ b/commands/docs/polars_selector_empty.md
@@ -0,0 +1,35 @@
+---
+title: polars selector empty
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Create an empty selector that matches no columns. Useful as a base for selector composition.
+usage: |
+ Create an empty selector that matches no columns. Useful as a base for selector composition.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector empty` for [expression](/commands/categories/expression.md)
+
+Create an empty selector that matches no columns. Useful as a base for selector composition.
+
+## Signature
+
+```> polars selector empty {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create an empty selector that matches no columns
+```nu
+> polars selector empty
+
+```
diff --git a/commands/docs/polars_selector_ends-with.md b/commands/docs/polars_selector_ends-with.md
index 4c4cbb1996e..ba0464163e4 100644
--- a/commands/docs/polars_selector_ends-with.md
+++ b/commands/docs/polars_selector_ends-with.md
@@ -2,7 +2,7 @@
title: polars selector ends-with
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Select columns that end with the given substring(s).
usage: |
diff --git a/commands/docs/polars_selector_enum.md b/commands/docs/polars_selector_enum.md
new file mode 100644
index 00000000000..48d32d6421c
--- /dev/null
+++ b/commands/docs/polars_selector_enum.md
@@ -0,0 +1,35 @@
+---
+title: polars selector enum
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all enum columns.
+usage: |
+ Select all enum columns.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector enum` for [expression](/commands/categories/expression.md)
+
+Select all enum columns.
+
+## Signature
+
+```> polars selector enum {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for enum columns
+```nu
+> polars selector enum
+
+```
diff --git a/commands/docs/polars_selector_exclude.md b/commands/docs/polars_selector_exclude.md
new file mode 100644
index 00000000000..67801114c0d
--- /dev/null
+++ b/commands/docs/polars_selector_exclude.md
@@ -0,0 +1,61 @@
+---
+title: polars selector exclude
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all columns except those with the given name(s). This is the inverse of `polars selector by-name`.
+usage: |
+ Select all columns except those with the given name(s). This is the inverse of `polars selector by-name`.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector exclude` for [expression](/commands/categories/expression.md)
+
+Select all columns except those with the given name(s). This is the inverse of `polars selector by-name`.
+
+## Signature
+
+```> polars selector exclude {flags} ...rest```
+
+## Parameters
+
+ - `...rest`: Column name(s) to exclude from the selection.
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Select all columns except 'a' and 'b'
+```nu
+> {
+ "a": [1.0, 2.0],
+ "b": [3.0, 4.0],
+ "c": [5, 6],
+} |
+polars into-df --as-columns |
+polars select (polars selector exclude a b) |
+polars collect
+╭───┬───╮
+│ # │ c │
+├───┼───┤
+│ 0 │ 5 │
+│ 1 │ 6 │
+╰───┴───╯
+
+```
+
+Select all columns except 'c'
+```nu
+> [[a b c]; [1 2 3] [4 5 6]]
+ | polars into-df
+ | polars select (polars selector exclude c)
+ | polars collect
+
+```
diff --git a/commands/docs/polars_selector_first.md b/commands/docs/polars_selector_first.md
index 369503bf8f3..e0c5df1b8be 100644
--- a/commands/docs/polars_selector_first.md
+++ b/commands/docs/polars_selector_first.md
@@ -2,7 +2,7 @@
title: polars selector first
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates a selector that selects the first column(s) by index.
usage: |
diff --git a/commands/docs/polars_selector_float.md b/commands/docs/polars_selector_float.md
index eaed502c2dd..8a03e300b0b 100644
--- a/commands/docs/polars_selector_float.md
+++ b/commands/docs/polars_selector_float.md
@@ -2,7 +2,7 @@
title: polars selector float
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Select all float columns.
usage: |
diff --git a/commands/docs/polars_selector_integer.md b/commands/docs/polars_selector_integer.md
index 875506d2216..87f0ebeeb02 100644
--- a/commands/docs/polars_selector_integer.md
+++ b/commands/docs/polars_selector_integer.md
@@ -2,7 +2,7 @@
title: polars selector integer
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Select all integer columns.
usage: |
diff --git a/commands/docs/polars_selector_last.md b/commands/docs/polars_selector_last.md
index 9ba7fb1f734..2733f53c542 100644
--- a/commands/docs/polars_selector_last.md
+++ b/commands/docs/polars_selector_last.md
@@ -2,7 +2,7 @@
title: polars selector last
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates a selector that selects the last column(s) by index.
usage: |
diff --git a/commands/docs/polars_selector_list.md b/commands/docs/polars_selector_list.md
new file mode 100644
index 00000000000..04bf719744b
--- /dev/null
+++ b/commands/docs/polars_selector_list.md
@@ -0,0 +1,35 @@
+---
+title: polars selector list
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all list columns.
+usage: |
+ Select all list columns.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector list` for [expression](/commands/categories/expression.md)
+
+Select all list columns.
+
+## Signature
+
+```> polars selector list {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for list columns
+```nu
+> polars selector list
+
+```
diff --git a/commands/docs/polars_selector_matches.md b/commands/docs/polars_selector_matches.md
index e9120b229e7..677eaea48d0 100644
--- a/commands/docs/polars_selector_matches.md
+++ b/commands/docs/polars_selector_matches.md
@@ -2,7 +2,7 @@
title: polars selector matches
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Select all columns that match the given regex pattern.
usage: |
diff --git a/commands/docs/polars_selector_nested.md b/commands/docs/polars_selector_nested.md
new file mode 100644
index 00000000000..6181969448b
--- /dev/null
+++ b/commands/docs/polars_selector_nested.md
@@ -0,0 +1,35 @@
+---
+title: polars selector nested
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all nested columns (list, array, or struct).
+usage: |
+ Select all nested columns (list, array, or struct).
+editLink: false
+contributors: false
+---
+
+
+# `polars selector nested` for [expression](/commands/categories/expression.md)
+
+Select all nested columns (list, array, or struct).
+
+## Signature
+
+```> polars selector nested {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for nested columns (list, array, or struct)
+```nu
+> polars selector nested
+
+```
diff --git a/commands/docs/polars_selector_not.md b/commands/docs/polars_selector_not.md
index 031fc669f9c..f73bf270982 100644
--- a/commands/docs/polars_selector_not.md
+++ b/commands/docs/polars_selector_not.md
@@ -2,7 +2,7 @@
title: polars selector not
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Inverts selector.
usage: |
diff --git a/commands/docs/polars_selector_numeric.md b/commands/docs/polars_selector_numeric.md
index 92ecd56ddab..f81ccc52c52 100644
--- a/commands/docs/polars_selector_numeric.md
+++ b/commands/docs/polars_selector_numeric.md
@@ -2,7 +2,7 @@
title: polars selector numeric
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Select all numeric columns.
usage: |
diff --git a/commands/docs/polars_selector_object.md b/commands/docs/polars_selector_object.md
new file mode 100644
index 00000000000..5bd6d9a5ec7
--- /dev/null
+++ b/commands/docs/polars_selector_object.md
@@ -0,0 +1,35 @@
+---
+title: polars selector object
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all object columns.
+usage: |
+ Select all object columns.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector object` for [expression](/commands/categories/expression.md)
+
+Select all object columns.
+
+## Signature
+
+```> polars selector object {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for object columns
+```nu
+> polars selector object
+
+```
diff --git a/commands/docs/polars_selector_signed-integer.md b/commands/docs/polars_selector_signed-integer.md
index 6d3f0c99ee8..a9b29c5610a 100644
--- a/commands/docs/polars_selector_signed-integer.md
+++ b/commands/docs/polars_selector_signed-integer.md
@@ -2,7 +2,7 @@
title: polars selector signed-integer
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Select all signed integer columns.
usage: |
diff --git a/commands/docs/polars_selector_starts-with.md b/commands/docs/polars_selector_starts-with.md
index 6ce6b5120a3..b527b6b881e 100644
--- a/commands/docs/polars_selector_starts-with.md
+++ b/commands/docs/polars_selector_starts-with.md
@@ -2,7 +2,7 @@
title: polars selector starts-with
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Select columns that start with the given substring(s).
usage: |
diff --git a/commands/docs/polars_selector_string.md b/commands/docs/polars_selector_string.md
new file mode 100644
index 00000000000..aeb3b39c4c5
--- /dev/null
+++ b/commands/docs/polars_selector_string.md
@@ -0,0 +1,58 @@
+---
+title: polars selector string
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all string columns. Use `--include-categorical` to also select categorical columns.
+usage: |
+ Select all string columns. Use `--include-categorical` to also select categorical columns.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector string` for [expression](/commands/categories/expression.md)
+
+Select all string columns. Use `--include-categorical` to also select categorical columns.
+
+## Signature
+
+```> polars selector string {flags} ```
+
+## Flags
+
+ - `--include-categorical, -c`: Also include categorical columns in the selection.
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Select all string columns
+```nu
+> {
+ "name": ["Alice", "Bob"],
+ "age": [30, 25],
+ "active": [true, false],
+} |
+polars into-df --as-columns |
+polars select (polars selector string) |
+polars collect
+╭───┬───────╮
+│ # │ name │
+├───┼───────┤
+│ 0 │ Alice │
+│ 1 │ Bob │
+╰───┴───────╯
+
+```
+
+Create a selector for string and categorical columns
+```nu
+> polars selector string --include-categorical
+
+```
diff --git a/commands/docs/polars_selector_struct.md b/commands/docs/polars_selector_struct.md
new file mode 100644
index 00000000000..adddf77e305
--- /dev/null
+++ b/commands/docs/polars_selector_struct.md
@@ -0,0 +1,35 @@
+---
+title: polars selector struct
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all struct columns.
+usage: |
+ Select all struct columns.
+editLink: false
+contributors: false
+---
+
+
+# `polars selector struct` for [expression](/commands/categories/expression.md)
+
+Select all struct columns.
+
+## Signature
+
+```> polars selector struct {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for struct columns
+```nu
+> polars selector struct
+
+```
diff --git a/commands/docs/polars_selector_temporal.md b/commands/docs/polars_selector_temporal.md
new file mode 100644
index 00000000000..b028b158f22
--- /dev/null
+++ b/commands/docs/polars_selector_temporal.md
@@ -0,0 +1,35 @@
+---
+title: polars selector temporal
+categories: |
+ expression
+version: 0.113.0
+expression: |
+ Select all temporal columns (date, datetime, duration, and time).
+usage: |
+ Select all temporal columns (date, datetime, duration, and time).
+editLink: false
+contributors: false
+---
+
+
+# `polars selector temporal` for [expression](/commands/categories/expression.md)
+
+Select all temporal columns (date, datetime, duration, and time).
+
+## Signature
+
+```> polars selector temporal {flags} ```
+
+
+## Input/output types:
+
+| input | output |
+| ----- | --------------- |
+| any | polars_selector |
+## Examples
+
+Create a selector for temporal columns (date, datetime, duration, time)
+```nu
+> polars selector temporal
+
+```
diff --git a/commands/docs/polars_selector_unsigned-integer.md b/commands/docs/polars_selector_unsigned-integer.md
index b218a77a7be..1f4e0d6808a 100644
--- a/commands/docs/polars_selector_unsigned-integer.md
+++ b/commands/docs/polars_selector_unsigned-integer.md
@@ -2,7 +2,7 @@
title: polars selector unsigned-integer
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Select all unsigned integer columns.
usage: |
diff --git a/commands/docs/polars_set-with-idx.md b/commands/docs/polars_set-with-idx.md
index cc18cccebef..eee961d15bd 100644
--- a/commands/docs/polars_set-with-idx.md
+++ b/commands/docs/polars_set-with-idx.md
@@ -2,7 +2,7 @@
title: polars set-with-idx
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Sets value in the given index.
usage: |
diff --git a/commands/docs/polars_set.md b/commands/docs/polars_set.md
index 90858865630..5f40b9a82a5 100644
--- a/commands/docs/polars_set.md
+++ b/commands/docs/polars_set.md
@@ -2,7 +2,7 @@
title: polars set
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Sets value where given mask is true.
usage: |
diff --git a/commands/docs/polars_shape.md b/commands/docs/polars_shape.md
index a366475a6a7..5672ede8c8b 100644
--- a/commands/docs/polars_shape.md
+++ b/commands/docs/polars_shape.md
@@ -2,7 +2,7 @@
title: polars shape
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Shows column and row size for a dataframe.
usage: |
diff --git a/commands/docs/polars_shift.md b/commands/docs/polars_shift.md
index ef11861148c..4c37f7ace20 100644
--- a/commands/docs/polars_shift.md
+++ b/commands/docs/polars_shift.md
@@ -2,7 +2,7 @@
title: polars shift
categories: |
dataframe or lazyframe
-version: 0.112.0
+version: 0.113.0
dataframe_or_lazyframe: |
Shifts the values by a given period.
usage: |
diff --git a/commands/docs/polars_slice.md b/commands/docs/polars_slice.md
index 69fe64f0970..8b2d29920c9 100644
--- a/commands/docs/polars_slice.md
+++ b/commands/docs/polars_slice.md
@@ -2,7 +2,7 @@
title: polars slice
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates new dataframe from a slice of rows.
usage: |
diff --git a/commands/docs/polars_sort-by.md b/commands/docs/polars_sort-by.md
index 2bed787f697..8a30272a9c6 100644
--- a/commands/docs/polars_sort-by.md
+++ b/commands/docs/polars_sort-by.md
@@ -2,7 +2,7 @@
title: polars sort-by
categories: |
lazyframe
-version: 0.112.0
+version: 0.113.0
lazyframe: |
Sorts a lazy dataframe based on expression(s).
usage: |
diff --git a/commands/docs/polars_std.md b/commands/docs/polars_std.md
index 4b6e3ed8e49..2be9d18208c 100644
--- a/commands/docs/polars_std.md
+++ b/commands/docs/polars_std.md
@@ -2,7 +2,7 @@
title: polars std
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates a std expression for an aggregation of std value from columns in a dataframe.
usage: |
diff --git a/commands/docs/polars_store-get.md b/commands/docs/polars_store-get.md
index e7ac2524328..c384dfb3d70 100644
--- a/commands/docs/polars_store-get.md
+++ b/commands/docs/polars_store-get.md
@@ -2,7 +2,7 @@
title: polars store-get
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Gets a Dataframe or other object from the plugin cache.
usage: |
diff --git a/commands/docs/polars_store-ls.md b/commands/docs/polars_store-ls.md
index 429d0f3a70e..99aac236a71 100644
--- a/commands/docs/polars_store-ls.md
+++ b/commands/docs/polars_store-ls.md
@@ -2,7 +2,7 @@
title: polars store-ls
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Lists stored polars objects.
usage: |
diff --git a/commands/docs/polars_store-rm.md b/commands/docs/polars_store-rm.md
index c2dc8a6df24..433574c0aff 100644
--- a/commands/docs/polars_store-rm.md
+++ b/commands/docs/polars_store-rm.md
@@ -2,7 +2,7 @@
title: polars store-rm
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Removes a stored Dataframe or other object from the plugin cache.
usage: |
diff --git a/commands/docs/polars_str-join.md b/commands/docs/polars_str-join.md
index 5d196141f14..a4353f0cc83 100644
--- a/commands/docs/polars_str-join.md
+++ b/commands/docs/polars_str-join.md
@@ -2,7 +2,7 @@
title: polars str-join
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Concatenates strings within a column or dataframes
usage: |
diff --git a/commands/docs/polars_str-lengths.md b/commands/docs/polars_str-lengths.md
index 1a73c6c77f4..ebff8ae9470 100644
--- a/commands/docs/polars_str-lengths.md
+++ b/commands/docs/polars_str-lengths.md
@@ -2,7 +2,7 @@
title: polars str-lengths
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Get lengths of all strings.
usage: |
diff --git a/commands/docs/polars_str-replace-all.md b/commands/docs/polars_str-replace-all.md
index 3d710252490..c83a552470c 100644
--- a/commands/docs/polars_str-replace-all.md
+++ b/commands/docs/polars_str-replace-all.md
@@ -2,7 +2,7 @@
title: polars str-replace-all
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Replace all (sub)strings by a regex pattern.
usage: |
diff --git a/commands/docs/polars_str-replace.md b/commands/docs/polars_str-replace.md
index e2c1694b4fd..20ad77605f0 100644
--- a/commands/docs/polars_str-replace.md
+++ b/commands/docs/polars_str-replace.md
@@ -2,7 +2,7 @@
title: polars str-replace
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Replace the leftmost (sub)string by a regex pattern.
usage: |
diff --git a/commands/docs/polars_str-slice.md b/commands/docs/polars_str-slice.md
index 67f40e03266..6eb564bb5ff 100644
--- a/commands/docs/polars_str-slice.md
+++ b/commands/docs/polars_str-slice.md
@@ -2,7 +2,7 @@
title: polars str-slice
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Slices the string from the start position until the selected length.
usage: |
diff --git a/commands/docs/polars_str-split.md b/commands/docs/polars_str-split.md
index bd36bb9dcf3..16441cd9872 100644
--- a/commands/docs/polars_str-split.md
+++ b/commands/docs/polars_str-split.md
@@ -2,7 +2,7 @@
title: polars str-split
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Split the string by a substring. The resulting dtype is list.
usage: |
diff --git a/commands/docs/polars_str-strip-chars.md b/commands/docs/polars_str-strip-chars.md
index 96c6309e96b..c3a4af3178c 100644
--- a/commands/docs/polars_str-strip-chars.md
+++ b/commands/docs/polars_str-strip-chars.md
@@ -2,7 +2,7 @@
title: polars str-strip-chars
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Strips specified characters from strings in a column
usage: |
diff --git a/commands/docs/polars_strftime.md b/commands/docs/polars_strftime.md
index e061956ccd4..f47dc01ab42 100644
--- a/commands/docs/polars_strftime.md
+++ b/commands/docs/polars_strftime.md
@@ -2,7 +2,7 @@
title: polars strftime
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Formats date based on string rule.
usage: |
diff --git a/commands/docs/polars_struct-json-encode.md b/commands/docs/polars_struct-json-encode.md
index 83f44dcbc69..cdf17e0c327 100644
--- a/commands/docs/polars_struct-json-encode.md
+++ b/commands/docs/polars_struct-json-encode.md
@@ -2,7 +2,7 @@
title: polars struct-json-encode
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Convert this struct to a string column with json values.
usage: |
diff --git a/commands/docs/polars_sum.md b/commands/docs/polars_sum.md
index ad0516f4d01..90b57cc5e07 100644
--- a/commands/docs/polars_sum.md
+++ b/commands/docs/polars_sum.md
@@ -2,7 +2,7 @@
title: polars sum
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates a sum expression for an aggregation or aggregates columns to their sum value.
usage: |
diff --git a/commands/docs/polars_summary.md b/commands/docs/polars_summary.md
index 204db9eca33..23d35d19a03 100644
--- a/commands/docs/polars_summary.md
+++ b/commands/docs/polars_summary.md
@@ -2,7 +2,7 @@
title: polars summary
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
For a dataframe, produces descriptive statistics (summary statistics) for its numeric columns.
usage: |
diff --git a/commands/docs/polars_take.md b/commands/docs/polars_take.md
index 1c2a0f2b6ef..1406702fb81 100644
--- a/commands/docs/polars_take.md
+++ b/commands/docs/polars_take.md
@@ -2,7 +2,7 @@
title: polars take
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Creates new dataframe using the given indices.
usage: |
diff --git a/commands/docs/polars_truncate.md b/commands/docs/polars_truncate.md
index 90a4c3ce77f..a3550d058aa 100644
--- a/commands/docs/polars_truncate.md
+++ b/commands/docs/polars_truncate.md
@@ -2,7 +2,7 @@
title: polars truncate
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Divide the date/datetime range into buckets.
usage: |
@@ -36,14 +36,14 @@ contributors: false
Truncate a series of dates by period length
```nu
> seq date -b 2025-01-01 --periods 4 --increment 6wk -o "%Y-%m-%d %H:%M:%S" | polars into-df | polars as-datetime "%F %H:%M:%S" --naive | polars select datetime (polars col datetime | polars truncate 5d37m | polars as truncated)
-╭───┬───────────────┬───────────────╮
-│ # │ datetime │ truncated │
-├───┼───────────────┼───────────────┤
-│ 0 │ a year ago │ a year ago │
-│ 1 │ a year ago │ a year ago │
-│ 2 │ a year ago │ a year ago │
-│ 3 │ 11 months ago │ 11 months ago │
-╰───┴───────────────┴───────────────╯
+╭───┬────────────┬────────────╮
+│ # │ datetime │ truncated │
+├───┼────────────┼────────────┤
+│ 0 │ a year ago │ a year ago │
+│ 1 │ a year ago │ a year ago │
+│ 2 │ a year ago │ a year ago │
+│ 3 │ a year ago │ a year ago │
+╰───┴────────────┴────────────╯
```
diff --git a/commands/docs/polars_unique.md b/commands/docs/polars_unique.md
index 0f3ab86627c..02cb2cb4f18 100644
--- a/commands/docs/polars_unique.md
+++ b/commands/docs/polars_unique.md
@@ -2,7 +2,7 @@
title: polars unique
categories: |
dataframe or lazyframe
-version: 0.112.0
+version: 0.113.0
dataframe_or_lazyframe: |
Returns unique values from a dataframe.
usage: |
diff --git a/commands/docs/polars_unnest.md b/commands/docs/polars_unnest.md
index ac2b871c26e..144a1f671b7 100644
--- a/commands/docs/polars_unnest.md
+++ b/commands/docs/polars_unnest.md
@@ -2,7 +2,7 @@
title: polars unnest
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Decompose struct columns into separate columns for each of their fields. The new columns will be inserted into the dataframe at the location of the struct column.
usage: |
diff --git a/commands/docs/polars_unpivot.md b/commands/docs/polars_unpivot.md
index a12f3bf9aa1..93ccf5433a3 100644
--- a/commands/docs/polars_unpivot.md
+++ b/commands/docs/polars_unpivot.md
@@ -2,7 +2,7 @@
title: polars unpivot
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Unpivot a DataFrame from wide to long format.
usage: |
diff --git a/commands/docs/polars_uppercase.md b/commands/docs/polars_uppercase.md
index 1fdf00ae0a2..40fdfe6e76c 100644
--- a/commands/docs/polars_uppercase.md
+++ b/commands/docs/polars_uppercase.md
@@ -2,7 +2,7 @@
title: polars uppercase
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Uppercase the strings in the column.
usage: |
diff --git a/commands/docs/polars_value-counts.md b/commands/docs/polars_value-counts.md
index bc281098191..425f93b7322 100644
--- a/commands/docs/polars_value-counts.md
+++ b/commands/docs/polars_value-counts.md
@@ -2,7 +2,7 @@
title: polars value-counts
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Returns a dataframe with the counts for unique values in series.
usage: |
diff --git a/commands/docs/polars_var.md b/commands/docs/polars_var.md
index 434fdda8e1b..c0685cd35ea 100644
--- a/commands/docs/polars_var.md
+++ b/commands/docs/polars_var.md
@@ -2,7 +2,7 @@
title: polars var
categories: |
dataframe
-version: 0.112.0
+version: 0.113.0
dataframe: |
Create a var expression for an aggregation.
usage: |
diff --git a/commands/docs/polars_when.md b/commands/docs/polars_when.md
index f05c975a8c7..13e30ad7a3d 100644
--- a/commands/docs/polars_when.md
+++ b/commands/docs/polars_when.md
@@ -2,7 +2,7 @@
title: polars when
categories: |
expression
-version: 0.112.0
+version: 0.113.0
expression: |
Creates and modifies a when expression.
usage: |
diff --git a/commands/docs/polars_with-column.md b/commands/docs/polars_with-column.md
index 9d964a27f1a..fe4f2f6c352 100644
--- a/commands/docs/polars_with-column.md
+++ b/commands/docs/polars_with-column.md
@@ -2,7 +2,7 @@
title: polars with-column
categories: |
dataframe or lazyframe
-version: 0.112.0
+version: 0.113.0
dataframe_or_lazyframe: |
Adds a series to the dataframe.
usage: |
diff --git a/commands/docs/port.md b/commands/docs/port.md
index 7eb96ac3010..706b50acc9b 100644
--- a/commands/docs/port.md
+++ b/commands/docs/port.md
@@ -2,7 +2,7 @@
title: port
categories: |
network
-version: 0.112.0
+version: 0.113.0
network: |
Get a free TCP port from system.
usage: |
diff --git a/commands/docs/prepend.md b/commands/docs/prepend.md
index 56e6192ef65..fb7d1dad867 100644
--- a/commands/docs/prepend.md
+++ b/commands/docs/prepend.md
@@ -2,7 +2,7 @@
title: prepend
categories: |
filters
-version: 0.112.0
+version: 0.113.0
filters: |
Prepend any number of rows to a table.
usage: |
diff --git a/commands/docs/print.md b/commands/docs/print.md
index 20f387d88d3..839f4bc0d30 100644
--- a/commands/docs/print.md
+++ b/commands/docs/print.md
@@ -2,7 +2,7 @@
title: print
categories: |
strings
-version: 0.112.0
+version: 0.113.0
strings: |
Print the given values to stdout.
usage: |
diff --git a/commands/docs/ps.md b/commands/docs/ps.md
index 2db040a4f07..f1c10c48b3f 100644
--- a/commands/docs/ps.md
+++ b/commands/docs/ps.md
@@ -2,7 +2,7 @@
title: ps
categories: |
system
-version: 0.112.0
+version: 0.113.0
system: |
View information about system processes.
usage: |
diff --git a/commands/docs/pwd.md b/commands/docs/pwd.md
index a882538fd98..5118d6d244e 100644
--- a/commands/docs/pwd.md
+++ b/commands/docs/pwd.md
@@ -2,7 +2,7 @@
title: pwd
categories: |
default
-version: 0.112.0
+version: 0.113.0
default: |
Return the current working directory
usage: |
diff --git a/commands/docs/query.md b/commands/docs/query.md
index 7ae2ab91973..58ae4bf0924 100644
--- a/commands/docs/query.md
+++ b/commands/docs/query.md
@@ -2,7 +2,7 @@
title: query
categories: |
filters
-version: 0.112.0
+version: 0.113.0
filters: |
Show all the query commands
usage: |
diff --git a/commands/docs/query_db.md b/commands/docs/query_db.md
index e997129dfd3..d1b2da83688 100644
--- a/commands/docs/query_db.md
+++ b/commands/docs/query_db.md
@@ -2,7 +2,7 @@
title: query db
categories: |
database
-version: 0.112.0
+version: 0.113.0
database: |
Query a SQLite database with SQL statements.
usage: |
diff --git a/commands/docs/query_json.md b/commands/docs/query_json.md
index 867b2dcfe42..79947358a8b 100644
--- a/commands/docs/query_json.md
+++ b/commands/docs/query_json.md
@@ -2,7 +2,7 @@
title: query json
categories: |
filters
-version: 0.112.0
+version: 0.113.0
filters: |
execute json query on json file (open --raw | query json 'query string')
usage: |
diff --git a/commands/docs/query_web.md b/commands/docs/query_web.md
index b193c987be2..ed9380a5298 100644
--- a/commands/docs/query_web.md
+++ b/commands/docs/query_web.md
@@ -2,7 +2,7 @@
title: query web
categories: |
network
-version: 0.112.0
+version: 0.113.0
network: |
execute selector query on html/web
usage: |
@@ -39,8 +39,7 @@ Retrieve all `