Skip to content
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

TST GH30999 Change bare pytest.raises in pandas/tests/indexing to tm.external_error_raised #18

Closed
wants to merge 2,051 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2051 commits
Select commit Hold shift + click to select a range
3556865
REF: use lighter-weight casting function (#38322)
jbrockmendel Dec 8, 2020
d3e970b
DOC: add examples to insert and update generally (#37690)
erictleung Dec 8, 2020
6ce9be6
BUG: item_cache invalidation (#38351)
jbrockmendel Dec 8, 2020
9534c26
Removed unused strict struct member (#38348)
WillAyd Dec 8, 2020
1ba3f3c
CLN: use with instead of try finally in io/stata.py (#38326)
fangchenli Dec 8, 2020
523682f
DOC: sync xarray version (#38369)
fangchenli Dec 8, 2020
54ac621
REF: implement Index._get_indexer (#38308)
jbrockmendel Dec 8, 2020
32bebdb
TST: add message matches to pytest.raises in various tests GH30999 (#…
JoseNavy Dec 8, 2020
b3ed7f9
CLN: C408 Unnecessary dict call - rewrite as a literal #38138 (#38383)
UrielMaD Dec 9, 2020
3aa8447
typo fixup (#38374)
jbrockmendel Dec 9, 2020
6b5357a
CLN: fix C408 #38138 (#38385)
fangchenli Dec 9, 2020
93f57e9
CLN: lighter-weight casting (#38377)
jbrockmendel Dec 9, 2020
2ff1370
Corrected the grammar in Exception (#38216)
imaskm Dec 10, 2020
d932752
REF: consolidate NDFrame._iset_item, _set_item with DataFrame methods…
jbrockmendel Dec 10, 2020
ec8240a
Document Tips for Debugging C Extensions (#35100)
WillAyd Dec 10, 2020
5f6bf14
BUG: algos.rank with readonly values (#38396)
jbrockmendel Dec 10, 2020
d0db009
BUG: item_cache invalidation on DataFrame.insert (#38380)
jbrockmendel Dec 11, 2020
0fc926f
REF: simplify casting (#38404)
jbrockmendel Dec 11, 2020
4b022e6
CLN: remove internal usage of integer_array() (#38289)
jorisvandenbossche Dec 11, 2020
5a7514c
REF: de-duplicate get_indexer methods (#38372)
jbrockmendel Dec 11, 2020
e47dbdf
REF: implement sanitize_masked_array (#38398)
jbrockmendel Dec 11, 2020
f7e1f94
ENH: Add MultiIndex.dtypes (#37073)
skvrahul Dec 11, 2020
1fa0c4c
REF: simplify internals.construction (#38400)
jbrockmendel Dec 11, 2020
639a9c2
CLN: Implement multiindex handling for get_op_result_name (#38323)
phofl Dec 11, 2020
643d62c
REF: move __from_arrow__ to common base class for numeric masked arra…
jorisvandenbossche Dec 12, 2020
85acd65
BUG: iloc.__setitem__ with dict value and mixed dtypes (#38335)
jbrockmendel Dec 12, 2020
6eeab01
TST: Assert msg with pytest raises in pandas/tests/extension/base (#3…
Dec 12, 2020
53bac2c
BUG: read_csv raising TypeError for engine=c with names and parse_dat…
phofl Dec 12, 2020
eb67d87
REF/TYP: Rename ABCIndexClass->ABCIndex and use cast (#38329)
rhshadrach Dec 12, 2020
6ecc787
BUG: first("1M") returning two months when first day is last day of m…
phofl Dec 12, 2020
0e22585
REF: simplify maybe_upcast (#38428)
jbrockmendel Dec 12, 2020
e804dc1
REF: simplify maybe_casted_values (#38421)
jbrockmendel Dec 12, 2020
9d11899
CLN: remove coerce_float keyword from construction.internals (#38407)
jbrockmendel Dec 12, 2020
3999efa
REF: share IntervalIndex.intersection with Index.intersection (#38373)
jbrockmendel Dec 12, 2020
dc674dd
BUG: Series/DataFrame construction from scalars (#38405)
jbrockmendel Dec 12, 2020
354fd01
BUG: DataFrame.to_markdown with an empty frame (#38406)
arw2019 Dec 12, 2020
36c4d5c
BUG: Limited available colors (#38247)
ma3da Dec 12, 2020
b7b87da
Revert "BUG: first("1M") returning two months when first day is last …
simonjayhawkins Dec 13, 2020
a3dc788
BUG: read_csv usecols and names parameters inconsistent between c and…
phofl Dec 13, 2020
241f0ff
typing (bool/str) (#38440)
arw2019 Dec 13, 2020
8f81d0e
ENH: Improve error message when names and usecols do not match for re…
phofl Dec 13, 2020
67305b2
REF: use _validate_fill_value in Index.insert (#38102)
jbrockmendel Dec 13, 2020
e2dec8d
Fixed #38419 - BUG: set_index screws up the dtypes on empty DataFrame…
jordi-crespo Dec 13, 2020
8e3e036
CLN: MultiIndex.union align with Index.union() (#38423)
phofl Dec 13, 2020
bd39ded
BUG: read_csv raising IndexError with multiple header cols, specified…
phofl Dec 13, 2020
92b73d8
TYP: pandas/core/frame.py (easy: Axis/Level) (#38441)
arw2019 Dec 13, 2020
68049dc
REF: Separate values-casting from Block.astype (#38455)
jbrockmendel Dec 13, 2020
61704da
BUG: read_csv interpreting NA value as comment when NA contains comme…
phofl Dec 13, 2020
ef75719
BUG: do not stringify file-like objects (#38141)
twoertwein Dec 14, 2020
7ffbf1a
BUG: Allow custom error values in parse_dates argument of read_sql li…
avinashpancham Dec 14, 2020
2b51abe
PERF: IntervalIndex.isin (#38353)
jbrockmendel Dec 14, 2020
e3443e3
REGR: Assigning label with registered EA dtype raises (#38427)
rhshadrach Dec 14, 2020
e4892f3
REF: roll DatetimeBlock.astype into Block._astype (#38460)
jbrockmendel Dec 14, 2020
b76f954
TYP: DataFrame.to_gbq, DataFrame.to_html (easy: copy-paste from forma…
arw2019 Dec 14, 2020
2fadd59
REF: unify Index union methods (#38382)
jbrockmendel Dec 14, 2020
fc31fb6
Updated docstring for DataFrame.plot.bar graph clearify the use of co…
ankushduacodes Dec 14, 2020
deaf138
BUG: Allow numeric ExtensionDtypes in DataFrame.select_dtypes (#38246)
arw2019 Dec 14, 2020
35cc565
REF: simplify _sanitize_column (#38459)
jbrockmendel Dec 14, 2020
7dccda5
TST: add messages to bare pytest raises (#38414)
Dec 14, 2020
8e4fe37
CLN: unnecessary checks (#38467)
jbrockmendel Dec 14, 2020
5b3f50b
CLN: astype_nansafe require dtype object (#38466)
jbrockmendel Dec 14, 2020
e91cbd7
Update 10min.rst (#38462)
aflah02 Dec 14, 2020
ebe760e
BUG: DataFrame.drop raising TypeError for string label with non-uniqu…
phofl Dec 14, 2020
e7a7d68
CI: Use --strict-markers for pytest 6.0.2 (#38478)
mroeschke Dec 15, 2020
a226941
Read csv headers (#37966)
cdknox Dec 15, 2020
8dbb593
DOC: Fix missing ipython block (#38486)
mzeitlin11 Dec 15, 2020
1efc17f
TST: don't use global fixture in the base extension tests (#38494)
jorisvandenbossche Dec 15, 2020
dc4eaf3
CI: Supress moto server logs in tests (#38480)
mroeschke Dec 15, 2020
af45b0a
STYLE: use types_or in pre-commit (#38457)
rkc007 Dec 16, 2020
245cd11
REF: handle ravel inside astype_nansafe (#38507)
jbrockmendel Dec 16, 2020
8455f57
TYP : DataFrame.(merge, join) core.reshape.merge.(merge, ...) (easy)…
arw2019 Dec 16, 2020
5ad4e57
REF: share .astype code for astype_nansafe + TDA.astype (#38481)
jbrockmendel Dec 16, 2020
1138f18
BENCH: Fix CategoricalIndexing benchmark (#38476)
mroeschke Dec 16, 2020
0ba833f
CI: un-xfail (#38514)
jbrockmendel Dec 16, 2020
8488ee2
REF: share unboxing code (#38479)
jbrockmendel Dec 16, 2020
e5266af
REF: simplify maybe_upcast_putmask (#38487)
jbrockmendel Dec 16, 2020
53d1622
DOC: Fix incorrect doc string for infer_dtype (#38375) (#38499)
tsinggggg Dec 16, 2020
122d502
BUG: .item() incorrectly casts td64/dt64 to int (#38512)
jbrockmendel Dec 16, 2020
8a457c7
Updated README (#38491)
aflah02 Dec 16, 2020
d210962
CI: pin xlrd<2.0 (#38526)
jbrockmendel Dec 16, 2020
7043f8f
REF: use astype_nansafe in Index.astype (#38518)
jbrockmendel Dec 16, 2020
7d8a052
BENCH/REF: parametrize CSV benchmarks on engine (#38442)
arw2019 Dec 17, 2020
a66482e
CLN: remove CategoricalIndex._engine (#38529)
jbrockmendel Dec 17, 2020
0556613
BUG: MultiIndex.equals returning incorrectly True when Indexes contai…
phofl Dec 17, 2020
d4b6233
DOC: Add doc-string examples for pd.read_sql using custom parse_dates…
avinashpancham Dec 17, 2020
d08f12c
REG: DataFrame.shift with axis=1 and CategoricalIndex columns (#38504)
jbrockmendel Dec 17, 2020
bffc7ad
BUG: Make DTI/TDI/PI argsort match their underlying arrays (#37965)
jbrockmendel Dec 17, 2020
baeacad
ENH: support 2D in DatetimeArray._from_sequence (#38021)
jbrockmendel Dec 17, 2020
9ee8674
REF: avoid catching all exceptions in libreduction (#38285)
jbrockmendel Dec 17, 2020
fbe7162
CLN: share .values (#38531)
jbrockmendel Dec 17, 2020
8fd2d0c
Added Documentation to specify that DataFrame.last() needs the index …
aflah02 Dec 17, 2020
f197ca5
ENH: 2D compat for DTA tz_localize, to_period (#37950)
jbrockmendel Dec 17, 2020
76a5a4f
CLN: dont consolidate in reshape.concat (#34683)
jbrockmendel Dec 17, 2020
fde8d33
BENCH: Increase sample of CategoricalIndexIndexing.time_get_indexer_l…
mroeschke Dec 17, 2020
5468223
BUG: CategoricalIndex.reindex fails when Index passed with labels all…
GYHHAHA Dec 17, 2020
21b57fa
Revert "REF: remove special casing from Index.equals (always dispatch…
simonjayhawkins Dec 18, 2020
0515301
REF: helpers for sanitize_array (#38553)
jbrockmendel Dec 18, 2020
ac7755e
BUG: BDay() offsetting not behaving as expected (#38324)
theoniko Dec 18, 2020
b578be4
TYP: func argument to DataFrame.apply, DataFrame.applymap, core.apply…
arw2019 Dec 18, 2020
e68016c
TST: GH30999 Add match=msg to test_nat_comparisons_invalid (#38564)
moink Dec 18, 2020
cec2f5f
REF: handle non-list_like cases upfront in sanitize_array (#38563)
jbrockmendel Dec 18, 2020
2ce5585
TST/REF: misplaced DataFrame.append test (#38568)
jbrockmendel Dec 19, 2020
904331f
TST/REF: indexes/datetimes/methods/ (#38569)
jbrockmendel Dec 19, 2020
d585a6c
TST/REF: misplaced Series.reindex test (#38570)
jbrockmendel Dec 19, 2020
a4efa9f
BUG: first("2M") returning incorrect results (#38446)
phofl Dec 19, 2020
a53559d
BUG: to_hdf and HDFStore for subclasses (#38262)
ivanovmg Dec 19, 2020
9b58415
CLN: use .view(i8) instead of .astype(i8) for datetimelike values (#3…
jbrockmendel Dec 19, 2020
e06fbbe
TYP: handle mypy ignore in pandas/_testing (#38236)
ivanovmg Dec 19, 2020
c39773e
BUG: DataFrame.groupby(., dropna=True, axis=0) incorrectly throws Sha…
arw2019 Dec 19, 2020
03e1c89
DOC:fix of DOCUMENTATION (#38579)
Navron4500 Dec 19, 2020
9919623
TST: Bare pytest raises (#38576)
MJafarMashhadi Dec 20, 2020
b7c994b
BUG: Temporarily pin the version of Sphinx to 3.3.1 in requirements. …
shawnbrown Dec 21, 2020
572194c
BUG: fix array conversion from Arrow for slided array (#38539)
jorisvandenbossche Dec 21, 2020
e18ed3e
BUG: Regression in logical ops raising ValueError with Categorical co…
phofl Dec 21, 2020
f4b8a75
TST: Added tests for ABC classes (#38588)
rhshadrach Dec 21, 2020
4f5e40c
TST/REF: collect tests by method (#38589)
jbrockmendel Dec 21, 2020
781d998
BUG: MultiIndex.dtypes to handle when no level names (#38582)
gurukiran07 Dec 21, 2020
95dc7ad
TST/REF: collect datetimelike factorize tests (#38573)
jbrockmendel Dec 21, 2020
d3c52e4
DOC: Add datatest package to list of third-party extension accessors.…
shawnbrown Dec 21, 2020
9a46a4b
REF: Block._astype defer to astype_nansafe in more cases (#38562)
jbrockmendel Dec 21, 2020
8bff5c6
CLN: Remove _get_roll_func (#38596)
mroeschke Dec 21, 2020
8835222
CLN: Define _constructor in window classes when needed (#38595)
mroeschke Dec 21, 2020
457df83
Revert "REF: use astype_nansafe in Index.astype" (#38610)
simonjayhawkins Dec 21, 2020
c6b05c3
TYP: Added cast to ABC EA types (#38586)
rhshadrach Dec 21, 2020
f957b0c
CI: move py38 slow to azure #38429 (#38613)
fangchenli Dec 21, 2020
81069fe
DOC: Enhance asfreq docs (#36369)
plammens Dec 21, 2020
74b959b
TST/REF: consolidate hist tests (#38618)
mzeitlin11 Dec 21, 2020
de3eef9
TYP: pandas/io/sql.py (easy: bool/str) (#38537)
arw2019 Dec 21, 2020
dee5603
REF: implement construct_2d_arraylike_from_scalar (#38583)
jbrockmendel Dec 21, 2020
8a2942c
REF: share astype code in MaskedArray (#38490)
jbrockmendel Dec 21, 2020
e4f425d
CLN: DatetimeArray.astype (#38572)
jbrockmendel Dec 22, 2020
cd0fb05
REF: require listlike in maybe_cast_to_datetime (#38505)
jbrockmendel Dec 22, 2020
3882fd2
BUG: require arraylike in infer_dtype_from_array (#38473)
jbrockmendel Dec 22, 2020
ca52e39
TST/REF: delete duplicated hist tests (#38628)
mzeitlin11 Dec 22, 2020
0519914
Bug: assert_produces_warning(None) not raising AssertionError with wa…
mzeitlin11 Dec 22, 2020
461ce9a
BUG: error raise when column contains percentage (#37534)
erfannariman Dec 22, 2020
15b5946
ENH: add end and end_day origin for resample (#38408)
GYHHAHA Dec 22, 2020
4b7c4bb
REF: collected dtypes.cast and construction simplifications (#38629)
jbrockmendel Dec 22, 2020
fc1df2e
BUG: groupby resample different results with .agg() vs .mean() (#37905)
jalmaguer Dec 22, 2020
d71ec09
REF: simplify CategoricalIndex.__new__ (#38605)
jbrockmendel Dec 22, 2020
12c58e1
BUG: .sparse.to_coo() with numeric col index without a 0 (#38567)
mzeitlin11 Dec 22, 2020
2bf68eb
API: CategoricalDtype.__eq__ with categories=None stricter (#38516)
jbrockmendel Dec 22, 2020
e067fe6
BUG: remove unused tz keyword from PeriodIndex constructor (#38615)
jbrockmendel Dec 22, 2020
4dff397
CI: add slash dispatch workflow to trigger pre-commit checks with com…
MarcoGorelli Dec 22, 2020
0db7bd9
BUG: Fix regression in pandas merge (#38638)
phofl Dec 22, 2020
254e260
DOC: Clarify that DataFrame.sort_values is stable for sorting by mult…
jotasi Dec 22, 2020
bb2c10e
BUG&TST: HTML formatting error in Styler.render() in rowspan attribut…
JoseNavy Dec 22, 2020
5a172c5
DOC: capitalize NumPy as proper noun (#38631)
erictleung Dec 22, 2020
ef349ca
REF: avoid special-casing Categorical astype (#38530)
jbrockmendel Dec 22, 2020
f37c27c
REF: simplify logic in assert_produces_warning (#38637)
ivanovmg Dec 22, 2020
75d02c7
CLN refactor core indexes (#37582)
MarcoGorelli Dec 22, 2020
f3a9271
TST: fix some mpl warnings (#38574)
mzeitlin11 Dec 22, 2020
7210b8b
TST: GH30999 Add match=msg to all "with pytest.raises" in pandas/test…
moink Dec 22, 2020
ad4850b
Move docstring of NDFrame.replace in preparation of #32542 (#38561)
oguzhanogreden Dec 22, 2020
1bac7ac
DEPR: allowing subclass-specific keywords in pd.Index.__new__ (#38597)
jbrockmendel Dec 22, 2020
0230d03
patch wsl compatibility (#38546)
mbkupfer Dec 23, 2020
545a942
BUG: Index([date]).astype("category").astype(object) roundtrip (#38552)
jbrockmendel Dec 23, 2020
e7689c9
ENH/ERR: More consistent error reporting with invalid win_type in rol…
mroeschke Dec 23, 2020
841cace
REF: standardize get_indexer/get_indexer_non_unique code (#38648)
jbrockmendel Dec 23, 2020
7d7880d
TST/BUG: _gen_two_subplots (#38646)
mzeitlin11 Dec 23, 2020
2733a10
REF: use _should_compare to short-circuit set operations (#38643)
jbrockmendel Dec 23, 2020
94e3284
TYP: Extend typing to allow passing Index to to_datetime (#38634)
josh-friedlander-kando Dec 23, 2020
019d053
BUG: disallow scalar in CategoricalIndex construtor (#38614)
jbrockmendel Dec 23, 2020
e8be9fa
REF: use DatetimeArray._validate_setitem_value for DatetimeBlock._can…
jbrockmendel Dec 23, 2020
936d125
BUG: read_json does not respect chunksize (#38293)
robertwb Dec 23, 2020
bd3cd37
DOC: update wording about when xlrd engine can be used (#38456)
cjw296 Dec 23, 2020
a20dd5c
BUG: disallow scalar in Categorical constructor (#38472)
jbrockmendel Dec 23, 2020
d388dcf
TST: fix rest of mpl warnings (#38659)
mzeitlin11 Dec 23, 2020
7db5f57
DEPR: datetimelike.astype(int) (#38544)
jbrockmendel Dec 23, 2020
a943a09
BUG: MultiIndex, IntervalIndex intersection with Categorical (#38653)
jbrockmendel Dec 23, 2020
46f77b5
CLN: numba.prange usage (#38661)
mroeschke Dec 23, 2020
3f3c852
BUG: construction from dt64/td64 values with td64/dt64 dtype (#38575)
jbrockmendel Dec 23, 2020
b34d8c7
CLN: Rolling attributes (#38664)
mroeschke Dec 23, 2020
22478aa
CLN: Rolling _prep_values (#38666)
mroeschke Dec 23, 2020
83d199e
DOC/CI: fix class alias docstrings for sphinx 3.4 + unpin sphinx (#38…
jorisvandenbossche Dec 23, 2020
263e1ee
DEPR: Adjust read excel behavior for xlrd >= 2.0 (#38571)
rhshadrach Dec 23, 2020
5fecf47
ENH: Add dtype argument to read_sql_query (GH10285) (#37546)
avinashpancham Dec 23, 2020
573caff
BUG: `scatter_matrix` raising with 2d axis passed (#38668)
mzeitlin11 Dec 23, 2020
0805043
REF: collect dt64<->dt64tz astype in dtypes.cast (#38662)
jbrockmendel Dec 23, 2020
fa478d3
[BUG] Concat duplicates errors (or lack there of) (#38654)
ivirshup Dec 24, 2020
6c2631b
TST: arithmetic test parametrization/cleanup (#38673)
jbrockmendel Dec 24, 2020
45bbe9a
REF: dispatch TDBlock._can_hold_element to TimedeltaArray._validate_s…
jbrockmendel Dec 24, 2020
d8b5fac
REF: share Index.difference (#38676)
jbrockmendel Dec 24, 2020
12cea49
CLN: simplify Block.putmask (#38677)
jbrockmendel Dec 24, 2020
08230db
ENH: Map pandas integer to optimal SQLAlchemy integer type (GH35076) …
avinashpancham Dec 24, 2020
65242cc
post-merge fixup (#38685)
jbrockmendel Dec 24, 2020
d481c13
Add match=msg to pytest.raises or convert to external_error_raised fo…
moink Dec 24, 2020
d3841ad
CLN: algos.searchsorted (#38686)
jbrockmendel Dec 24, 2020
8dfe1f8
REF: simplify coerce_to_target_dtype (#38683)
jbrockmendel Dec 24, 2020
df90970
PERF: fix assert_frame_equal can be very slow (#38202)
ivanovmg Dec 24, 2020
e744559
REF: share Index.union (#38671)
jbrockmendel Dec 24, 2020
cb7d058
Revert "Deprecated casting an object-dtype index of datetime objects …
simonjayhawkins Dec 25, 2020
b27caf0
CLN: remove unnecessary casting from Block methods (#38700)
jbrockmendel Dec 26, 2020
4601d2c
DOC: 1.2.0 release date (#38678)
simonjayhawkins Dec 26, 2020
87d9c8f
DOC: Start v1.2.1 release notes (#38704)
simonjayhawkins Dec 26, 2020
bc29dfb
pin jedi version<0.18.0 (#38715)
arw2019 Dec 27, 2020
edbd479
Develop pre check (#38663)
cjlynch278 Dec 27, 2020
6e18023
fix link redirect to NumFOCUS (#38713)
partev Dec 27, 2020
68420c9
DOC: reference the visualization page from the ecosystem one (#38731)
afeld Dec 27, 2020
4fe17a4
CI: Move sql builds from Travis to Github actions (#38344)
fangchenli Dec 27, 2020
e4f35f4
TST: GH30999 Add match=msg to all pytest.raises in tests/generic/meth…
moink Dec 27, 2020
6d7b1c5
Slicing columns with mixed types <str>,<int> fails with ValueError #2…
hungyiwu Dec 27, 2020
382e806
TST: Add match=msg to all pytest.raises in pandas/tests/io/json (#38705)
moink Dec 27, 2020
dc09a8a
ENH: Add method argument to rolling constructor to allow table-wise r…
mroeschke Dec 27, 2020
9f1a41d
REF: make pd._testing a directory (#38689)
jbrockmendel Dec 28, 2020
51941bd
TST: GH30999 Add match=msg to all but two pytest.raises in tests/io (…
moink Dec 28, 2020
279d55d
TST: Remove broken test for deprecated functionality (#38707)
theOehrly Dec 28, 2020
947e322
⬆️ UPGRADE: Autoupdate pre-commit config (#38747)
github-actions[bot] Dec 28, 2020
0b7ce00
TST: Inconsistent behavior of .replace() in Int64 series with NA (#3…
ftrihardjo Dec 28, 2020
d717eb1
Revert "TST: Bare pytest raises" in base extension tests (#38748)
jorisvandenbossche Dec 28, 2020
c698246
CLN: remove duplicate banklist.html file (#38739)
afeld Dec 28, 2020
6452f2c
TST: implement tm.check_setitem_equivalents (#38688)
jbrockmendel Dec 28, 2020
fc2cc7c
BUG: loc with empty multiindex raises exception (#38711)
kasim95 Dec 28, 2020
26a679a
DOC: add Comparison with Excel (#38554)
afeld Dec 28, 2020
760c6ff
BUG: Fix Index.__repr__ when `display.max_seq_items` = 1 (#38443)
skvrahul Dec 28, 2020
6210077
DEPR: Hide deprecated attrs _AXIS_NAMES & _AXIS_NUMBERS (#38740)
topper-123 Dec 28, 2020
693cfd8
CLN: simplify tm.decompress_file (#38758)
twoertwein Dec 28, 2020
51d8509
CI: print build version (#38761)
fangchenli Dec 28, 2020
f73bd7c
BUG: IntervalIndex, PeriodIndex, DatetimeIndex symmetric_difference w…
jbrockmendel Dec 28, 2020
8ff5c42
TST: share tz_convert/tz_localize tests (#38756)
jbrockmendel Dec 28, 2020
31e0743
REF: implement nested_data_to_arrays (#38757)
jbrockmendel Dec 29, 2020
fb35344
REGR: to_csv created corrupt ZIP files when there are more rows than …
twoertwein Dec 29, 2020
7f912a4
BUG: float-like string, trailing 0 truncation (#38759)
mzeitlin11 Dec 29, 2020
a27244d
BLD: fix build failure py3.9.1 on OSX (#38766)
jbrockmendel Dec 29, 2020
af428c9
CLN: rolling.py and window/aggregations.pyx (#38768)
mroeschke Dec 29, 2020
ddc0256
DOC: suppress debug messages when displaying plots (#38770)
partev Dec 29, 2020
5a6a0f7
CLN: Add typing for dtype argument in io/sql.py (#38680)
avinashpancham Dec 29, 2020
e752928
CLN: NDFrame._where (#38742)
jbrockmendel Dec 29, 2020
d201fcc
CI,STYLE: add spell check? (#38776)
MarcoGorelli Dec 29, 2020
db1be4d
BUG: Series.where casting dt64 to int64 (#38073)
jbrockmendel Dec 29, 2020
beb4f1b
REF: Index.__new__ (#38665)
jbrockmendel Dec 29, 2020
a37f1a4
BUG/REG: RollingGroupby MultiIndex levels dropped (#38737)
mroeschke Dec 29, 2020
1d19629
BUG: Series construction with mismatched dt64 data vs td64 dtype (#38…
jbrockmendel Dec 29, 2020
508d0d2
BUG: Ensure series/frame mode() keeps int index (#38732)
mzeitlin11 Dec 29, 2020
9415d10
TYP: ExtensionIndex (#38783)
jbrockmendel Dec 29, 2020
2ae017b
BUG: Fix regression for groupby.indices in case of unused categories …
phofl Dec 29, 2020
0976c4c
TST: Isin converted floats unnecessarily to int causing rounding issu…
phofl Dec 29, 2020
f58d815
TST: GH38718 fix an xfail test and add new test for expected behaviou…
moink Dec 30, 2020
fdc2585
BUG: inconsistency between frame.any/all with dt64 vs dt64tz (#38723)
jbrockmendel Dec 30, 2020
7323d19
TST: GH30999 add msg to pytest.raises in simple cases where modules h…
moink Dec 30, 2020
f5ef132
TST: GH30999 Add match=msg to all pytest.raises in pandas/tests/resha…
moink Dec 30, 2020
a478fde
BUG: Categorical with non-nano dt64 (#38791)
jbrockmendel Dec 30, 2020
4cf561f
TST: GH30999 add msg to pytest.raises in pandas/tests/window/moments …
moink Dec 30, 2020
52112d1
DOC: Corrected Out-of-date list of sort algorithms (#38503)
FullBeardDev Dec 30, 2020
bbd0f66
BUG: loc dropping levels when df has only one row (#38150)
phofl Dec 30, 2020
f44f3ec
DOC: make shared includes for describing the datasets in the Getting …
afeld Dec 30, 2020
94810d1
ENH: support downcasting of nullable EAs in pd.to_numeric (#38746)
arw2019 Dec 30, 2020
52bdfdc
BUG: Fix pd.json_normalize to not skip the first element of a generat…
avinashpancham Dec 30, 2020
e85d078
DOC: chat-ops (#38754)
1nF0rmed Dec 30, 2020
79c7d29
TST: GH30999 change all pytest.raises in pandas/tests/indexing to tm.…
moink Dec 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"python.linting.pylintEnabled": false,
"python.linting.mypyEnabled": true,
"python.testing.pytestEnabled": true,
"python.testing.cwd": "pandas/tests"
"python.testing.pytestArgs": [
"pandas"
]
},

// Add the IDs of extensions you want installed when the container is created in the array below.
Expand Down
1 change: 0 additions & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,3 @@ and the [Swift Code of Conduct][swift].
[homepage]: https://www.contributor-covenant.org
[version]: https://www.contributor-covenant.org/version/1/3/0/
[swift]: https://swift.org/community/#code-of-conduct

33 changes: 33 additions & 0 deletions .github/workflows/autoupdate-pre-commit-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "Update pre-commit config"

on:
schedule:
- cron: "0 7 * * 1" # At 07:00 on each Monday.
workflow_dispatch:

jobs:
update-pre-commit:
if: github.repository_owner == 'pandas-dev'
name: Autoupdate pre-commit config
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
~/.cache/pre-commit
~/.cache/pip
key: pre-commit-autoupdate-${{ runner.os }}-build
- name: Update pre-commit config packages
uses: technote-space/create-pr-action@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXECUTE_COMMANDS: |
pip install pre-commit
pre-commit autoupdate || (exit 0);
pre-commit run -a || (exit 0);
COMMIT_MESSAGE: "⬆️ UPGRADE: Autoupdate pre-commit config"
PR_BRANCH_NAME: "pre-commit-config-update-${PR_ID}"
PR_TITLE: "⬆️ UPGRADE: Autoupdate pre-commit config"
30 changes: 11 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
push:
branches: master
pull_request:
branches: master
branches:
- master
- 1.2.x

env:
ENV_FILE: environment.yml
Expand All @@ -16,7 +18,7 @@ jobs:
steps:

- name: Setting conda path
run: echo "::add-path::${HOME}/miniconda3/bin"
run: echo "${HOME}/miniconda3/bin" >> $GITHUB_PATH

- name: Checkout
uses: actions/checkout@v1
Expand All @@ -35,12 +37,6 @@ jobs:
ci/code_checks.sh lint
if: always()

- name: Dependencies consistency
run: |
source activate pandas-dev
ci/code_checks.sh dependencies
if: always()

- name: Checks on imported code
run: |
source activate pandas-dev
Expand Down Expand Up @@ -68,7 +64,7 @@ jobs:
- name: Testing docstring validation script
run: |
source activate pandas-dev
pytest --capture=no --strict scripts
pytest --capture=no --strict-markers scripts
if: always()

- name: Running benchmarks
Expand All @@ -78,14 +74,10 @@ jobs:
asv check -E existing
git remote add upstream https://github.com/pandas-dev/pandas.git
git fetch upstream
if git diff upstream/master --name-only | grep -q "^asv_bench/"; then
asv machine --yes
asv dev | sed "/failed$/ s/^/##[error]/" | tee benchmarks.log
if grep "failed" benchmarks.log > /dev/null ; then
exit 1
fi
else
echo "Benchmarks did not run, no changes detected"
asv machine --yes
asv dev | sed "/failed$/ s/^/##[error]/" | tee benchmarks.log
if grep "failed" benchmarks.log > /dev/null ; then
exit 1
fi
if: always()

Expand All @@ -102,7 +94,7 @@ jobs:
steps:

- name: Setting conda path
run: echo "::set-env name=PATH::${HOME}/miniconda3/bin:${PATH}"
run: echo "${HOME}/miniconda3/bin" >> $GITHUB_PATH

- name: Checkout
uses: actions/checkout@v1
Expand All @@ -123,7 +115,7 @@ jobs:
# This can be removed when the ipython directive fails when there are errors,
# including the `tee sphinx.log` in te previous step (https://github.com/ipython/ipython/issues/11547)
- name: Check ipython directive errors
run: "! grep -B1 \"^<<<-------------------------------------------------------------------------$\" sphinx.log"
run: "! grep -B10 \"^<<<-------------------------------------------------------------------------$\" sphinx.log"

- name: Install ssh key
run: |
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/comment_bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Comment-bot

on:
issue_comment:
types:
- created
- edited

jobs:
autotune:
name: "Fixup pre-commit formatting"
if: startsWith(github.event.comment.body, '@github-actions pre-commit')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/pr-fetch@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
~/.cache/pre-commit
~/.cache/pip
key: pre-commit-dispatched-${{ runner.os }}-build
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install-pre-commit
run: python -m pip install --upgrade pre-commit
- name: Run pre-commit
run: pre-commit run --all-files || (exit 0)
- name: Commit results
run: |
git config user.name "$(git log -1 --pretty=format:%an)"
git config user.email "$(git log -1 --pretty=format:%ae)"
git commit -a -m 'Fixes from pre-commit [automated commit]' || echo "No changes to commit"
- uses: r-lib/actions/pr-push@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
186 changes: 186 additions & 0 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
name: Database

on:
push:
branches: [master]
pull_request:
branches:
- master
- 1.2.x

env:
PYTEST_WORKERS: "auto"
PANDAS_CI: 1
PATTERN: ((not slow and not network and not clipboard) or (single and db))

jobs:
Linux_py37_locale:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

env:
ENV_FILE: ci/deps/actions-37-locale.yaml
LOCALE_OVERRIDE: zh_CN.UTF-8

services:
mysql:
image: mysql
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: pandas
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 3306:3306

postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: pandas
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Cache conda
uses: actions/cache@v1
env:
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('${{ env.ENV_FILE }}') }}

- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pandas-dev
channel-priority: strict
environment-file: ${{ env.ENV_FILE }}
use-only-tar-bz2: true

- name: Environment Detail
run: |
conda info
conda list

- name: Build Pandas
run: |
python setup.py build_ext -j 2
python -m pip install -e . --no-build-isolation --no-use-pep517

- name: Test
run: ci/run_tests.sh
if: always()

- name: Build Version
run: pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd

- name: Publish test results
uses: actions/upload-artifact@master
with:
name: Test results
path: test-data.xml
if: failure()

- name: Print skipped tests
run: python ci/print_skipped.py

Linux_py37_cov:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

env:
ENV_FILE: ci/deps/actions-37-cov.yaml
PANDAS_TESTING_MODE: deprecate
COVERAGE: true

services:
mysql:
image: mysql
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: pandas
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 3306:3306

postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: pandas
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Cache conda
uses: actions/cache@v1
env:
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('${{ env.ENV_FILE }}') }}

- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pandas-dev
channel-priority: strict
environment-file: ${{ env.ENV_FILE }}
use-only-tar-bz2: true

- name: Environment Detail
run: |
conda info
conda list

- name: Build Pandas
run: |
python setup.py build_ext -j 2
python -m pip install -e . --no-build-isolation --no-use-pep517

- name: Test
run: ci/run_tests.sh
if: always()

- name: Build Version
run: pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd

- name: Publish test results
uses: actions/upload-artifact@master
with:
name: Test results
path: test-data.xml
if: failure()

- name: Print skipped tests
run: python ci/print_skipped.py
14 changes: 14 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pre-commit

on:
pull_request:
push:
branches: [master]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.0
21 changes: 21 additions & 0 deletions .github/workflows/stale-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Stale PRs"
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 0 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this."
skip-stale-pr-message: false
stale-pr-label: "Stale"
exempt-pr-labels: "Needs Review,Blocked,Needs Discussion"
days-before-stale: 30
days-before-close: -1
remove-stale-when-updated: false
debug-only: false
Loading