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: Add test to ensure DF describe does not throw an error (#32409) #35270

Closed
wants to merge 1,581 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1581 commits
Select commit Hold shift + click to select a range
b329b94
DOC: Fix typo (#37980)
MicaelJarniac Nov 20, 2020
f2cbf4e
BLD: set inplace in setup.cfg (#37973)
fangchenli Nov 20, 2020
191d633
DEPR: how keyword in PeriodIndex.astype (#37982)
jbrockmendel Nov 20, 2020
f823a85
BUG: DataFrame.to_html ignores formatters (#37958)
ma3da Nov 21, 2020
fb379d8
Inconsistent indexes for tick label plotting (#28733)
nrebena Nov 21, 2020
e640dde
BUG: Bug in setitem raising ValueError when setting more than one col…
phofl Nov 21, 2020
347a7bc
CLN: make MultiIndex._shallow_copy signature match other subclasses (…
jbrockmendel Nov 21, 2020
10bee10
PERF: IntervalArray.argsort (#37971)
jbrockmendel Nov 21, 2020
b617bee
Bug in loc did not raise KeyError when missing combination with slice…
phofl Nov 21, 2020
6454943
TST: add nullable array frame constructor dtype tests (#37972)
arw2019 Nov 21, 2020
fb2bd10
PERF: Introducing HashTables for datatypes with 8,16 and 32 bits (#37…
realead Nov 21, 2020
3d5e65d
BUG: Fix inconsistent ordering between left and right in merge (#37406)
phofl Nov 21, 2020
1e21130
BUG: CategoricalIndex.where nulling out non-categories (#37977)
jbrockmendel Nov 22, 2020
0823ed4
BUG: isin incorrectly casting ints to datetimes (#37528)
jbrockmendel Nov 22, 2020
52a1725
BUG: IntervalArray.astype(categorical_dtype) losing ordered (#37984)
jbrockmendel Nov 22, 2020
4c84e12
TST/REF: collect indexing tests by method (#38005)
jbrockmendel Nov 23, 2020
c2b1337
REF: ensure_arraylike in algos.isin (#38004)
jbrockmendel Nov 23, 2020
3788d74
DOC: add a link to new styler method (#37998)
attack68 Nov 23, 2020
fe97aa2
TST/REF: collect tests from test_multilevel (#38006)
jbrockmendel Nov 23, 2020
fa0e405
CLN: avoid try/except in Index methods (#37990)
jbrockmendel Nov 23, 2020
589a89e
CLN: remove panel compat shim (#37983)
fangchenli Nov 23, 2020
25a1d91
[WIP] DOC: MultiIndex EX01 errors (#37993)
xinrong-meng Nov 23, 2020
2c1e981
TST: add test to verify column does not lose categorical type when us…
fgebhart Nov 23, 2020
20f7ffa
REGR: fix inplace operations for EAs with non-EA arg (#37986)
arw2019 Nov 24, 2020
24e881d
REF: Implement isin on DTA instead of DTI (#38012)
jbrockmendel Nov 24, 2020
c22e9d7
CLN: fix E741 ambiguous variable #34150 (#38009)
fangchenli Nov 24, 2020
caf751f
CLN: always pass ndim to make_block (#37991)
jbrockmendel Nov 24, 2020
f9a079a
CLN: Use new hashtables in libindex to avoid casting (#37994)
jbrockmendel Nov 24, 2020
e4cf3ab
Removed period to make it more consisent (#37995)
vineethraj510 Nov 24, 2020
3ba6cc6
TST/REF: collect Index.equals tests (#38011)
jbrockmendel Nov 24, 2020
a04a6f7
TST/REF: collect Index setops tests (#38019)
jbrockmendel Nov 24, 2020
99376b3
TYP: Add cast to ABC classes. (#37902)
rhshadrach Nov 24, 2020
7ceacb4
TST: Series construction from ExtensionDtype scalar (#37989)
arw2019 Nov 24, 2020
7368b2a
CLN/TYP: pandas/io/formats/excel.py (#37862)
ivanovmg Nov 24, 2020
76216ba
REF: define DTA._infer_matches (#38008)
jbrockmendel Nov 24, 2020
de919ff
ENH: Styler column and row styles (#35607)
attack68 Nov 24, 2020
db0cd36
REF: prepare dataframe info for series info (#37868)
ivanovmg Nov 24, 2020
b19e47f
Revert "REF: back IntervalArray by a single ndarray (#37047)" (#38024)
jorisvandenbossche Nov 24, 2020
1cc030e
Bug in loc raised Error when non-integer slice was given for MultiInd…
phofl Nov 24, 2020
5f5350b
Bug in loc raising KeyError when MultiIndex columns has only one leve…
phofl Nov 25, 2020
336cc6c
BUG: pytables in py39 (#38041)
jbrockmendel Nov 25, 2020
61f67b6
DOC: add unqiue value counts example to groupyby guide (#37847)
Abo7atm Nov 25, 2020
15b8898
Bug in DataFrame.loc returning elements in wrong order when indexer i…
phofl Nov 25, 2020
c6eb725
Implement DataFrame.__array_ufunc__ (#36955)
TomAugspurger Nov 25, 2020
08913f8
DOC: Deprecate null_counts parameter of DataFrame.info (#37999)
hongshaoyang Nov 25, 2020
2f1465f
TST/REF: collect Index formatting tests (#38050)
jbrockmendel Nov 25, 2020
d183436
BUG: algos.isin numeric vs datetimelike (#38020)
jbrockmendel Nov 25, 2020
3967d83
DOC: Whatsnew 1.2.0 cleanup (#38002)
rhshadrach Nov 25, 2020
03b9ad8
TST: parametrize test_info (#37887)
ivanovmg Nov 25, 2020
6ef5b4b
CLN: remove ABCIndex (#38055)
jbrockmendel Nov 26, 2020
d8a2e74
ENH: Implement cross method for Merge Operations (#37864)
phofl Nov 26, 2020
2863428
BUG: __getitem__ raise blank KeyError for IntervalIndex and missing k…
phofl Nov 26, 2020
51750be
DOC: tidy 1.1.5 release notes (#38064)
simonjayhawkins Nov 26, 2020
92586ba
PERF: fix regression in tz_convert_from_utc (#38074)
lidavidm Nov 26, 2020
8b0af58
ENH: Add support for min_count keyword for Resample and Groupby funct…
phofl Nov 26, 2020
d203ef8
DOC: clarify docs related to deprecation of indexing DataFrame with s…
jorisvandenbossche Nov 26, 2020
0787b53
BUG: pandas.DataFrame().stack() raise an error, while expected is emp…
steveya Nov 26, 2020
42084f4
CLN: inconsistent namespace usage in tests.indexes (#38076)
jbrockmendel Nov 26, 2020
5c73d99
CLN: Remove .values from groupby.sem (#38044)
rhshadrach Nov 26, 2020
43fa160
DOC: Clean .ix references in indexing.rst (#38080)
topper-123 Nov 26, 2020
71bf9fa
REF: Share code between NumericIndex subclasses (#38027)
jbrockmendel Nov 26, 2020
94179cd
CLN/TST: delegate StringArray.fillna() to parent class + add tests (#…
arw2019 Nov 26, 2020
27989a6
REGR: revert "CLN: _consolidate_inplace less" / fix regression in fil…
jorisvandenbossche Nov 26, 2020
d0afefa
BUG: NumericIndex.insert(0, False) casting to int (#38030)
jbrockmendel Nov 26, 2020
acdc94f
CLN: dont mix Int64Index into PeriodIndex (#38045)
jbrockmendel Nov 26, 2020
e9c91f1
DOC: Remove repeated words and wrong /it's/ usage (#38047)
eumiro Nov 26, 2020
1fc5efd
ENH: adding support for Py3.6+ memory tracing for khash-maps (#38048)
realead Nov 26, 2020
3391a34
CLN: fix flake8 C406, C409, and some of C408 (#38078)
fangchenli Nov 26, 2020
07ca75a
REF: share argmax axis validation test across all indexes (#38049)
jbrockmendel Nov 26, 2020
14e0d12
BUG: get_indexer_non_unique not excluding boolean like get_indexer (#…
jbrockmendel Nov 26, 2020
c26ac5d
TST/REF: take things out of Base tests (#38072)
jbrockmendel Nov 26, 2020
760c2fa
TST: DataFrame.at on categorical with missing (#38085)
ma3da Nov 26, 2020
78d1498
BLD/DOC: Use conda(-forge) compilers (#38084)
xhochy Nov 26, 2020
090d6a1
ENH: preserve RangeIndex in factorize (#38034)
jbrockmendel Nov 26, 2020
fa999f3
BUG: raise consistent exception on slicing failure (#38077)
jbrockmendel Nov 26, 2020
fe87624
BUG: loc.setitem corner case (#37931)
jbrockmendel Nov 26, 2020
109ae10
BUG: RangeIndex.difference with mismatched step (#38028)
jbrockmendel Nov 26, 2020
f15c4bc
BUG: MultiIndex.drop does not raise if labels are partially found (#3…
GYHHAHA Nov 26, 2020
66c3c6f
TST: tighten assert_index_equal calls (#38054)
jbrockmendel Nov 26, 2020
ade94e5
CLN: pd. namespace in tests/window (#38095)
mroeschke Nov 26, 2020
11a5a4b
[TST]: Add test for duplicate keys in concat (#36556)
phofl Nov 26, 2020
45ac7da
PERF: replace_list (#38097)
jbrockmendel Nov 27, 2020
5abc06f
PERF: Index.searchsorted (#38103)
jbrockmendel Nov 27, 2020
19c5eea
BUG: loc.setitem with expansion expanding rows (#37932)
jbrockmendel Nov 27, 2020
003c4a7
BLD: Only enable -Werror in the CI jobs (#38087)
xhochy Nov 27, 2020
91abd0a
REGR: fix regression in groupby aggregation with out-of-bounds dateti…
jorisvandenbossche Nov 27, 2020
dfa9d6f
TST: rewrite convert_dtypes test to make it easier extendable (#38113)
jorisvandenbossche Nov 28, 2020
e8085a7
BUG: crosstab with duplicate column or index labels (#37997)
arw2019 Nov 28, 2020
1c26b1c
TST: Suppress http logs in tests (#38096)
mroeschke Nov 28, 2020
25846e9
CLN: fix flake8 C408 part 2 (#38116)
fangchenli Nov 28, 2020
da5f914
TST: mark all plotting tests as slow (#38079)
ivanovmg Nov 28, 2020
ba2ae2f
CLN: remove unreachable in core.dtypes (#38128)
jbrockmendel Nov 28, 2020
2d661a8
CLN: simplify mask_missing (#38127)
jbrockmendel Nov 28, 2020
d16df29
TYP: Add cast to ABC Index-like types (#38043)
rhshadrach Nov 28, 2020
0bf58d8
DOC: add contibutors to 1.2.0 release notes (#38132)
simonjayhawkins Nov 28, 2020
65319af
REF: IntervalIndex._assert_can_do_setop (#38112)
jbrockmendel Nov 28, 2020
ce0efe8
BUG: Series.at returning Series with one element instead of scalar (#…
phofl Nov 29, 2020
22007d3
API: CategoricalIndex.append fallback to concat_compat (#38098)
jbrockmendel Nov 29, 2020
8eca4b7
BUG: fix astype conversion string -> float (#37974)
mlondschien Nov 29, 2020
7b400b3
ENH: add use_nullable_dtypes option in read_parquet (#31242)
jorisvandenbossche Nov 29, 2020
e99e5ab
BUG: Fix duplicates in intersection of multiindexes (#36927)
phofl Nov 29, 2020
7070aae
BUG: merge_ordered fails with list-like left_by or right_by (#38089)
GYHHAHA Nov 29, 2020
eaa45cf
DOC: Add behavior for Index argument in DataFrame.loc (#38109)
hongshaoyang Nov 29, 2020
224d2e8
REF: de-duplicate ndarray[datetimelike] wrapping (#38129)
jbrockmendel Nov 29, 2020
1cb5f69
BUG: Index.intersection casting to object instead of numeric (#38122)
jbrockmendel Nov 29, 2020
59710bc
CLN: remove unnecesary cast.maybe_convert_objects (#38144)
jbrockmendel Nov 29, 2020
47d0da6
API: membership checks on ExtensionArray containing NA values (#37867)
topper-123 Nov 29, 2020
4a35f2d
ENH: include conversion to nullable float in convert_dtypes() (#38117)
jorisvandenbossche Nov 29, 2020
f65f0d3
DEPR: ExtensionOpsMixin -> OpsMixin (#38142)
jbrockmendel Nov 29, 2020
d98b37d
REF: use np.where instead of maybe_upcast_putmask in nanops (#38130)
jbrockmendel Nov 29, 2020
f04ec86
CLN: remove unreachable in maybe_cast_result (#38152)
jbrockmendel Nov 29, 2020
2f41109
ENH: Improve performance for df.__setitem__ with list-like indexers (…
phofl Nov 29, 2020
3f51060
CLN: remove unused coerce arg in NDFrame._convert (#38151)
jbrockmendel Nov 29, 2020
93db57e
BUG: Categorical[dt64tz].to_numpy() losing tz (#38136)
jbrockmendel Nov 30, 2020
066a16c
Revert "DEPR: ExtensionOpsMixin -> OpsMixin (#38142)" (#38158)
jorisvandenbossche Nov 30, 2020
3902585
DOC: trim error traceback in allows_duplicate_labels whatsnew entry (…
jorisvandenbossche Nov 30, 2020
af48930
CLN: remove _recast_datetimelike_result (#38156)
jbrockmendel Nov 30, 2020
dda8c35
Revert "REF: define nanargminmax without values_for_argsort (#37815)"…
jorisvandenbossche Nov 30, 2020
aad85ad
BUG: combine_first does not retain dtypes with Timestamp DataFrames (…
arw2019 Nov 30, 2020
c29c176
API: preserve freq in DTI/TDI.factorize (#38120)
jbrockmendel Nov 30, 2020
6301438
REF: remove unnecessary maybe_cast_result (#38165)
jbrockmendel Nov 30, 2020
c479d93
REF: more distinctive names for BaseGrouper.aggregate, transform (#38…
jbrockmendel Nov 30, 2020
ff78a02
Rewrite dict literal for files in tests/reshape/ (#38180)
skvrahul Nov 30, 2020
450384e
fix frame, generic, series.py (#38169)
liudj2008 Nov 30, 2020
2a4d3fe
CI: update tests for numpy 1.20 change to floordiv (#38172)
jbrockmendel Nov 30, 2020
b1c68e7
change dict to literal (#38186)
Qbiwan Nov 30, 2020
56b9a80
change dict to literal (#38188)
Qbiwan Nov 30, 2020
03771a2
BUG: fix wrong error message in deprecated 2D indexing of Series with…
jorisvandenbossche Dec 1, 2020
a5eb94d
BUG/CLN: Minimize number of ResourceWarnings (#38168)
twoertwein Dec 1, 2020
6d0dab4
PERF: fix regression in creation of resulting index in RollingGroupby…
jorisvandenbossche Dec 1, 2020
5b2e162
BUG: preserve nullable dtype for float result in IntegerArray/Boolean…
jorisvandenbossche Dec 1, 2020
c2018c1
Revert "ENH: Improve performance for df.__setitem__ with list-like in…
simonjayhawkins Dec 1, 2020
2a115d5
CI/TST: fix CI with numpy dev for changed error message / dev version…
jorisvandenbossche Dec 1, 2020
43928e6
CI: xfail test_area_lim (#38212)
jbrockmendel Dec 1, 2020
1829a61
BUG in Series.interpolate: limit_area/limit_direction kwargs with met…
arw2019 Dec 1, 2020
b3a3932
DEPR: Deprecate using `xlrd` engine for read_excel (#35029)
roberthdevries Dec 1, 2020
b36d539
DOC: fix redirects to user guide in README (#38189)
erictleung Dec 2, 2020
aed5dba
REF: IntervalIndex.intersection match pattern in other intersection m…
jbrockmendel Dec 2, 2020
7e2aa42
BUG: name retention in Index.intersection (#38111)
jbrockmendel Dec 2, 2020
8a15ae9
CLN: improve is_unique check in Index.intersection (#38154)
phofl Dec 2, 2020
b2f6b70
BUG: Avoid duplicates in DatetimeIndex.intersection (#38196)
phofl Dec 2, 2020
044df8c
REF: implement _should_compare (#38105)
jbrockmendel Dec 2, 2020
e2564fd
DOC: Clarify development environment creation for documentation chang…
ooojpeg Dec 2, 2020
c4c1dc3
Using os.PathLike instead of pathlib.Path (#37979) (#38018)
Abhi-H Dec 2, 2020
40ca2b9
REF: implement _ea_wrap_cython_operation (#38162)
jbrockmendel Dec 2, 2020
909af8b
BUG: unexpected merge_ordered results caused by wrongly groupby (#38170)
GYHHAHA Dec 2, 2020
0e52dbe
TST: add comment that plotting tests are slow (#38171)
ivanovmg Dec 2, 2020
b36048d
DOC: Fixed to_pickle compression argument list 'gzip' > 'gz' (#38192)
ooojpeg Dec 2, 2020
155408c
Remove duplicate entry on series.rst (#38199)
vikramaditya91 Dec 2, 2020
6afcb69
TST: Added dataframe constructor tests confirming order is preserved …
jusexton Dec 2, 2020
b687883
change dict to literal (#38207)
Qbiwan Dec 2, 2020
44f0e32
Rewrite dict literal for files in tests/groupby & ./pandas/tests/dtyp…
Qbiwan Dec 2, 2020
c64020d
Rewrite dict literal for files in ./pandas/tests/tools/ and ./pandas…
AbdulMAbdi Dec 2, 2020
02caf7d
CI: pin pip to 20.2 on numpy-dev build (#38228)
jorisvandenbossche Dec 2, 2020
dffab1f
BUG: name attr in RangeIndex.intersection (#38197)
jbrockmendel Dec 2, 2020
25ade6d
TST: tighten testing assertions (#38223)
jbrockmendel Dec 2, 2020
a48957b
Update Dockerfile to use conda-forge compilers (#38219)
xhochy Dec 2, 2020
7757844
TST: add cases for nearest_workday and before_nearest_workday (#38215)
ivanovmg Dec 2, 2020
c184fde
Retain views with listlike indexers setitem (#38204)
jbrockmendel Dec 2, 2020
4749fd6
BUG: DataFrame.idxmin/idxmax with mixed dtypes (#38195)
jbrockmendel Dec 2, 2020
23cbc47
BUG: groupby.rank for dt64tz, period dtypes (#38187)
jbrockmendel Dec 2, 2020
efbcd68
ENH: support nanoseconds in Period constructor (#38175)
arw2019 Dec 2, 2020
58fca97
REF: avoid try/except in wrapping in cython_agg_blocks (#38164)
jbrockmendel Dec 2, 2020
5fdf642
BUG: array-like quantile fails on column groupby (#38173)
GYHHAHA Dec 2, 2020
4c8d66e
BUG: DataFrame.loc returning empty result with negative stepsize for …
phofl Dec 2, 2020
73d0d34
BUG: Index.drop raising Error when Index has duplicates (#38070)
phofl Dec 2, 2020
cb04ad7
REGR: unstack on 'int' dtype prevent fillna to work (#38244)
simonjayhawkins Dec 2, 2020
bda4bc3
BUG: assert_frame_equal exception for datetime #37609 (#38157)
ssortman Dec 2, 2020
daa5942
REF: casting in _python_agg_general (#38235)
jbrockmendel Dec 2, 2020
37ed7e4
REF: consolidate result-casting in _cython_operation (#38237)
jbrockmendel Dec 2, 2020
ff89f8f
restore (#38238)
jbrockmendel Dec 2, 2020
70abd64
TST: setitem in presence of duplicate cols (#38241)
ivanovmg Dec 2, 2020
65f0463
delete unused import (#38252)
arw2019 Dec 3, 2020
d419ab4
PERF: #37462 (#38248)
jbrockmendel Dec 3, 2020
8ac84fa
TST: string representation of IntervalIndex (#38242)
arw2019 Dec 3, 2020
0cfb5e9
REF: simplify _cython_operation return (#38253)
jbrockmendel Dec 3, 2020
dbdc55c
TST: split unfocused groupby test (#38255)
jbrockmendel Dec 3, 2020
142ca08
BUG: CategoricalDtype.__repr__ with RangeIndex categories (#38245)
jbrockmendel Dec 3, 2020
5a13697
Rewrite dict call to literals (#38265)
mavismonica Dec 3, 2020
b58880c
C408 rewrite dict call to dict literals (#38263)
vmdhhh Dec 3, 2020
6b21e3f
CLN: assorted cleanups (#38275)
jbrockmendel Dec 3, 2020
eeaf1a1
The error message for unsupported index on shift() could be more expl…
ZhihuiChen0903 Dec 4, 2020
11d0176
BUG: name retention in Index.difference corner cases (#38268)
jbrockmendel Dec 4, 2020
d6c6788
TST: fixturize unfocused test (#38284)
jbrockmendel Dec 4, 2020
69021e3
REF: de-duplicate intersection methods (#38283)
jbrockmendel Dec 4, 2020
9ea1031
ENH: implement _should_compare/_is_comparable_dtype for all Index sub…
jbrockmendel Dec 4, 2020
d2b7aa1
pandas/core/strings/accesory.py Unnecessary dict call - rewrite as a …
UrielMaD Dec 4, 2020
3359286
Removing dict calls (#38276)
joao-zanutto Dec 4, 2020
492806e
C408 fix (#38260)
gerardjorgensen Dec 4, 2020
e132d85
BUG: Validate drop_duplicates ignore_index argument for bool (#38277)
phofl Dec 4, 2020
4699c2b
BUG: isin numeric vs string (#38279)
jbrockmendel Dec 4, 2020
b5233c4
BUG: DataFrame.apply with axis=1 and EA dtype (#38272)
jbrockmendel Dec 4, 2020
5011a37
ENH: context-manager for chunksize/iterator-reader (#38225)
twoertwein Dec 4, 2020
fb5e57f
New dict call fixings #38138 (#38298)
UrielMaD Dec 4, 2020
5b91feb
REF: move common arithmetic ops from Integer/FloatingArray to Numeric…
jorisvandenbossche Dec 4, 2020
ca3e351
REF: implement Groupby idxmin, idxmax without fallback (#38264)
jbrockmendel Dec 4, 2020
03e5858
BUG: groupby.apply on the NaN group drops values with original axes r…
GYHHAHA Dec 4, 2020
5020a61
Fix typo in melt value_name futurewarning (#38301)
fmaguire Dec 5, 2020
7073ee1
TYP: @final in groupby (#38200)
jbrockmendel Dec 5, 2020
5399c6d
BUG: Inserting array of same size with Series.loc raises ValueError (…
ma3da Dec 5, 2020
122ae44
BUG: IntervalIndex.union with mismatched dtypes both empty (#38282)
jbrockmendel Dec 5, 2020
22dbef1
TST: tighten xfails (#38309)
jbrockmendel Dec 5, 2020
55e3bff
REGR: Groupby first/last/nth treats None as an observation (#38330)
rhshadrach Dec 6, 2020
604ac48
REGR: Fix Index construction from Sparse["datetime64[ns]"] (#38332)
simonjayhawkins Dec 7, 2020
d34bd0b
DOC: 1.1.5 release date (#38318)
simonjayhawkins Dec 7, 2020
0711b7a
CLN: dtypes.cast (#38327)
jbrockmendel Dec 7, 2020
1db3aa2
CLN: fix C408 #38138 (#38320)
fangchenli Dec 7, 2020
99c6116
Removed unnecessary dict calls (#38319)
Arun12121 Dec 7, 2020
007128c
TST: avoid skipping in frame arith test (#38310)
jbrockmendel Dec 7, 2020
292da03
TST: share transform tests (#38304)
jbrockmendel Dec 7, 2020
0aa598a
BUG: Fixes plotting with nullable integers (#32073) (#38014)
rkc007 Dec 7, 2020
0c004fc
CLN: remove now-unnecesary coerce_to_dtypes (#38321)
jbrockmendel Dec 7, 2020
9310cb7
TYP/BUG: fix passing incorrect type to interpolate_1d (#38306)
jbrockmendel Dec 7, 2020
b23bba9
BUG: Clean intersection and fix resulting names when MultiIndex are e…
phofl Dec 7, 2020
803bdd2
REF: simplify casting of scalars to array (#38313)
jbrockmendel Dec 7, 2020
b8acfc4
REF: avoid accessing private iloc methods (#38337)
jbrockmendel Dec 7, 2020
0a0cf7b
TST: revert too-ambitious (#38345)
jbrockmendel Dec 7, 2020
862cd05
TYP: datetimelike (#38307)
jbrockmendel Dec 7, 2020
6a1305e
ENH: add "schema" kwarg to io.sql.get_schema method (#38146)
arw2019 Dec 8, 2020
da237dd
PERF: isin casting integers to object (#38346)
jbrockmendel Dec 8, 2020
37f7bdc
DEPR: xlwt for writing excel files (#38317)
rhshadrach Dec 8, 2020
5bfa653
ENH: use correct dtype in groupby cython ops when it is known (withou…
jbrockmendel Dec 8, 2020
7688d3c
RLS: 1.2.0rc0
Dec 8, 2020
0f58702
Start 1.3.0
simonjayhawkins Dec 8, 2020
0c32079
DOC: minor fixes to 1.2 release notes (#38361)
simonjayhawkins Dec 8, 2020
8878ec6
CI: activate azure pipelines/github actions on 1.2.x (#38360)
simonjayhawkins Dec 8, 2020
9b8f50b
TST: a weird bug with numpy + DataFrame with duplicate columns (#38354)
arw2019 Dec 8, 2020
45fb444
REF: call _ensure_valid_index inside _sanitize_column (#38349)
jbrockmendel Dec 8, 2020
5cafae7
DOC: Start v1.3.0 release notes (#38359)
simonjayhawkins Dec 8, 2020
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
4be0ee8
TST: Add test to ensure Dataframe describe does not throw an error (#…
luckyvs1 Jul 14, 2020
cbe7f5b
TST: Update linting with black pandas formatting
luckyvs1 Jul 14, 2020
484c847
TST: Remove try except to catch error and fail test
luckyvs1 Jul 15, 2020
a50a7d3
TST: Remove unused pytest import
luckyvs1 Jul 15, 2020
246db34
Merge branch 'add-test-for-describe' of https://github.com/luckyvs1/p…
luckyvs1 Dec 10, 2020
85b4d47
Use Dataframe to reference pandas dataframe
luckyvs1 Dec 10, 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
  •  
  •  
  •  
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.ACTION_TRIGGER_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"
16 changes: 6 additions & 10 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 @@ -102,7 +98,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 +119,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
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*.log
*.swp
*.pdb
*.zip
.project
.pydevproject
.settings
Expand Down
182 changes: 153 additions & 29 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,44 +1,168 @@
repos:
- repo: https://github.com/python/black
rev: 19.10b0
rev: 20.8b1
hooks:
- id: black
language_version: python3
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.7
rev: 3.8.4
hooks:
- id: flake8
language: python_venv
additional_dependencies: [flake8-comprehensions>=3.1.0]
- id: flake8
name: flake8-pyx
language: python_venv
files: \.(pyx|pxd)$
types:
- file
name: flake8 (cython)
types: [cython]
args: [--append-config=flake8/cython.cfg]
- id: flake8
name: flake8-pxd
language: python_venv
name: flake8 (cython template)
files: \.pxi\.in$
types:
- file
types: [text]
args: [--append-config=flake8/cython-template.cfg]
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
- repo: https://github.com/PyCQA/isort
rev: 5.6.4
hooks:
- id: isort
language: python_venv
exclude: ^pandas/__init__\.py$|^pandas/core/api\.py$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.730
hooks:
- id: mypy
args:
# As long as a some files are excluded from check-untyped-defs
# we have to exclude it from the pre-commit hook as the configuration
# is based on modules but the hook runs on files.
- --no-check-untyped-defs
- --follow-imports
- skip
files: pandas/
name: isort (python)
- id: isort
name: isort (cython)
types: [cython]
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.4
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.7.0
hooks:
- id: rst-backticks
- id: rst-directive-colons
types: [text]
- id: rst-inline-touching-normal
types: [text]
- repo: local
hooks:
- id: pip_to_conda
name: Generate pip dependency from conda
description: This hook checks if the conda environment.yml and requirements-dev.txt are equal
language: python
entry: python scripts/generate_pip_deps_from_conda.py
files: ^(environment.yml|requirements-dev.txt)$
pass_filenames: false
additional_dependencies: [pyyaml]
- id: flake8-rst
name: flake8-rst
description: Run flake8 on code snippets in docstrings or RST files
language: python
entry: flake8-rst
types: [rst]
args: [--filename=*.rst]
additional_dependencies: [flake8-rst==0.7.0, flake8==3.7.9]
- id: non-standard-imports
name: Check for non-standard imports
language: pygrep
entry: |
(?x)
# Check for imports from pandas.core.common instead of `import pandas.core.common as com`
from\ pandas\.core\.common\ import|
from\ pandas\.core\ import\ common|

# Check for imports from collections.abc instead of `from collections import abc`
from\ collections\.abc\ import

- id: non-standard-numpy.random-related-imports
name: Check for non-standard numpy.random-related imports excluding pandas/_testing.py
language: pygrep
exclude: pandas/_testing.py
entry: |
(?x)
# Check for imports from np.random.<method> instead of `from numpy import random` or `from numpy.random import <method>`
from\ numpy\ import\ random|
from\ numpy.random\ import
types: [python]
- id: non-standard-imports-in-tests
name: Check for non-standard imports in test suite
language: pygrep
entry: |
(?x)
# Check for imports from pandas._testing instead of `import pandas._testing as tm`
from\ pandas\._testing\ import|
from\ pandas\ import\ _testing\ as\ tm|

# No direct imports from conftest
conftest\ import|
import\ conftest
types: [python]
files: ^pandas/tests/
- id: incorrect-code-directives
name: Check for incorrect code block or IPython directives
language: pygrep
entry: (\.\. code-block ::|\.\. ipython ::)
files: \.(py|pyx|rst)$
- id: unwanted-patterns-strings-to-concatenate
name: Check for use of not concatenated strings
language: python
entry: python scripts/validate_unwanted_patterns.py --validation-type="strings_to_concatenate"
files: \.(py|pyx|pxd|pxi)$
- id: unwanted-patterns-strings-with-wrong-placed-whitespace
name: Check for strings with wrong placed spaces
language: python
entry: python scripts/validate_unwanted_patterns.py --validation-type="strings_with_wrong_placed_whitespace"
files: \.(py|pyx|pxd|pxi)$
- id: unwanted-patterns-private-import-across-module
name: Check for import of private attributes across modules
language: python
entry: python scripts/validate_unwanted_patterns.py --validation-type="private_import_across_module"
types: [python]
exclude: ^(asv_bench|pandas/tests|doc)/
- id: unwanted-patterns-private-function-across-module
name: Check for use of private functions across modules
language: python
entry: python scripts/validate_unwanted_patterns.py --validation-type="private_function_across_module"
types: [python]
exclude: ^(asv_bench|pandas/tests|doc)/
- id: inconsistent-namespace-usage
name: 'Check for inconsistent use of pandas namespace in tests'
entry: python scripts/check_for_inconsistent_pandas_namespace.py
language: python
types: [python]
files: ^pandas/tests/
- id: FrameOrSeriesUnion
name: Check for use of Union[Series, DataFrame] instead of FrameOrSeriesUnion alias
entry: Union\[.*(Series.*DataFrame|DataFrame.*Series).*\]
language: pygrep
types: [python]
exclude: ^pandas/_typing\.py$
- id: type-not-class
name: Check for use of foo.__class__ instead of type(foo)
entry: \.__class__
language: pygrep
files: \.(py|pyx)$
- id: unwanted-typing
name: Check for use of comment-based annotation syntax and missing error codes
entry: |
(?x)
\#\ type:\ (?!ignore)|
\#\ type:\s?ignore(?!\[)
language: pygrep
types: [python]
- id: no-os-remove
name: Check code for instances of os.remove
entry: os\.remove
language: pygrep
types: [python]
files: ^pandas/tests/
exclude: |
(?x)^
pandas/tests/io/excel/test_writers\.py|
pandas/tests/io/pytables/common\.py|
pandas/tests/io/pytables/test_store\.py$
- repo: https://github.com/asottile/yesqa
rev: v1.2.2
hooks:
- id: yesqa
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks:
- id: end-of-file-fixer
exclude: ^LICENSES/|\.(html|csv|txt|svg|py)$
- id: trailing-whitespace
exclude: \.(html|svg)$
Loading