Skip to content

refactor dataframe checks to accept narwahls dfs - #966

Merged
solegalli merged 9 commits into
narwhals-migrationfrom
narwhals-dataframe-checks
Jul 26, 2026
Merged

refactor dataframe checks to accept narwahls dfs#966
solegalli merged 9 commits into
narwhals-migrationfrom
narwhals-dataframe-checks

Conversation

@solegalli

@solegalli solegalli commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

We are deprecating support for numpy arrays. Users can now only pass a dataframe of their favourite library.

After this merge, input X can only be dataframe. y can still be anything convertible to a numpy array.

@solegalli solegalli changed the title update dataframe checks refactor dataframe checks to accept narwahls dfs Jul 26, 2026
@solegalli
solegalli merged commit b2c6d4f into narwhals-migration Jul 26, 2026
3 of 9 checks passed
solegalli added a commit that referenced this pull request Jul 30, 2026
* update dataframe checks

* update dataframe checks take 2

* update dataframe checks take 3

* update docstrings

* refactor dataframe checks

* fix mypy error

* add missing type hints

* add missing matching error syntax

* finalise tests for df checks'
solegalli added a commit that referenced this pull request Jul 31, 2026
* update dataframe checks

* update dataframe checks take 2

* update dataframe checks take 3

* update docstrings

* refactor dataframe checks

* fix mypy error

* add missing type hints

* add missing matching error syntax

* finalise tests for df checks'
solegalli added a commit that referenced this pull request Jul 31, 2026
* update dataframe checks

* update dataframe checks take 2

* update dataframe checks take 3

* update docstrings

* refactor dataframe checks

* fix mypy error

* add missing type hints

* add missing matching error syntax

* finalise tests for df checks'
@solegalli
solegalli deleted the narwhals-dataframe-checks branch August 24, 2026 09:58
solegalli added a commit that referenced this pull request Aug 24, 2026
* update dataframe checks

* update dataframe checks take 2

* update dataframe checks take 3

* update docstrings

* refactor dataframe checks

* fix mypy error

* add missing type hints

* add missing matching error syntax

* finalise tests for df checks'
solegalli added a commit that referenced this pull request Aug 30, 2026
* update dataframe checks

* update dataframe checks take 2

* update dataframe checks take 3

* update docstrings

* refactor dataframe checks

* fix mypy error

* add missing type hints

* add missing matching error syntax

* finalise tests for df checks'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant