Skip to content

BUG: Raise clear error when assign is used with non-string column keys #61297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 174 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
7f25175
Backport PR #54498 on branch 2.1.x (Speed up string inference in mayb…
meeseeksmachine Aug 12, 2023
0fb9149
Backport PR #54504 on branch 2.1.x (Move Unit Tests for groupby.rolli…
meeseeksmachine Aug 12, 2023
06e04b0
Backport PR #54509 on branch 2.1.x (PERF: Dataframe reductions with E…
meeseeksmachine Aug 12, 2023
b3f122c
Backport PR #54517 on branch 2.1.x (Run CI on 2.1.x) (#54522)
meeseeksmachine Aug 13, 2023
b215522
Backport PR #54515 on branch 2.1.x (ENH: ArrowExtensionArray(duration…
meeseeksmachine Aug 13, 2023
08edd64
Backport PR #54341 on branch 2.1.x (PERF: axis=1 reductions with EA d…
meeseeksmachine Aug 13, 2023
723b2c6
Backport PR #54536 on branch 2.1.x (REF: Move checks to object into a…
meeseeksmachine Aug 14, 2023
64e4527
Backport PR #54534 on branch 2.1.x (REF: Move methods that can be sha…
meeseeksmachine Aug 14, 2023
f59950d
Backport PR #54537 on branch 2.1.x (REF: Refactor using_pyarrow check…
meeseeksmachine Aug 15, 2023
e69fab9
Backport PR #54525 on branch 2.1.x (BLD: Fix version script) (#54560)
meeseeksmachine Aug 15, 2023
91969c6
Backport PR #54541 on branch 2.1.x (Bump pypa/cibuildwheel from 2.14.…
meeseeksmachine Aug 15, 2023
4160d69
Backport PR #54493 on branch 2.1.x (DOC: updated required dependencie…
meeseeksmachine Aug 15, 2023
4fbe078
Backport PR #54579 on branch 2.1.x (ENH: Reflect changes from `numpy`…
meeseeksmachine Aug 16, 2023
49c2f33
Backport PR #54545 on branch 2.1.x (DOC: whatsnew 2.1.0 refinements) …
meeseeksmachine Aug 16, 2023
005d876
Backport PR #54535 on branch 2.1.x (REF: Replace "pyarrow" string sto…
meeseeksmachine Aug 17, 2023
0335d39
Backport PR #54574 on branch 2.1.x (ENH: add cummax/cummin/cumprod su…
meeseeksmachine Aug 17, 2023
802e5ee
Backport PR #54615 on branch 2.1.x (DOC: Update build instructions in…
meeseeksmachine Aug 18, 2023
f7723bb
Backport PR #54587 on branch 2.1.x (CI: Enable MacOS Python Dev tests…
meeseeksmachine Aug 18, 2023
72282be
Backport PR #54586 on branch 2.1.x (REF: Refactor conversion of na va…
meeseeksmachine Aug 21, 2023
dc04d00
Backport PR #54633 on branch 2.1.x (DEP: remove python-snappy and bro…
meeseeksmachine Aug 21, 2023
23cb250
Backport PR #54641 on branch 2.1.x (BUG: getitem indexing wrong axis)…
meeseeksmachine Aug 21, 2023
eb36710
Backport PR #54496 on branch 2.1.x (Fix inference for fixed with nump…
meeseeksmachine Aug 21, 2023
59a10cc
Backport PR #54678 on branch 2.1.x (COMPAT: Workaround invalid PyArro…
meeseeksmachine Aug 22, 2023
8b03024
Backport PR #54510 on branch 2.1.x (Speed up StringDtype arrow implem…
meeseeksmachine Aug 22, 2023
8c8ddc7
Backport PR #54685 on branch 2.1.x (ENH: support integer bitwise ops …
meeseeksmachine Aug 22, 2023
6c5e79b
Backport PR #54670 on branch 2.1.x (BUG: drop_duplicates raising for …
meeseeksmachine Aug 22, 2023
1dbd792
Backport PR #54566 on branch 2.1.x (ENH: support Index.any/all with f…
meeseeksmachine Aug 22, 2023
503cef4
Backport PR #54694 on branch 2.1.x (MAINT: Remove `np.in1d` function …
meeseeksmachine Aug 23, 2023
dc27aee
Backport PR #54625 on branch 2.1.x (BUG: Fix error in printing timezo…
meeseeksmachine Aug 23, 2023
968b517
Backport PR #54508 on branch 2.1.x (PERF: DataFrame.iloc[int] for EA …
meeseeksmachine Aug 23, 2023
5c9b63c
Backport PR #54707 on branch 2.1.x (BUG: ArrowExtensionArray.fillna w…
meeseeksmachine Aug 23, 2023
2ad36cc
Backport PR #54533 on branch 2.1.x (Implement Arrow String Array that…
meeseeksmachine Aug 23, 2023
c5adf1a
Backport PR #54721 on branch 2.1.x (BUG/WARN: Passing EA object to dt…
meeseeksmachine Aug 24, 2023
9cc7a2f
Backport PR #54720 on branch 2.1.x (Infer strings as pyarrow_numpy ba…
meeseeksmachine Aug 24, 2023
4f66163
Backport PR #54728 on branch 2.1.x (Docs: Update doc string to not re…
meeseeksmachine Aug 24, 2023
b761844
Backport PR #54699 on branch 2.1.x (BUG: setitem with object type ins…
meeseeksmachine Aug 25, 2023
2451d2e
Backport PR #54752 on branch 2.1.x (REGR: groupby.count returning str…
meeseeksmachine Aug 25, 2023
d407b03
Backport PR #54757 on branch 2.1.x (CI: Pin Cython on CI) (#54758)
meeseeksmachine Aug 26, 2023
0c7a8b4
Backport PR #54759 on branch 2.1.x (CI: Pin more cython) (#54764)
meeseeksmachine Aug 26, 2023
9eb6f5d
Backport PR #54750 on branch 2.1.x (Revert deprecation of con as keyw…
meeseeksmachine Aug 26, 2023
605aea2
Backport PR #54585 on branch 2.1.x (Use NaN as na_value for new pyarr…
meeseeksmachine Aug 26, 2023
d42fbed
Backport PR #54768 on branch 2.1.x (Fix roundtripping with pyarrow sc…
meeseeksmachine Aug 27, 2023
f7eb2cc
Backport PR #54755 on branch 2.1.x (BUG: merge raising for ea int and…
phofl Aug 27, 2023
d27c467
Backport PR #54783 on branch 2.1.x (CI: Remove strict option) (#54785)
meeseeksmachine Aug 28, 2023
9ffc438
Backport PR #54789 on branch 2.1.x (WARN: Remove non-actionable warni…
meeseeksmachine Aug 28, 2023
901b5e6
Backport PR #54527 on branch 2.1.x (BUG: Special-case setting nan int…
meeseeksmachine Aug 28, 2023
72cb101
Backport PR #54591 on branch 2.1.x (Implement any and all for pyarrow…
phofl Aug 28, 2023
4daed68
Backport PR #54800 on branch 2.1.x (ExtensionArray.fillna: start with…
meeseeksmachine Aug 28, 2023
e5d508e
Backport PR #54778 on branch 2.1.x (REGR: Index.union loses python st…
meeseeksmachine Aug 28, 2023
891ea9b
Backport PR #54803 on branch 2.1.x (DOC: update docstrings for ffill …
meeseeksmachine Aug 28, 2023
7961b1c
Backport PR #54801 on branch 2.1.x (BUG: repr aligning left for strin…
meeseeksmachine Aug 28, 2023
4855f54
Backport PR #54737 on branch 2.1.x (MAINT: small simplification of me…
meeseeksmachine Aug 28, 2023
68b64b8
Backport PR #54820 on branch 2.1.x (REF: Dispatch ArrowExtensionArray…
meeseeksmachine Aug 28, 2023
0084f77
Backport PR #54823 on branch 2.1.x (REGR: clip raising for list-bound…
meeseeksmachine Aug 28, 2023
3b7f411
Backport PR #54794 on branch 2.1.x (Infer string storage based on inf…
meeseeksmachine Aug 29, 2023
772beaa
Backport PR #54818 on branch 2.1.x (DEP: Deprecate passing fill_value…
meeseeksmachine Aug 29, 2023
11424f8
Backport PR #54838 on branch 2.1.x (Don't expose EA.pad_or_backfill t…
meeseeksmachine Aug 29, 2023
f7f2057
Backport PR #54815 on branch 2.1.x (DOC: added docstring for `storage…
meeseeksmachine Aug 29, 2023
7f469dc
Backport PR #54850 on branch 2.1.x (DOC: Add date for v2.1.0) (#54864)
meeseeksmachine Aug 29, 2023
bf59a95
Backport PR #54856 on branch 2.1.x (BUG: ArrowExtensionArray.factoriz…
meeseeksmachine Aug 29, 2023
ba1cccd
RLS: 2.1.0 (#54866)
lithomas1 Aug 30, 2023
9dc8da8
Backport PR #54879 on branch 2.1.x (DOC: Add release notes for 2.1.1)…
meeseeksmachine Aug 31, 2023
c85679c
Backport PR #54885 on branch 2.1.x (REGR: setitem with part of a Mult…
meeseeksmachine Aug 31, 2023
c1353e9
Backport PR #54894 on branch 2.1.x (MAINT: Reflect changes from `nump…
meeseeksmachine Aug 31, 2023
cbff8f1
Backport PR #54896 on branch 2.1.x (DOC: updated docstring for deprec…
meeseeksmachine Aug 31, 2023
9c8800d
Backport PR #54880 on branch 2.1.x (REGR: comparing datetime vs None …
meeseeksmachine Sep 1, 2023
cf32a23
Backport PR #54881 on branch 2.1.x (REGR: read_csv raising when dtype…
phofl Sep 1, 2023
6fcd7bd
Backport PR #54884 on branch 2.1.x (REGR: value_counts raises with bi…
meeseeksmachine Sep 1, 2023
eac5483
Backport PR #54895 on branch 2.1.x (REGR: Merge raising when left mer…
meeseeksmachine Sep 1, 2023
06a1581
Backport PR #54913 on branch 2.1.x (REGR: drop_duplicates raising for…
meeseeksmachine Sep 2, 2023
ed1f044
Backport PR #54882 on branch 2.1.x (REGR: get_group raising with axis…
phofl Sep 2, 2023
ca89e78
Backport PR #54954 on branch 2.1.x (REGR: read_csv splitting on comma…
meeseeksmachine Sep 2, 2023
84e8609
Backport PR #54826 on branch 2.1.x (Infer large_string type as pyarro…
meeseeksmachine Sep 2, 2023
44285e1
Backport PR #54945 on branch 2.1.x (REGR: MultiIndex.append raising f…
meeseeksmachine Sep 2, 2023
c22f2a2
Backport PR #54958 on branch 2.1.x (BLD: Fix race condition) (#54965)
meeseeksmachine Sep 2, 2023
0c03254
Backport PR #54962 on branch 2.1.x (BUG: DataFrame.stack with future_…
meeseeksmachine Sep 2, 2023
874a329
Backport PR #54985 on branch 2.1.x (REGR: rountripping datetime throu…
meeseeksmachine Sep 5, 2023
e0534b3
Backport PR #55013 on branch 2.1.x (CI: Ignore hypothesis differing e…
meeseeksmachine Sep 5, 2023
3216c4f
Backport PR #55000 on branch 2.1.x (BUG: ArrowDtype raising for fixed…
meeseeksmachine Sep 5, 2023
7c17bb6
Backport PR #54927 on branch 2.1.x (REGR: interpolate raising if fill…
meeseeksmachine Sep 5, 2023
eab54ee
Backport PR #54914 on branch 2.1.x (REGR: concat raising for 2 differ…
meeseeksmachine Sep 5, 2023
b736912
Backport PR #54974 on branch 2.1.x (Include pyarrow_numpy string in e…
meeseeksmachine Sep 6, 2023
a6445df
Backport PR #54982 on branch 2.1.x (REG: filter not respecting the or…
meeseeksmachine Sep 6, 2023
6db7b00
Backport PR #54983 on branch 2.1.x (BUG: pct_change showing unnecessa…
meeseeksmachine Sep 7, 2023
77d29db
Backport PR #55052 on branch 2.1.x (Improve error message for StringD…
meeseeksmachine Sep 7, 2023
610c0f4
Backport PR #55051 on branch 2.1.x (Fix pickle roundtrip for new arro…
meeseeksmachine Sep 7, 2023
2f0ef87
Backport PR #55042 on branch 2.1.x (REGR: DataFrameGroupBy.agg with d…
meeseeksmachine Sep 7, 2023
1b04dc4
Backport PR #55010 on branch 2.1.x (BLD: Build wheels for Python 3.12…
meeseeksmachine Sep 7, 2023
16dc9d8
Backport PR #54949 on branch 2.1.x (BLD: improvements to meson.build …
meeseeksmachine Sep 8, 2023
dac2a06
Backport PR #55048 on branch 2.1.x (COMPAT: bump pyarrow min version …
meeseeksmachine Sep 8, 2023
f98d950
Backport PR #55082 on branch 2.1.x (Updated future warning msg in tra…
meeseeksmachine Sep 11, 2023
4f5cd87
Backport PR #55094 on branch 2.1.x (TST: Make test_hash_equality_inva…
meeseeksmachine Sep 11, 2023
0cc87ee
Backport PR #55072 on branch 2.1.x (BUG: dt.tz with ArrowDtype return…
meeseeksmachine Sep 13, 2023
124a76d
Backport PR #54784 on branch 2.1.x (CI: Unpin Cython) (#55154)
meeseeksmachine Sep 16, 2023
3b57c19
Backport PR #55159 on branch 2.1.x (DOCS: temporary pin pydata-sphinx…
meeseeksmachine Sep 16, 2023
42914f3
Backport PR #55180 on branch 2.1.x (MAINT: Cleanup expired ndarray me…
meeseeksmachine Sep 18, 2023
00020bc
Backport PR #55185 on branch 2.1.x (CI: Fix no BLAS error in 32 bit b…
meeseeksmachine Sep 18, 2023
cb7ea72
Backport PR #55175 on branch 2.1.x (DEPS: Bump to 1.26 proper for Pyt…
meeseeksmachine Sep 19, 2023
1ae73af
Backport PR #55210 on branch 2.1.x (CI: Pin matplotlib < 3.8) (#55216)
meeseeksmachine Sep 20, 2023
7acebe4
Backport PR #54952 on branch 2.1.x (REGR: Arrow backed objects not pr…
meeseeksmachine Sep 20, 2023
652fd13
Backport PR #55211 on branch 2.1.x (DOC: Add release date for 2.1.1) …
meeseeksmachine Sep 20, 2023
34cc5b7
Backport PR #55050 on branch 2.1.x (Fix docstring of Index.join in ba…
meeseeksmachine Sep 20, 2023
21d8cdd
Backport PR #55189 on branch 2.1.x (Revert "DEPR: Deprecate returning…
meeseeksmachine Sep 20, 2023
7c93cc9
Backport PR #55008 on branch 2.1.x (CoW: Clear dead references every …
phofl Sep 20, 2023
81768de
Backport PR #55207 on branch 2.1.x (DOC: Add whatsnew for 2.1.2) (#55…
meeseeksmachine Sep 20, 2023
84850f3
Backport PR #55206 on branch 2.1.x (BUILD: Fix duplicate files warnin…
meeseeksmachine Sep 20, 2023
e86ed37
RLS: 2.1.1
Sep 20, 2023
fd51bb6
Backport PR #55249 on branch 2.1.x (BUG: incompatible dtype when crea…
meeseeksmachine Sep 22, 2023
526c7e7
Backport PR #55276 on branch 2.1.x (Bump pypa/cibuildwheel from 2.15.…
meeseeksmachine Sep 25, 2023
eec2023
Backport PR #55275 on branch 2.1.x (Update pyproject.toml - replace `…
meeseeksmachine Sep 26, 2023
fd76235
Backport PR #55300 on branch 2.1.x (TST: xfail test due to new numexp…
meeseeksmachine Sep 26, 2023
c46c3bf
Backport PR #55348 on branch 2.1.x (REGR: join segfaulting for arrow …
meeseeksmachine Oct 2, 2023
78a5500
Backport PR #55350 on branch 2.1.x (Bump pypa/cibuildwheel from 2.16.…
meeseeksmachine Oct 2, 2023
7e8398c
Backport PR #55368 on branch 2.1.x (BUG: idxmin/max raising for arrow…
phofl Oct 3, 2023
850ceb7
Backport PR #55363 on branch 2.1.x (BUG: ndim of string block incorre…
meeseeksmachine Oct 3, 2023
2201408
Backport PR #55365 on branch 2.1.x (BUG: Index.insert raising when in…
phofl Oct 3, 2023
0191caf
Backport PR #55364 on branch 2.1.x (BUG: eq not implemented for categ…
meeseeksmachine Oct 3, 2023
ad5fe9c
Backport PR #55138: BUG: Silence `Period[B]` warnings in plotting cod…
mroeschke Oct 4, 2023
f4359ec
Backport PR #55366 on branch 2.1.x (BUG: Inserting ndim=0 array does …
meeseeksmachine Oct 4, 2023
db8e3e8
Backport PR #55369 on branch 2.1.x (MAINT: Remove `np.int_` and `np.u…
meeseeksmachine Oct 4, 2023
25655e2
Backport PR #55347 on branch 2.1.x (BUG: interpolate raising wrong er…
phofl Oct 4, 2023
f07deef
Backport PR #55397 on branch 2.1.x (MAINT: Add warning filter for `np…
meeseeksmachine Oct 4, 2023
8fd8cf4
Backport PR #55367 on branch 2.1.x (BUG: all not ignoring na when ski…
phofl Oct 4, 2023
c0f932b
Backport PR #55414 on branch 2.1.x (CI: Pin Cython) (#55418)
meeseeksmachine Oct 6, 2023
81a192b
Backport PR #55380 on branch 2.1.x (CI: Exclude benchmarks directory …
meeseeksmachine Oct 7, 2023
7486550
Backport PR #55450 on branch 2.1.x (Bump pypa/cibuildwheel from 2.16.…
meeseeksmachine Oct 9, 2023
423e7b9
Backport PR #55460 on branch 2.1.x (COMPAT: Update old numpy aliases)…
meeseeksmachine Oct 10, 2023
0ee6fc9
Backport PR #55488 on branch 2.1.x (BLD: Pin numpy to < 2) (#55500)
meeseeksmachine Oct 13, 2023
2a32088
Backport PR #55337 on branch 2.1.x (DOC: Adjust user guide for CoW do…
meeseeksmachine Oct 15, 2023
5933c60
Backport PR #55362 on branch 2.1.x (BUG: rank raising for arrow strin…
phofl Oct 15, 2023
0c17c96
Backport PR #55384 on branch 2.1.x (BUG: idxmax raising for arrow str…
phofl Oct 15, 2023
c9053cc
Backport PR #55540 on branch 2.1.x (MAINT: Partially revert `np.int_`…
meeseeksmachine Oct 16, 2023
fd53117
Backport PR #55565 on branch 2.1.x (TST: Remove np.core usage) (#55567)
meeseeksmachine Oct 18, 2023
622a42f
REGR: sort index with sliced MultiIndex (#55474)
lukemanley Oct 18, 2023
1be0cd6
Backport PR #55562 on branch 2.1.x (Floordiv fix for pyarrow dtypes) …
meeseeksmachine Oct 18, 2023
bd53d37
Backport PR #55582 on branch 2.1.x (CI: Unpin Cython) (#55585)
meeseeksmachine Oct 19, 2023
58d3f1b
Backport PR #55473: TST: sort index with sliced MultiIndex (#55482)
lukemanley Oct 19, 2023
cc2f03a
Backport PR #55534 on branch 2.1.x (BUG: Ensure "string[pyarrow]" typ…
meeseeksmachine Oct 19, 2023
9d39df0
Backport PR #55596 on branch 2.1.x (CI: Have NumpyDev build only test…
meeseeksmachine Oct 20, 2023
3c1fe5c
Backport PR #55611 on branch 2.1.x (DEPR: correct warning message whi…
meeseeksmachine Oct 21, 2023
c26935c
Backport PR #55620 on branch 2.1.x (BUG: Groupby not keeping object d…
meeseeksmachine Oct 22, 2023
66ec371
Backport PR #55518 on branch 2.1.x (CoW: Use exponential backoff when…
meeseeksmachine Oct 22, 2023
782e685
Backport PR #55537 on branch 2.1.x (BUG: Series inferring new string …
meeseeksmachine Oct 22, 2023
89b37c9
Backport PR #55640 on branch 2.1.x (DOC: Move whatsnew in 2.1.2) (#55…
meeseeksmachine Oct 23, 2023
8f003de
Backport PR #55077 on branch 2.1.x (Revert "BUG: Timestamp origin tak…
meeseeksmachine Oct 24, 2023
cdb45c6
Backport PR #55655 on branch 2.1.x (BUG: infer_string not inferring s…
meeseeksmachine Oct 24, 2023
f9a4bef
Backport PR #55665 on branch 2.1.x (DOC: Update release date for 2.1.…
meeseeksmachine Oct 24, 2023
96ecfec
Backport PR #55670 on branch 2.1.x (REGR: merge_asof raising TypeErro…
meeseeksmachine Oct 25, 2023
b7aaaf9
Backport PR #55621 on branch 2.1.x (BUG: mode not sorting values for …
phofl Oct 25, 2023
87cb141
Backport PR #55627 on branch 2.1.x (BUG: value_counts returning incor…
meeseeksmachine Oct 25, 2023
0a44346
Backport PR #55586 on branch 2.1.x (REGR: Groupby methods not support…
meeseeksmachine Oct 25, 2023
bceb84b
Backport PR #55173 on branch 2.1.x (BUG: .rolling() returns incorrect…
meeseeksmachine Oct 26, 2023
47a7cbf
Backport PR #55527: BUG fix deprecation of `limit` and `fill_method` …
rhshadrach Oct 26, 2023
8059d86
Backport PR #55690 on branch 2.1.x (REGR: fix roundtripping datetimes…
jorisvandenbossche Oct 26, 2023
9c7b567
Backport PR #54922 on branch 2.1.x (REGR: Restore _constructor_from_m…
jorisvandenbossche Oct 26, 2023
16a3b01
Backport PR #55691 on branch 2.1.x (REGR: fix read_parquet with colum…
meeseeksmachine Oct 26, 2023
a60ad39
RLS: 2.1.2
Oct 26, 2023
d11fa8d
Backport PR #55722 on branch 2.1.x (DOC: Add whatsnew for 2.1.3) (#55…
meeseeksmachine Oct 27, 2023
c5da5ea
Backport PR #55707 on branch 2.1.x (REF: Avoid np.can_cast for scalar…
meeseeksmachine Oct 27, 2023
08f2bd4
Backport PR #55747 on branch 2.1.x (DOC: Fix release date for 2.1.2) …
meeseeksmachine Oct 29, 2023
bf91684
Backport PR #55726 on branch 2.1.x (fix segfault with tz_localize_to_…
meeseeksmachine Nov 1, 2023
8a616b9
Backport PR #55817 on branch 2.1.x (COMPAT: Numpy int64 Windows defau…
meeseeksmachine Nov 6, 2023
0bf70c7
Backport PR #55761 on branch 2.1.x (BUG: DatetimeIndex.diff raising T…
lukemanley Nov 6, 2023
7702f41
Backport PR #55853: DEPS: Use ipython run_cell instead of run_code; r…
mroeschke Nov 7, 2023
c9854d9
TST: Make read_csv tests pyarrow 13 compatable on 2.1.x (#55855)
mroeschke Nov 7, 2023
569f904
Backport PR #55227 on branch 2.1.x (BUG: Interchange object data buff…
meeseeksmachine Nov 8, 2023
de8af3c
Backport PR #55427 on branch 2.1.x (DOC: Remove outdated docs about N…
meeseeksmachine Nov 9, 2023
4158666
Backport PR #55764 on branch 2.1.x (REGR: fix return class in _constr…
meeseeksmachine Nov 9, 2023
1691a51
Backport PR #55894 on 2.1.x: Parquet/Feather IO: disable PyExtensionT…
jorisvandenbossche Nov 9, 2023
92ce245
Backport PR #55907 on branch 2.1.x (DOC: Add release date for 2.1.3) …
meeseeksmachine Nov 10, 2023
d9665ca
Backport PR #55911 on branch 2.1.x (DOC: convert outdated example of …
meeseeksmachine Nov 10, 2023
2a953cf
RLS: 2.1.3
Nov 10, 2023
467bef2
WIP: assign() validation for tuple keys
AnushaUKumar Apr 16, 2025
6846be4
BUG: Raise clear error when assign is used with non-string column keys
AnushaUKumar Apr 16, 2025
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
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ jobs:
fi
- run:
name: Build aarch64 wheels
no_output_timeout: 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that
command: |
pip3 install cibuildwheel==2.14.1
pip3 install cibuildwheel==2.15.0
cibuildwheel --prerelease-pythons --output-dir wheelhouse
environment:
CIBW_BUILD: << parameters.cibw-build >>
Expand Down Expand Up @@ -91,5 +92,4 @@ workflows:
only: /^v.*/
matrix:
parameters:
# TODO: Enable Python 3.12 wheels when numpy releases a version that supports Python 3.12
cibw-build: ["cp39-manylinux_aarch64", "cp310-manylinux_aarch64", "cp311-manylinux_aarch64"]#, "cp312-manylinux_aarch64"]
cibw-build: ["cp39-manylinux_aarch64", "cp310-manylinux_aarch64", "cp311-manylinux_aarch64", "cp312-manylinux_aarch64"]
4 changes: 2 additions & 2 deletions .github/actions/build_pandas/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ runs:
- name: Build Pandas
run: |
if [[ ${{ inputs.editable }} == "true" ]]; then
pip install -e . --no-build-isolation -v
pip install -e . --no-build-isolation -v --no-deps
else
pip install . --no-build-isolation -v
pip install . --no-build-isolation -v --no-deps
fi
shell: bash -el {0}
6 changes: 3 additions & 3 deletions .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
push:
branches:
- main
- 2.0.x
- 2.1.x
pull_request:
branches:
- main
- 2.0.x
- 2.1.x

env:
ENV_FILE: environment.yml
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
run: |
cd asv_bench
asv machine --yes
asv run --quick --dry-run --strict --durations=30 --python=same
asv run --quick --dry-run --durations=30 --python=same

build_docker_dev_environment:
name: Build Docker Dev Environment
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docbuild-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
push:
branches:
- main
- 2.0.x
- 2.1.x
tags:
- '*'
pull_request:
branches:
- main
- 2.0.x
- 2.1.x

env:
ENV_FILE: environment.yml
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
run: cp doc/cheatsheet/Pandas_Cheat_Sheet* web/build/

- name: Upload web
run: rsync -az --delete --exclude='pandas-docs' --exclude='docs' web/build/ web@${{ secrets.server_ip }}:/var/www/html
run: rsync -az --delete --exclude='pandas-docs' --exclude='docs' --exclude='benchmarks' web/build/ web@${{ secrets.server_ip }}:/var/www/html
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

- name: Upload dev docs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/package-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
push:
branches:
- main
- 2.0.x
- 2.1.x
pull_request:
branches:
- main
- 2.0.x
- 2.1.x
types: [ labeled, opened, synchronize, reopened ]

permissions:
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
extra: ["test", "performance", "computation", "fss", "aws", "gcp", "excel", "parquet", "feather", "hdf5", "spss", "postgresql", "mysql", "sql-other", "html", "xml", "plot", "output_formatting", "clipboard", "compression", "consortium-standard", "all"]
extra: ["test", "performance", "computation", "fss", "aws", "gcp", "excel", "parquet", "feather", "hdf5", "spss", "postgresql", "mysql", "sql-other", "html", "xml", "plot", "output-formatting", "clipboard", "compression", "consortium-standard", "all"]
fail-fast: false
name: Install Extras - ${{ matrix.extra }}
concurrency:
Expand Down
49 changes: 19 additions & 30 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
push:
branches:
- main
- 2.0.x
- 2.1.x
pull_request:
branches:
- main
- 2.0.x
- 2.1.x
paths-ignore:
- "doc/**"
- "web/**"
Expand Down Expand Up @@ -77,16 +77,12 @@ jobs:
env_file: actions-311-numpydev.yaml
pattern: "not slow and not network and not single_cpu"
test_args: "-W error::DeprecationWarning -W error::FutureWarning"
# TODO(cython3): Re-enable once next-beta(after beta 1) comes out
# There are some warnings failing the build with -werror
pandas_ci: "0"
- name: "Pyarrow Nightly"
env_file: actions-311-pyarrownightly.yaml
pattern: "not slow and not network and not single_cpu"
fail-fast: false
name: ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}
env:
ENV_FILE: ci/deps/${{ matrix.env_file }}
PATTERN: ${{ matrix.pattern }}
EXTRA_APT: ${{ matrix.extra_apt || '' }}
LANG: ${{ matrix.lang || 'C.UTF-8' }}
Expand Down Expand Up @@ -150,14 +146,13 @@ jobs:

- name: Generate extra locales
# These extra locales will be available for locale.setlocale() calls in tests
run: |
sudo locale-gen ${{ matrix.extra_loc }}
run: sudo locale-gen ${{ matrix.extra_loc }}
if: ${{ matrix.extra_loc }}

- name: Set up Conda
uses: ./.github/actions/setup-conda
with:
environment-file: ${{ env.ENV_FILE }}
environment-file: ci/deps/${{ matrix.env_file }}

- name: Build Pandas
id: build
Expand Down Expand Up @@ -235,11 +230,13 @@ jobs:
git -c user.email="[email protected]" merge --no-commit my_ref_name
fi
- name: Build environment and Run Tests
# https://github.com/numpy/numpy/issues/24703#issuecomment-1722379388
run: |
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
. ~/virtualenvs/pandas-dev/bin/activate
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.0.1 meson-python==0.13.1
python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1
python -m pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
python -m pip install --no-cache-dir --no-build-isolation -e .
python -m pip list --no-cache-dir
export PANDAS_CI=1
Expand Down Expand Up @@ -276,8 +273,8 @@ jobs:
run: |
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
. ~/virtualenvs/pandas-dev/bin/activate
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.0.1
python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
python -m pip install --no-cache-dir --no-build-isolation -e .
python -m pip list --no-cache-dir

Expand Down Expand Up @@ -312,15 +309,14 @@ jobs:
# to the corresponding posix/windows-macos/sdist etc. workflows.
# Feel free to modify this comment as necessary.
#if: false # Uncomment this to freeze the workflow, comment it to unfreeze
defaults:
run:
shell: bash -eou pipefail {0}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# TODO: Disable macOS for now, Github Actions bug where python is not
# symlinked correctly to 3.12
# xref https://github.com/actions/setup-python/issues/701
#os: [ubuntu-22.04, macOS-latest, windows-latest]
os: [ubuntu-22.04, windows-latest]
os: [ubuntu-22.04, macOS-latest, windows-latest]

timeout-minutes: 180

Expand All @@ -345,22 +341,15 @@ jobs:
with:
python-version: '3.12-dev'

- name: Install dependencies
- name: Build Environment
run: |
python --version
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.0.1 meson-python==0.13.1
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
python -m pip install versioneer[toml]
python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17
python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov
python -m pip install -ve . --no-build-isolation --no-index --no-deps
python -m pip list

- name: Build Pandas
run: |
python -m pip install -ve . --no-build-isolation --no-index

- name: Build Version
run: |
python -c "import pandas; pandas.show_versions();"

- name: Test
- name: Run Tests
uses: ./.github/actions/run-tests
18 changes: 10 additions & 8 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ jobs:
- [macos-12, macosx_*]
- [windows-2022, win_amd64]
# TODO: support PyPy?
# TODO: Enable Python 3.12 wheels when numpy releases a version that supports Python 3.12
python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"]]#, ["cp312", "3.12"]]
python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"]]
env:
IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
Expand Down Expand Up @@ -139,7 +138,7 @@ jobs:
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"

- name: Build wheels
uses: pypa/cibuildwheel@v2.14.1
uses: pypa/cibuildwheel@v2.16.2
with:
package-dir: ./dist/${{ matrix.buildplat[1] == 'macosx_*' && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
env:
Expand All @@ -150,8 +149,10 @@ jobs:
uses: mamba-org/setup-micromamba@v1
with:
environment-name: wheel-env
# Use a fixed Python, since we might have an unreleased Python not
# yet present on conda-forge
create-args: >-
python=${{ matrix.python[1] }}
python=3.11
anaconda-client
wheel
cache-downloads: true
Expand All @@ -167,12 +168,13 @@ jobs:
shell: pwsh
run: |
$TST_CMD = @"
python -m pip install pytz six numpy python-dateutil tzdata>=2022.1 hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17;
python -m pip install --find-links=pandas\wheelhouse --no-index pandas;
python -m pip install hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0;
python -m pip install `$(Get-Item pandas\wheelhouse\*.whl);
python -c `'import pandas as pd; pd.test(extra_args=[\"`\"--no-strict-data-files`\"\", \"`\"-m not clipboard and not single_cpu and not slow and not network and not db`\"\"])`';
"@
docker pull python:${{ matrix.python[1] }}-windowsservercore
docker run --env PANDAS_CI='1' -v ${PWD}:C:\pandas python:${{ matrix.python[1] }}-windowsservercore powershell -Command $TST_CMD
# add rc to the end of the image name if the Python version is unreleased
docker pull python:${{ matrix.python[1] == '3.12' && '3.12-rc' || format('{0}-windowsservercore', matrix.python[1]) }}
docker run --env PANDAS_CI='1' -v ${PWD}:C:\pandas python:${{ matrix.python[1] == '3.12' && '3.12-rc' || format('{0}-windowsservercore', matrix.python[1]) }} powershell -Command $TST_CMD

- uses: actions/upload-artifact@v3
with:
Expand Down
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,23 +130,17 @@ In the `pandas` directory (same one where you found this file after
cloning the git repo), execute:

```sh
python setup.py install
pip install .
```

or for installing in [development mode](https://pip.pypa.io/en/latest/cli/pip_install/#install-editable):


```sh
python -m pip install -e . --no-build-isolation --no-use-pep517
python -m pip install -ve . --no-build-isolation --config-settings=editable-verbose=true
```

or alternatively

```sh
python setup.py develop
```

See the full instructions for [installing from source](https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#installing-from-source).
See the full instructions for [installing from source](https://pandas.pydata.org/docs/dev/development/contributing_environment.html).

## License
[BSD 3](LICENSE)
Expand Down
4 changes: 2 additions & 2 deletions asv_bench/benchmarks/algos/isin.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def setup(self, series_type, vals_type):
elif series_type == "long":
ser_vals = np.arange(N_many)
elif series_type == "long_floats":
ser_vals = np.arange(N_many, dtype=np.float_)
ser_vals = np.arange(N_many, dtype=np.float64)

self.series = Series(ser_vals).astype(object)

Expand All @@ -258,7 +258,7 @@ def setup(self, series_type, vals_type):
elif vals_type == "long":
values = np.arange(N_many)
elif vals_type == "long_floats":
values = np.arange(N_many, dtype=np.float_)
values = np.arange(N_many, dtype=np.float64)

self.values = values.astype(object)

Expand Down
9 changes: 3 additions & 6 deletions ci/deps/actions-310.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,33 @@ dependencies:
# build dependencies
- versioneer[toml]
- cython>=0.29.33
- meson[ninja]=1.0.1
- meson[ninja]=1.2.1
- meson-python=0.13.1

# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- pytest-asyncio>=0.17.0
- pytest-localserver>=0.7.1
- boto3

# required dependencies
- python-dateutil
- numpy
- numpy<2
- pytz

# optional dependencies
- beautifulsoup4>=4.11.1
- blosc>=1.21.0
- bottleneck>=1.3.4
- brotlipy>=0.7.0
- fastparquet>=0.8.1
- fsspec>=2022.05.0
- html5lib>=1.1
- hypothesis>=6.46.1
- gcsfs>=2022.05.0
- jinja2>=3.1.2
- lxml>=4.8.0
- matplotlib>=3.6.1
- matplotlib>=3.6.1, <3.8
- numba>=0.55.2
- numexpr>=2.8.0
- odfpy>=1.4.1
Expand All @@ -47,7 +45,6 @@ dependencies:
- pymysql>=1.0.2
- pyreadstat>=1.1.5
- pytables>=3.7.0
- python-snappy>=0.6.1
- pyxlsb>=1.0.9
- s3fs>=2022.05.0
- scipy>=1.8.1
Expand Down
Loading