Skip to content

Dark background #40836

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 248 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
248 commits
Select commit Hold shift + click to select a range
23d825c
BUG:Fix Min/max markers on box plot are not visible with 'dark_backgr…
yeshsurya Apr 6, 2021
c048d62
TST: Tests for bug Fix - Min/max markers on box plot are not visible …
yeshsurya Apr 8, 2021
13e068b
CLN : Refactored test as per review / ran pre-commit for proper forma…
yeshsurya Apr 9, 2021
45d1d7b
TST : Fixing test for theme color check
yeshsurya Apr 9, 2021
177bccb
TST : Fixed present test and caps color would be same as box color
yeshsurya Apr 10, 2021
c1ae650
TST : Fixed pre-commit errors for file - test_frame_color.py
yeshsurya Apr 10, 2021
395cf7a
DOC : Added whatsnew note in 1.3.0 release
yeshsurya Apr 14, 2021
afd396d
DOC : Fixed release note merge conflict
yeshsurya Apr 14, 2021
7d2ff72
Merge branch 'master' into dark_background
yeshsurya Apr 14, 2021
658cacf
retrigger checks
yeshsurya Apr 21, 2021
d4fc36f
BUG: concat with DTI and all-None Index (#40924)
jbrockmendel Apr 14, 2021
a49464e
TST: groupby of idxmax/min with mixed types (#40795)
bsun94 Apr 14, 2021
51a5d9c
BUG: incorrect rounding in groupby.cummin near int64 implementation b…
jbrockmendel Apr 14, 2021
0ce5138
REF: move 2D-only methods to BlockManager (#40843)
jbrockmendel Apr 14, 2021
eb23d63
PERF: NDArrayBackedExtensionArray in cython (#40840)
jbrockmendel Apr 14, 2021
493d93f
REF: separate 2D only methods from ArrayManager (#40863)
jbrockmendel Apr 14, 2021
786fb90
Fix bug in index.union with duplicates and not a subset of each other…
phofl Apr 14, 2021
cf73413
TYP: parsers.pyi (#40508)
jbrockmendel Apr 14, 2021
7bd78ec
TYP: timedeltas.pyi (#40766)
jbrockmendel Apr 14, 2021
447a670
BUG: Incorrect index shape when using a user-defined function for agg…
DriesSchaumont Apr 15, 2021
428ae90
ENH: [ArrowStringArray] Enable the string methods for the arrow-backe…
simonjayhawkins Apr 15, 2021
98f330e
DOC/CI: add missing import to ipython directive in `whatsnew/v0.11.0.…
attack68 Apr 15, 2021
c153e61
TST: [ArrowStringArray] more parameterised testing - part 2 (#40749)
simonjayhawkins Apr 15, 2021
c349b61
Add 'virt' and 'group' settings for arm64-graviton2 (#40959)
martin-g Apr 15, 2021
f1a1e54
[ArrowStringArray] CLN: imports (#40961)
simonjayhawkins Apr 15, 2021
e002a6d
refactor tests outside of class setup (#40958)
attack68 Apr 15, 2021
414d95d
[ArrowStringArray] CLN: move and rename test_string_methods (#40960)
simonjayhawkins Apr 15, 2021
e532f06
TYP overload fillna #40737 (#40887)
LarWong Apr 15, 2021
288669e
BUG: Series.loc raising KeyError for Iterator indexer in case of seti…
phofl Apr 16, 2021
095fc47
[ArrowStringArray] TST: more parameterised testing - part 4 (#40963)
simonjayhawkins Apr 16, 2021
fa729e8
STYLE use pandas-dev-flaker (#40906)
MarcoGorelli Apr 16, 2021
3787bac
TYP: Index.reindex (#40950)
jbrockmendel Apr 16, 2021
4f62dcb
CLN: de-duplicate reindex/align code (#40968)
jbrockmendel Apr 16, 2021
0f906b3
BUG: to_string truncation column with index=False (#40907)
mikeronayne Apr 16, 2021
b6cfeef
TST: use expected_html for to_html tests (#40981)
mzeitlin11 Apr 16, 2021
344d52a
BUG: Dataframe mask method does not work properly with pd.StringDtype…
DriesSchaumont Apr 16, 2021
9a167aa
DOC: clarify (un)aware logic in tz_localize() docstring (#40940)
jgehrcke Apr 16, 2021
a810c31
add some missing types (#40975)
MarcoGorelli Apr 16, 2021
ded8fc8
BUG: Categorical.unique should keep dtype unchanged (#38140)
topper-123 Apr 16, 2021
fdd3783
BUG: various groupby ewm times issues (#40952)
stevenschaerer Apr 16, 2021
cb0f5b8
REF: enforce annotation in maybe_downcast_to_dtype (#40982)
jbrockmendel Apr 16, 2021
80e59d7
TYP: annotations (#40955)
jbrockmendel Apr 16, 2021
465a8e3
Revert "Skipt failing tests for numpy dev (#40877)" (#41015)
phofl Apr 18, 2021
9e49349
REF: remove Categorical._shallow_copy (#41030)
jbrockmendel Apr 19, 2021
869f6ff
REF: pass arguments to Index._foo_indexer correctly (#41024)
jbrockmendel Apr 19, 2021
6b1892a
CLN: remove ensure_int_or_float (#41011)
jbrockmendel Apr 19, 2021
a2d468d
TYP: core.computation (#41007)
jbrockmendel Apr 19, 2021
fe9bbf2
CI: suppress warnings (#41003)
jbrockmendel Apr 19, 2021
eecfe8b
[ArrowStringArray] fix test_value_counts_na (#41002)
simonjayhawkins Apr 19, 2021
3d8ce84
[ArrowStringArray] fix test_repeat_with_null (#41001)
simonjayhawkins Apr 19, 2021
1047768
REF: remove how arg from maybe_cast_result (#41000)
jbrockmendel Apr 19, 2021
23c9bf9
Regression modifying obj with all false indexer (#40999)
phofl Apr 19, 2021
5b1a92d
CLN: remove CategoricalIndex.unique (#40995)
jbrockmendel Apr 19, 2021
98b78d2
PERF: put BlockManager constructor in cython (#40842)
jbrockmendel Apr 19, 2021
331fef4
fix: function _take_with_is_copy was defined final but overriden (#41…
ajiteshsingh Apr 19, 2021
8fa4f11
TYP: get_indexer (#40612)
jbrockmendel Apr 19, 2021
ccb7cdd
⬆️ UPGRADE: Autoupdate pre-commit config (#41033)
github-actions[bot] Apr 19, 2021
d432635
PERF: implement get_slice in cython (#41045)
jbrockmendel Apr 19, 2021
8d96556
DOC: Improve describe() documentation (#41012)
bharatr21 Apr 20, 2021
85cadf8
BUG: isna not returning copy for MaskedArray (#41020)
mzeitlin11 Apr 20, 2021
6dd8ac6
REF: remove no-op casting in groupby.generic (#41048)
jbrockmendel Apr 20, 2021
41f6fcb
Deprecate suffixes in merge producing duplicate columns (#40991)
phofl Apr 20, 2021
edb05cb
Deprecate joining over a different number of levels (#40993)
phofl Apr 20, 2021
a30480b
PERF: remove unused out kwd from take functions (#40934)
jbrockmendel Apr 20, 2021
c94d8a3
Bug in to_datetime raising ValueError with None and NaT and more than…
phofl Apr 20, 2021
78c7b01
Clarify docs for MultiIndex drops and levels (#40953)
phofl Apr 20, 2021
a3425dd
TST: Add test for union with duplicates (#40967)
phofl Apr 20, 2021
9a462d0
REF: move only-used-once mixins to resample (#41058)
jbrockmendel Apr 20, 2021
df75921
DOC: more accurate wording in roadmap (#41057)
jbrockmendel Apr 20, 2021
060c9e9
BUG: groupby.rank with MaskedArray incorrect casting (#41010)
jbrockmendel Apr 20, 2021
26641d8
[ArrowStringArray] Use utf8_upper and utf8_lower functions from Apach…
simonjayhawkins Apr 20, 2021
8486103
ENH: add `decimal` and `thousands` args to `Styler.format()` (#40596)
attack68 Apr 20, 2021
57c912b
ENH: `Styler.highlight_quantile` method (#40926)
attack68 Apr 20, 2021
118afad
Add keyword sort to pivot_table (#40954)
phofl Apr 20, 2021
48dc12e
DOC: add example for plotting asymmetrical error bars (#41035)
mortada Apr 21, 2021
fff880e
DOC : Added whatsnew note in 1.3.0 release
yeshsurya Apr 14, 2021
9272210
DOC : Fixed release note merge conflict
yeshsurya Apr 14, 2021
29911d0
retrigger checks
yeshsurya Apr 21, 2021
c4893e6
Merge branch 'master' into dark_background
yeshsurya Apr 21, 2021
d76dce0
DOC : Removed duplication in whats new note and re-phrased bug note
yeshsurya May 4, 2021
403c582
DOC: Removed other notes which were merged into whatsnew note (#40769)
yeshsurya May 5, 2021
a37e5d2
DOC: Fixed pre-commit error in whatsnew note (#40769)
yeshsurya May 6, 2021
de19779
PERF/BUG: use masked algo in groupby cummin and cummax (#40651)
mzeitlin11 Apr 21, 2021
8d1aa2f
BUG: Fix pd.read_orc raising AttributeError (#40970)
amznero Apr 21, 2021
32e1612
CLN: Clean-up numeric index dtype validation (#41063)
topper-123 Apr 21, 2021
65b2f4a
ENH: Make maybe_convert_object respect dtype itemsize (#40908)
rhshadrach Apr 21, 2021
86bc2fa
Deprecate inplace in Categorical.remove_categories (#37981)
OlehKSS Apr 21, 2021
ac80e23
PERF: optimize conversion from boolean Arrow array to masked BooleanA…
jorisvandenbossche Apr 21, 2021
88e94ab
DOC: Improve to_datetime() documentation (#41049)
chinmayrane Apr 21, 2021
09b81a1
[ArrayManager] TST: enable JSON tests (except for table schema) (#41075)
jorisvandenbossche Apr 21, 2021
2ae72a6
DOC: update `style.ipynb` user guide for recent enhancements (#41013)
attack68 Apr 21, 2021
7d82a63
BUG: Handle zero-chunked pyarrow.ChunkedArray in StringArray (#41052)
xhochy Apr 21, 2021
c028fd4
TYP: Specify specific type for NumericIndex._values (#41073)
topper-123 Apr 21, 2021
3492294
BUG: GH27721 - test groupby rank with multiindex (#41084)
arredond Apr 21, 2021
957743e
BUG: GH41044 - test loc dict assig (#41076)
arredond Apr 21, 2021
d12cf6c
ENH: Add if_sheet_exists parameter to ExcelWriter (#40231)
mirober Apr 22, 2021
1eec224
Update license year (#41087)
phofl Apr 22, 2021
b25be7c
CI/DOC: temporary pin environment to python 3.8 (#41092)
jorisvandenbossche Apr 22, 2021
d205f22
REF: call ensure_wrapped_if_datetimelike before the array arithmetic_…
jorisvandenbossche Apr 22, 2021
f5e0e6c
REF: BaseGroupBy methods belong in GroupBy (#41066)
jbrockmendel Apr 22, 2021
2d0f8ac
CI: ignore ResourceWarning in tm.assert_produces_warning (#41083)
jbrockmendel Apr 22, 2021
7e674a6
CLN: annotations, docstrings (#41089)
jbrockmendel Apr 22, 2021
f4e6089
REF: Back DatetimeTZBlock with sometimes-2D DTA (#41082)
jbrockmendel Apr 22, 2021
6bdfaef
BUG: read_excel failed with empty rows after MultiIndex header (#40649)
ahawryluk Apr 23, 2021
341ed5c
REF: make maybe_cast_result_dtype a WrappedCythonOp method (#41065)
jbrockmendel Apr 23, 2021
8d77be0
REF: simplify ohlc (#41091)
jbrockmendel Apr 23, 2021
6bdfd6b
CI: pin numpy in the actions-37 env (pyarrow incompatibility) (#41115)
jorisvandenbossche Apr 23, 2021
a8722f6
Deprecate inplace in Categorical.add_categories. (#41118)
OlehKSS Apr 23, 2021
ab5972d
Fix 40420: Interpret NaN in clip() as no bound. (#40927)
DriesSchaumont Apr 23, 2021
87f3a7d
CLN: move pytest config to pyproject.toml (#40656)
fangchenli Apr 25, 2021
0740197
[ArrowStringArray] Use `utf8_is_*` functions from Apache Arrow if ava…
simonjayhawkins Apr 25, 2021
b1f6601
DOC: Updated convert_dtype of Series.apply (#39941)
sukriti1 Apr 25, 2021
de9d9c4
REF: remove Block access in the JSON writing code (#41081)
jorisvandenbossche Apr 26, 2021
331a694
TYP: timestamps.pyi (#40945)
jbrockmendel Apr 26, 2021
8c21726
[ArrayManager] DataFrame constructor from ndarray (#40441)
jorisvandenbossche Apr 26, 2021
a396bd2
[ArrayManager] Enable read_parquet to not create 2D blocks when using…
jorisvandenbossche Apr 26, 2021
975c22e
TYP: Fix typehints for ExtensionDtype (#41097)
ozars Apr 26, 2021
e79b57c
add test-data.xml to gitignore (#41156)
fangchenli Apr 26, 2021
d4c99e3
BUG: pd.factorize should not upconvert unique values unnecessarily (…
topper-123 Apr 26, 2021
d359456
TST: remove more ArrayManager skips for JSON IO (#41164)
jorisvandenbossche Apr 26, 2021
38d164f
REGR: isin raising TypeError for RangeIndex (#41155)
phofl Apr 26, 2021
00aa4af
Updated qcut for Float64DType Issue #40730 (#40969)
taytzehao Apr 26, 2021
2d09159
rename the render process in Styler (#41123)
attack68 Apr 26, 2021
cd2c598
[ArrowStringArray] implement ArrowStringArray._str_contains (#41025)
simonjayhawkins Apr 26, 2021
cfb5881
DEPR: `Styler.where` possible deprecation (#40821)
attack68 Apr 26, 2021
c2a9853
REGR: memory_map with non-UTF8 encoding (#40994)
twoertwein Apr 26, 2021
9e11631
BUG: GH35865 - int cast to str with colon setitem (#41077)
arredond Apr 26, 2021
9879ae7
CLN: remove index keyword from _wrap_aggregated_output (#41128)
jbrockmendel Apr 26, 2021
7f154f9
CI: Mark slow tests as slow to speed up ci (#41140)
phofl Apr 26, 2021
5de8aac
BUG: rolling mean and sum not numerical stable for all nan window (#4…
phofl Apr 26, 2021
fc90331
REF: dont call libreduction incorrectly (#41148)
jbrockmendel Apr 26, 2021
5cd4ab8
Deprecate inplace in Categorical.reorder_categories. (#41133)
OlehKSS Apr 26, 2021
f41d59c
CLN: avoid catching AttributeErorr in DataFrameGroupBy.aggreate (#41103)
jbrockmendel Apr 26, 2021
009cfd3
CLN: tests.indexes.test_setop.py (#41121)
topper-123 Apr 26, 2021
ffd6f2b
TYP: Overload series/ffill and bfill (#41152)
pckSF Apr 26, 2021
7cb67f7
REF: move dispatch methods to WrappedCythonOp (#41114)
jbrockmendel Apr 26, 2021
39c585e
Combined the doctests checks (#41039)
ShaharNaveh Apr 26, 2021
471f7e7
DOC: Fixed documentation for few files (#40903)
ShaharNaveh Apr 26, 2021
78c3065
BUG/TST: run and fix all arithmetic tests with+without numexpr (#40463)
jorisvandenbossche Apr 26, 2021
85e29d5
TYP use typeddict to define cssdict (#40947)
MarcoGorelli Apr 27, 2021
e3e5bc7
TYP: aggregations.pyx (#41029)
jbrockmendel Apr 28, 2021
a0ee5f6
add phofl to maintainers list (#41187)
MarcoGorelli Apr 28, 2021
3b225f0
TYP: resample (#41126)
jbrockmendel Apr 28, 2021
6ae7fef
REF: move check for disallowed bool arithmetic ops out of numexpr-rel…
jorisvandenbossche Apr 28, 2021
f7694df
PERF: numexpr doesn't support floordiv, so don't try (#41163)
jorisvandenbossche Apr 28, 2021
1dd3e6e
BUG: Slice Arrow buffer before passing it to numpy (#40896) (#41046)
ThomasBlauthQC Apr 28, 2021
f99ef5f
REF: prepare (upcast) scalar before dispatching to arithmetic array o…
jorisvandenbossche Apr 28, 2021
5f15709
REF: move union_categoricals call outside of cython (#40964)
jbrockmendel Apr 28, 2021
c4aecdf
Min max sparse (#41159)
taytzehao Apr 28, 2021
ca6e0a4
REF/TYP: implement NDFrameApply (#41067)
jbrockmendel Apr 28, 2021
da0c63f
CLN: reindex_axis remove unnecessary args, always copy=False (#41190)
jbrockmendel Apr 28, 2021
8a83be1
Ci: start testing py310-dev (#41113)
fangchenli Apr 28, 2021
5bc26ef
TYP: overload lib.maybe_convert_objects (#41166)
jbrockmendel Apr 28, 2021
68d9ecc
TST: run frame/series arithmetic tests with+without numexpr (#41178)
jorisvandenbossche Apr 29, 2021
ac4a202
CLN: unnecessary checks in internals.concat (#41189)
jbrockmendel Apr 29, 2021
8aa10db
[ArrowStringArray] startswith/endswith using native pyarrow method (#…
simonjayhawkins Apr 29, 2021
57052e5
[ArrowStringArray] use pyarrow string trimming functions if available…
simonjayhawkins Apr 29, 2021
0a28725
REF: De-duplicate agg_series (#41210)
jbrockmendel Apr 29, 2021
ca822ac
REF: dont catch ValueError in aggregate_item_by_item (#41211)
jbrockmendel Apr 29, 2021
8ef19ed
TST: Regression test for #33765 (#41169)
ShaharNaveh Apr 29, 2021
9998687
BUG: DataFrameGroupBy agg with multi-column object block (#41111)
jbrockmendel Apr 29, 2021
fca5d25
TST: Added iloc tests for casting from object to numeric dtypes for d…
isaac-chung Apr 30, 2021
53bba1c
DOC: Fix link and typo (#41209)
timhoffm Apr 30, 2021
5ec509e
DOC: Timestamp EX01 errors (#37904)
lucasrodes Apr 30, 2021
a452099
CLN: groupby.ops follow-up cleanup (#41204)
jbrockmendel Apr 30, 2021
ab5764e
COMPAT: float() exception type for py310 (#41230)
fangchenli Apr 30, 2021
dd617b6
REF: simplify kwargs unpacking in resample (#41235)
ivanovmg Apr 30, 2021
96b6cb2
REF: avoid passing empty list to concat in groupby methods (#41231)
jbrockmendel Apr 30, 2021
9bee5a2
COMPAT: error massage for py310 (#41228)
fangchenli Apr 30, 2021
05a7672
BUG: retain ordered Categorical dtype in SeriesGroupBy aggregations (…
jbrockmendel Apr 30, 2021
02e005d
REF: move DataFrame-specific methods from NDFrame (#41200)
jbrockmendel Apr 30, 2021
4c4d3e3
CLN: remove Resampler._typ (#41239)
jbrockmendel Apr 30, 2021
cba6b66
REF: maybe_apply_* in core.apply (#41224)
rhshadrach Apr 30, 2021
864060f
[ArrowStringArray] BUG: fix test_astype_string for Float32Dtype (#40998)
simonjayhawkins Apr 30, 2021
1f92c47
REF: hide ArrayManager implementation details from GroupBy (#41086)
jbrockmendel Apr 30, 2021
7424d91
TYP: cleanup typing in core.indexes.range.py (#41179)
topper-123 Apr 30, 2021
7390a0b
REF: tests.indexes.numeric.py (#41192)
topper-123 Apr 30, 2021
84841a3
BUG: make_block with dt64tz-1d #41168 (#41202)
jbrockmendel Apr 30, 2021
ccaa262
BUG: Fix series clipping NA issue (#41141)
Rasori Apr 30, 2021
fa1c6eb
REF: make libreduction behavior match _aggregate_series_pure_python (…
jbrockmendel Apr 30, 2021
81806a5
CLN: no need to catch libgroupby validation ValueError (#41240)
jbrockmendel Apr 30, 2021
2f77d3b
remove outdated arrow compat (#41249)
fangchenli May 1, 2021
0e0cc13
DOC: Add Lux to Pandas Ecosystem page (#41205)
dorisjlee May 1, 2021
b82a915
CLN: fix bad coding (#41252)
attack68 May 1, 2021
dccc4c2
fix test for SSL warning (#41270)
Dr-Irv May 2, 2021
329c818
REF: simplify libreduction (#41262)
jbrockmendel May 2, 2021
af348c4
COMPAT: try to fix import error on py310 (#41261)
fangchenli May 2, 2021
57f8592
REF: avoid unnecessary casting in algorithms (#41256)
jbrockmendel May 2, 2021
1573e17
TYP: assorted annotations (#41250)
jbrockmendel May 2, 2021
1a5ac31
COMPAT: more error msg compat for py310 (#41253)
fangchenli May 2, 2021
652177f
REF: simpilify _cython_agg_general (#41271)
jbrockmendel May 2, 2021
5482a20
REF: de-lazify Resampler init (#41245)
jbrockmendel May 2, 2021
40cc449
REF: remove unnecessary consolidate in GroupBy.describe (#41243)
jbrockmendel May 2, 2021
72b4fb2
Bug in setitem raising ValueError with row-slice indexer on df with l…
phofl May 2, 2021
20d46fd
Deprecate inplace in Categorical.rename_categories (#41186)
OlehKSS May 2, 2021
c4e3339
[ArrowStringArray] use pyarrow.compute.match_substring_regex if avail…
simonjayhawkins May 2, 2021
d9b5d0b
ENH: Numba engine for EWM.mean (#41267)
mroeschke May 2, 2021
e9fd2cf
BUG: groupby.agg/transform casts UDF results (#40790)
rhshadrach May 3, 2021
1aa0b92
CLN: standardize naming in core.groupby (#41247)
jbrockmendel May 3, 2021
4478efc
TYP: ExtensionArray unique and repeat (#41260)
Dr-Irv May 3, 2021
70a965a
TST: refactored tests to use parametrize instead of "for" loop (#41195)
ShaharNaveh May 3, 2021
69bfb42
CI: Fix warning from SSL transport (again) (#41279)
Dr-Irv May 3, 2021
223c766
CI: Added unselected directories to doctest CI (#41280)
ShaharNaveh May 3, 2021
ff34aa3
TST: fix casting extension tests for external users (#41278)
jorisvandenbossche May 3, 2021
175209d
Optimising Series.nunique for Nan values #40865 (#41236)
KenilMehta May 3, 2021
d70ee66
REF: avoid unnecessary raise in DataFrameGroupBy._cython_agg_general …
jbrockmendel May 3, 2021
cd31491
REF: clearer names in libreduction (#41274)
jbrockmendel May 3, 2021
51b06a2
ENH: Pluggable SQL performance via new SQL `engine` keyword (#40556)
yehoshuadimarsky May 3, 2021
480ca77
retrigger checks
yeshsurya Apr 21, 2021
b41f1a0
BUG: incorrect rounding in groupby.cummin near int64 implementation b…
jbrockmendel Apr 14, 2021
f8a01dd
REF: move 2D-only methods to BlockManager (#40843)
jbrockmendel Apr 14, 2021
8d9b4fe
PERF: NDArrayBackedExtensionArray in cython (#40840)
jbrockmendel Apr 14, 2021
de77847
REF: separate 2D only methods from ArrayManager (#40863)
jbrockmendel Apr 14, 2021
66027bf
Fix bug in index.union with duplicates and not a subset of each other…
phofl Apr 14, 2021
38af11c
TYP: parsers.pyi (#40508)
jbrockmendel Apr 14, 2021
482141c
TYP: timedeltas.pyi (#40766)
jbrockmendel Apr 14, 2021
12c9eff
BUG: Incorrect index shape when using a user-defined function for agg…
DriesSchaumont Apr 15, 2021
07d8ee3
ENH: [ArrowStringArray] Enable the string methods for the arrow-backe…
simonjayhawkins Apr 15, 2021
630832b
TYP overload fillna #40737 (#40887)
LarWong Apr 15, 2021
0c0f924
[ArrowStringArray] TST: more parameterised testing - part 4 (#40963)
simonjayhawkins Apr 16, 2021
40b6104
STYLE use pandas-dev-flaker (#40906)
MarcoGorelli Apr 16, 2021
dbf5d6a
TYP: Index.reindex (#40950)
jbrockmendel Apr 16, 2021
878ba61
BUG: to_string truncation column with index=False (#40907)
mikeronayne Apr 16, 2021
e56ee2e
BUG: Dataframe mask method does not work properly with pd.StringDtype…
DriesSchaumont Apr 16, 2021
4479cfe
BUG: Categorical.unique should keep dtype unchanged (#38140)
topper-123 Apr 16, 2021
e25b8e4
BUG: various groupby ewm times issues (#40952)
stevenschaerer Apr 16, 2021
c4de2d1
REF: enforce annotation in maybe_downcast_to_dtype (#40982)
jbrockmendel Apr 16, 2021
3f43a82
TYP: annotations (#40955)
jbrockmendel Apr 16, 2021
060364b
REF: remove Categorical._shallow_copy (#41030)
jbrockmendel Apr 19, 2021
7ad4033
REF: pass arguments to Index._foo_indexer correctly (#41024)
jbrockmendel Apr 19, 2021
792ef9c
CLN: remove ensure_int_or_float (#41011)
jbrockmendel Apr 19, 2021
10bfb93
TYP: core.computation (#41007)
jbrockmendel Apr 19, 2021
842afd0
CI: suppress warnings (#41003)
jbrockmendel Apr 19, 2021
7abd259
[ArrowStringArray] fix test_repeat_with_null (#41001)
simonjayhawkins Apr 19, 2021
bc376de
PERF: put BlockManager constructor in cython (#40842)
jbrockmendel Apr 19, 2021
6882acf
fix: function _take_with_is_copy was defined final but overriden (#41…
ajiteshsingh Apr 19, 2021
985c5fa
TYP: get_indexer (#40612)
jbrockmendel Apr 19, 2021
bd35676
BUG: isna not returning copy for MaskedArray (#41020)
mzeitlin11 Apr 20, 2021
292efb6
REF: remove no-op casting in groupby.generic (#41048)
jbrockmendel Apr 20, 2021
bd38d53
Deprecate suffixes in merge producing duplicate columns (#40991)
phofl Apr 20, 2021
1808d1f
Deprecate joining over a different number of levels (#40993)
phofl Apr 20, 2021
b98040f
Bug in to_datetime raising ValueError with None and NaT and more than…
phofl Apr 20, 2021
6624c5b
REF: move only-used-once mixins to resample (#41058)
jbrockmendel Apr 20, 2021
b309683
BUG: groupby.rank with MaskedArray incorrect casting (#41010)
jbrockmendel Apr 20, 2021
6ade772
ENH: add `decimal` and `thousands` args to `Styler.format()` (#40596)
attack68 Apr 20, 2021
5b8f15e
ENH: `Styler.highlight_quantile` method (#40926)
attack68 Apr 20, 2021
f0202bf
Add keyword sort to pivot_table (#40954)
phofl Apr 20, 2021
21c0354
retrigger checks
yeshsurya Apr 21, 2021
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
if: always()

- name: Testing docstring validation script
run: pytest --capture=no --strict-markers scripts
run: pytest scripts
if: always()

- name: Running benchmarks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: ./.github/actions/build_pandas

- name: Test
run: pytest -m "${{ env.PATTERN }}" -n 2 --dist=loadfile -s --strict-markers --durations=30 --junitxml=test-data.xml -s --cov=pandas --cov-report=xml pandas/tests/io
run: pytest -m "${{ env.PATTERN }}" -n 2 --dist=loadfile --cov=pandas --cov-report=xml pandas/tests/io
if: always()

- name: Build Version
Expand Down
70 changes: 70 additions & 0 deletions .github/workflows/python-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Python Dev

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
name: actions-310-dev
timeout-minutes: 60

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Python Dev Version
uses: actions/setup-python@v2
with:
python-version: '3.10-dev'

- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install git+https://github.com/numpy/numpy.git
pip install git+https://github.com/pytest-dev/pytest.git
pip install git+https://github.com/nedbat/coveragepy.git
pip install cython python-dateutil pytz hypothesis pytest-xdist
pip list

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

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

- name: Test with pytest
run: |
coverage run -m pytest -m 'not slow and not network and not clipboard' pandas
continue-on-error: true

- 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

- name: Report Coverage
run: |
coverage report -m

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
flags: unittests
name: codecov-pandas
fail_ci_if_error: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ asv_bench/env/
asv_bench/html/
asv_bench/results/
asv_bench/pandas/
test-data.xml

# Documentation generated files #
#################################
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
exclude: ^pandas/_libs/src/(klib|headers)/
args: [--quiet, '--extensions=c,h', '--headers=h', --recursive, '--filter=-readability/casting,-runtime/int,-build/include_subdir']
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.1
rev: 3.9.0
hooks:
- id: flake8
additional_dependencies:
Expand Down Expand Up @@ -75,7 +75,7 @@ repos:
hooks:
- id: yesqa
additional_dependencies:
- flake8==3.9.1
- flake8==3.9.0
- flake8-comprehensions==3.1.0
- flake8-bugbear==21.3.2
- pandas-dev-flaker==0.2.0
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BSD 3-Clause License
Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
All rights reserved.

Copyright (c) 2011-2020, Open source contributors.
Copyright (c) 2011-2021, Open source contributors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand Down
8 changes: 8 additions & 0 deletions asv_bench/benchmarks/frame_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,14 @@ def time_frame_nunique(self):
self.df.nunique()


class SeriesNuniqueWithNan:
def setup(self):
self.ser = Series(100000 * (100 * [np.nan] + list(range(100)))).astype(float)

def time_series_nunique_nan(self):
self.ser.nunique()


class Duplicated:
def setup(self):
n = 1 << 20
Expand Down
28 changes: 28 additions & 0 deletions asv_bench/benchmarks/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,34 @@ def time_frame_agg(self, dtype, method):
self.df.groupby("key").agg(method)


class CumminMax:
param_names = ["dtype", "method"]
params = [
["float64", "int64", "Float64", "Int64"],
["cummin", "cummax"],
]

def setup(self, dtype, method):
N = 500_000
vals = np.random.randint(-10, 10, (N, 5))
null_vals = vals.astype(float, copy=True)
null_vals[::2, :] = np.nan
null_vals[::3, :] = np.nan
df = DataFrame(vals, columns=list("abcde"), dtype=dtype)
null_df = DataFrame(null_vals, columns=list("abcde"), dtype=dtype)
keys = np.random.randint(0, 100, size=N)
df["key"] = keys
null_df["key"] = keys
self.df = df
self.null_df = null_df

def time_frame_transform(self, dtype, method):
self.df.groupby("key").transform(method)

def time_frame_transform_many_nulls(self, dtype, method):
self.null_df.groupby("key").transform(method)


class RankWithTies:
# GH 21237
param_names = ["dtype", "tie_method"]
Expand Down
8 changes: 4 additions & 4 deletions asv_bench/benchmarks/io/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ def setup(self, cols, rows):

def time_apply_render(self, cols, rows):
self._style_apply()
self.st.render()
self.st._render_html()

def peakmem_apply_render(self, cols, rows):
self._style_apply()
self.st.render()
self.st._render_html()

def time_classes_render(self, cols, rows):
self._style_classes()
self.st.render()
self.st._render_html()

def peakmem_classes_render(self, cols, rows):
self._style_classes()
self.st.render()
self.st._render_html()

def _style_apply(self):
def _apply_func(s):
Expand Down
108 changes: 74 additions & 34 deletions asv_bench/benchmarks/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,91 +50,126 @@ def peakmem_cat_frame_construction(self, dtype):


class Methods:
def setup(self):
self.s = Series(tm.makeStringIndex(10 ** 5))
params = ["str", "string", "arrow_string"]
param_names = ["dtype"]

def setup(self, dtype):
from pandas.core.arrays.string_arrow import ArrowStringDtype # noqa: F401

def time_center(self):
try:
self.s = Series(tm.makeStringIndex(10 ** 5), dtype=dtype)
except ImportError:
raise NotImplementedError

def time_center(self, dtype):
self.s.str.center(100)

def time_count(self):
def time_count(self, dtype):
self.s.str.count("A")

def time_endswith(self):
def time_endswith(self, dtype):
self.s.str.endswith("A")

def time_extract(self):
def time_extract(self, dtype):
with warnings.catch_warnings(record=True):
self.s.str.extract("(\\w*)A(\\w*)")

def time_findall(self):
def time_findall(self, dtype):
self.s.str.findall("[A-Z]+")

def time_find(self):
def time_find(self, dtype):
self.s.str.find("[A-Z]+")

def time_rfind(self):
def time_rfind(self, dtype):
self.s.str.rfind("[A-Z]+")

def time_get(self):
def time_get(self, dtype):
self.s.str.get(0)

def time_len(self):
def time_len(self, dtype):
self.s.str.len()

def time_join(self):
def time_join(self, dtype):
self.s.str.join(" ")

def time_match(self):
def time_match(self, dtype):
self.s.str.match("A")

def time_normalize(self):
def time_normalize(self, dtype):
self.s.str.normalize("NFC")

def time_pad(self):
def time_pad(self, dtype):
self.s.str.pad(100, side="both")

def time_partition(self):
def time_partition(self, dtype):
self.s.str.partition("A")

def time_rpartition(self):
def time_rpartition(self, dtype):
self.s.str.rpartition("A")

def time_replace(self):
def time_replace(self, dtype):
self.s.str.replace("A", "\x01\x01")

def time_translate(self):
def time_translate(self, dtype):
self.s.str.translate({"A": "\x01\x01"})

def time_slice(self):
def time_slice(self, dtype):
self.s.str.slice(5, 15, 2)

def time_startswith(self):
def time_startswith(self, dtype):
self.s.str.startswith("A")

def time_strip(self):
def time_strip(self, dtype):
self.s.str.strip("A")

def time_rstrip(self):
def time_rstrip(self, dtype):
self.s.str.rstrip("A")

def time_lstrip(self):
def time_lstrip(self, dtype):
self.s.str.lstrip("A")

def time_title(self):
def time_title(self, dtype):
self.s.str.title()

def time_upper(self):
def time_upper(self, dtype):
self.s.str.upper()

def time_lower(self):
def time_lower(self, dtype):
self.s.str.lower()

def time_wrap(self):
def time_wrap(self, dtype):
self.s.str.wrap(10)

def time_zfill(self):
def time_zfill(self, dtype):
self.s.str.zfill(10)

def time_isalnum(self, dtype):
self.s.str.isalnum()

def time_isalpha(self, dtype):
self.s.str.isalpha()

def time_isdecimal(self, dtype):
self.s.str.isdecimal()

def time_isdigit(self, dtype):
self.s.str.isdigit()

def time_islower(self, dtype):
self.s.str.islower()

def time_isnumeric(self, dtype):
self.s.str.isnumeric()

def time_isspace(self, dtype):
self.s.str.isspace()

def time_istitle(self, dtype):
self.s.str.istitle()

def time_isupper(self, dtype):
self.s.str.isupper()


class Repeat:

Expand Down Expand Up @@ -178,13 +213,18 @@ def time_cat(self, other_cols, sep, na_rep, na_frac):

class Contains:

params = [True, False]
param_names = ["regex"]
params = (["str", "string", "arrow_string"], [True, False])
param_names = ["dtype", "regex"]

def setup(self, dtype, regex):
from pandas.core.arrays.string_arrow import ArrowStringDtype # noqa: F401

def setup(self, regex):
self.s = Series(tm.makeStringIndex(10 ** 5))
try:
self.s = Series(tm.makeStringIndex(10 ** 5), dtype=dtype)
except ImportError:
raise NotImplementedError

def time_contains(self, regex):
def time_contains(self, dtype, regex):
self.s.str.contains("A", regex=regex)


Expand Down
Loading