Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ instance/

# Sphinx documentation
docs/_build/
docs/**/_gen/

# PyBuilder
.pybuilder/
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ repos:
entry: pixi run -e lint check-merge-conflict --assume-in-merge
language: system
types: [text]
exclude: \.rst$
# typos
- id: typos
name: typos
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/any.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/categorical.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
8 changes: 4 additions & 4 deletions dataframely/columns/datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down Expand Up @@ -196,7 +196,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down Expand Up @@ -331,7 +331,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down Expand Up @@ -472,7 +472,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/decimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/float.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/integer.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/string.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/columns/struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(
in the same name, the suffix __i is appended to the name.
- A dictionary mapping rule names to callables, where each callable
returns a non-aggregated boolean expression.
All rule names provided here are given the prefix "check_".
All rule names provided here are given the prefix `"check_"`.
alias: An overwrite for this column's name which allows for using a column
name that is not a valid Python identifier. Especially note that setting
this option does _not_ allow to refer to the column with two different
Expand Down
2 changes: 1 addition & 1 deletion dataframely/exc.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ def __init__(self, attr: str, kls: type) -> None:


class ValidationRequiredError(Exception):
"""Error raised when validation is when reading a parquet file."""
"""Error raised when validation is required when reading a parquet file."""
6 changes: 3 additions & 3 deletions dataframely/filter_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class FailureInfo(Generic[S]):

#: The subset of the input data frame containing the *invalid* rows along with
#: all boolean columns used for validation. Each of these boolean columns describes
#: a single rule where a value of `False``` indicates unsuccessful validation.
#: a single rule where a value of `False` indicates unsuccessful validation.
#: Thus, at least one value per row is `False`.
_lf: pl.LazyFrame
#: The columns in `_lf` which are used for validation.
Expand Down Expand Up @@ -150,7 +150,7 @@ def write_parquet(self, file: str | Path | IO[bytes], **kwargs: Any) -> None:
parquet file. This should be a path to a directory if writing a
partitioned dataset.
kwargs: Additional keyword arguments passed directly to
:meth:`polars.write_parquet`. `metadata` may only be provided if it
:meth:`polars.write_parquet`. ``metadata`` may only be provided if it
is a dictionary.

Attention:
Expand All @@ -169,7 +169,7 @@ def sink_parquet(
parquet file. This should be a path to a directory if writing a
partitioned dataset.
kwargs: Additional keyword arguments passed directly to
:meth:`polars.sink_parquet`. `metadata` may only be provided if it
:meth:`polars.sink_parquet`. ``metadata`` may only be provided if it
is a dictionary.

Attention:
Expand Down
16 changes: 8 additions & 8 deletions dataframely/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -893,9 +893,9 @@ def read_parquet(
returns if the schema stored in the parquet file's metadata matches
this schema.
- `"skip"`: The method never runs validation and simply reads the
parquet file, entrusting the user that the schema is valid. _Use this
parquet file, entrusting the user that the schema is valid. *Use this
option carefully and consider replacing it with
:meth:`polars.read_parquet` to convey the purpose better_.
:meth:`polars.read_parquet` to convey the purpose better*.

kwargs: Additional keyword arguments passed directly to
:meth:`polars.read_parquet`.
Expand Down Expand Up @@ -949,9 +949,9 @@ def scan_parquet(
returns if the schema stored in the parquet file's metadata matches
this schema.
- `"skip"`: The method never runs validation and simply reads the
parquet file, entrusting the user that the schema is valid. _Use this
parquet file, entrusting the user that the schema is valid. *Use this
option carefully and consider replacing it with
:meth:`polars.scan_parquet` to convey the purpose better_.
:meth:`polars.scan_parquet` to convey the purpose better*.

kwargs: Additional keyword arguments passed directly to
:meth:`polars.scan_parquet`.
Expand Down Expand Up @@ -1076,9 +1076,9 @@ def scan_delta(
returns if the schema stored in the parquet file's metadata matches
this schema.
- `"skip"`: The method never runs validation and simply reads the
parquet file, entrusting the user that the schema is valid. _Use this
parquet file, entrusting the user that the schema is valid. *Use this
option carefully and consider replacing it with
:meth:`polars.scan_delta` to convey the purpose better_.
:meth:`polars.scan_delta` to convey the purpose better*.

kwargs: Additional keyword arguments passed directly to :meth:`polars.scan_delta`.

Expand Down Expand Up @@ -1133,9 +1133,9 @@ def read_delta(
returns if the schema stored in the parquet file's metadata matches
this schema.
- `"skip"`: The method never runs validation and simply reads the
parquet file, entrusting the user that the schema is valid. _Use this
parquet file, entrusting the user that the schema is valid. *Use this
option carefully and consider replacing it with
:meth:`polars.read_delta` to convey the purpose better_.
:meth:`polars.read_delta` to convey the purpose better*.

kwargs: Additional keyword arguments passed directly to :meth:`polars.read_delta`.

Expand Down
26 changes: 0 additions & 26 deletions docs/_api/dataframely.collection.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_api/dataframely.columns.any.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_api/dataframely.columns.bool.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_api/dataframely.columns.datetime.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_api/dataframely.columns.decimal.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_api/dataframely.columns.enum.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_api/dataframely.columns.float.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_api/dataframely.columns.integer.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_api/dataframely.columns.list.rst

This file was deleted.

Loading
Loading