Narwhals BackendΒΆ
new in 0.32.0
Opt-in Narwhals-powered
validation backend that powers the Polars, Ibis, and PySpark SQL
integrations behind a single unified code path. Requires the narwhals
extra. See Narwhals-powered backends for the
user-facing guide.
Data ObjectsΒΆ
Objects passed to custom check functions when the Narwhals backend is active.
Data container for Narwhals-backed validation. |
|
Check result for user-defined checks on Narwhals frames. |
BackendsΒΆ
Base schema backend for Narwhals-backed DataFrames. |
|
Per-column validation backend for Narwhals-backed DataFrames. |
|
Check backend for Narwhals. |
Narwhals DtypesΒΆ
Base |
|
Narwhals signed 8-bit integer data type. |
|
Narwhals signed 16-bit integer data type. |
|
Narwhals signed 32-bit integer data type. |
|
Narwhals signed 64-bit integer data type. |
|
Narwhals unsigned 8-bit integer data type. |
|
Narwhals unsigned 16-bit integer data type. |
|
Narwhals unsigned 32-bit integer data type. |
|
Narwhals unsigned 64-bit integer data type. |
|
Narwhals 32-bit floating point data type. |
|
Narwhals 64-bit floating point data type. |
|
Narwhals string data type. |
|
Narwhals boolean data type. |
|
Narwhals date data type. |
|
Narwhals datetime data type. |
|
Narwhals duration data type. |
|
Narwhals categorical data type. |
|
Narwhals List nested type. |
|
Narwhals Struct nested type. |
EngineΒΆ
Narwhals data type engine. |
Built-in Check ExpressionsΒΆ
Narwhals expression implementations of the built-in checks, shared by the Polars, Ibis, and PySpark SQL integrations when the Narwhals backend is enabled.
Ensure all elements of a column equal a certain value. |
|
Ensure no element of a column equals a certain value. |
|
Ensure values of a column are strictly greater than a minimum value. |
|
|
Ensure all values are greater than or equal to a minimum value. |
Ensure values of a column are strictly less than a maximum value. |
|
|
Ensure all values are less than or equal to a maximum value. |
Ensure all values of a series are within an interval. |
|
Ensure only allowed values occur within a series. |
|
Ensure some defined values don't occur within a series. |
|
Ensure that all values start with a match of a regular expression pattern. |
|
Ensure that a pattern can be found within each row. |
|
Ensure that all values start with a certain string. |
|
Ensure that all values end with a certain string. |
|
Ensure that the length of strings is within a specified range. |