Skip to content

Conversation

@cmp0xff
Copy link
Contributor

@cmp0xff cmp0xff commented Nov 30, 2025

In #1508 I realised that np_1darray_* in tests has been incorrect. The fixes seem to be independent of #1503, hence I am separating them here.

  • Tests added

@cmp0xff cmp0xff changed the title FIX: #1503 numpy 1darrays in tests FIX: #1508 numpy 1darrays in tests Nov 30, 2025
@cmp0xff cmp0xff force-pushed the bugfix/numpy_arrays_in_tests branch from 10a59cd to 034f12b Compare November 30, 2025 18:41
Copy link
Member

@loicdiridollou loicdiridollou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @cmp0xff !!

@loicdiridollou loicdiridollou merged commit 852ef64 into pandas-dev:main Nov 30, 2025
16 checks passed
@cmp0xff cmp0xff deleted the bugfix/numpy_arrays_in_tests branch November 30, 2025 20:10
cmp0xff added a commit that referenced this pull request Dec 1, 2025
* GH1432 Partial resolution

* GH1432 PR Feedback

* type Index methods: putmask, asof, asof_locs, sort_values, get_indexer_non_unique, get_indexer_for, map, get_slice_bound (#1505)

* type Index methods: putmask, asof, asof_locs, sort_values, get_indexer_non_unique, get_indexer_for, map, get_slice_bound

* remove redundant `IntervalIndexer.get_indexer_non_unique`

* slice_locs can return either `np.integer` or `int`

* fix slice_locs test

* Apply suggestions from code review

Co-authored-by: Yi-Fan Wang <cmp0xff@users.noreply.github.com>

* np.integer -> np.intp

* test more mask types for `putmask`

* Apply suggestions from code review

Co-authored-by: Yi-Fan Wang <cmp0xff@users.noreply.github.com>

* test asof with str

---------

Co-authored-by: Yi-Fan Wang <cmp0xff@users.noreply.github.com>

* GH1432 PR Feedback

* FIX: #1508 numpy 1darrays in tests (#1512)

fix: #1508 numpy arrays in tests

* GH1484 Upgrade ty (#1509)

* GH1484 Upgrade ty

* GH1484 Fix formatting

* GH1484 Update PR

* GH1432 Partial resolution

* GH1432 PR Feedback

* Update tests/test_timefuncs.py

Co-authored-by: Yi-Fan Wang <cmp0xff@users.noreply.github.com>

---------

Co-authored-by: Marco Edward Gorelli <33491632+MarcoGorelli@users.noreply.github.com>
Co-authored-by: Yi-Fan Wang <cmp0xff@users.noreply.github.com>
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.

2 participants