Skip to content

BUG: Fix na_rep when using pd.NA in _format_strings (#33950) #34565

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 1,025 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1025 commits
Select commit Hold shift + click to select a range
d6ae841
Ensure resource closure in all exceptional circumstances during const…
rxxg Sep 13, 2020
6b8131f
Change default of float_precision for read_csv and read_table to "hig…
Dr-Irv Sep 13, 2020
4ae3c68
BUG: read_excel for ods files raising UnboundLocalError in certain ca…
asishm Sep 13, 2020
4b16138
DOC: add type BinaryIO to path param #35505 (#35568)
alexhtn Sep 13, 2020
d5df269
DOC: update DataFrame.to_feather docstring (#35408)
arw2019 Sep 13, 2020
bec46e0
Concatenating rows with Int64 datatype coerces to object
phofl Sep 13, 2020
32e4413
REF: use check_setitem_lengths in DTA.__setitem__ (#36339)
jbrockmendel Sep 14, 2020
2096dfd
DOC: Added docstring for storage_options for read_csv GH36361 (#36364)
Sep 14, 2020
88c3a1b
REF: _unbox_scalar, _unbox_listlike for Categorical (#36362)
jbrockmendel Sep 15, 2020
5d8009a
REF: _assert_can_do_op -> _validate_scalar (#36367)
jbrockmendel Sep 15, 2020
7fe631e
REF: share code for __setitem__ (#36366)
jbrockmendel Sep 15, 2020
84a416b
CI: Add stale PR action (#36336)
dsaxton Sep 15, 2020
d5f00bb
BUG: add py39 compat check for ast.slice #32766 (#36080)
fangchenli Sep 15, 2020
ffb52d3
Move sort index to generic (#36177)
fangchenli Sep 15, 2020
3943050
[BUG]: Implement Kahan summation for rolling().mean() to avoid numeri…
phofl Sep 15, 2020
e4c8e3c
DOC: Example for natural sort using key argument (#36356)
erfannariman Sep 15, 2020
db264c0
[TST]: Groupby raised error with duplicate column names (#36389)
phofl Sep 15, 2020
67e3a92
BUG: Fix MultiIndex column stacking with dupe names (#36371)
dsaxton Sep 15, 2020
9d6ecfb
DOC: Add dataframe_sql to eco system page (#36370)
zbrookle Sep 15, 2020
09554eb
CLN: Clean test_arithmetic.py (#36390)
dsaxton Sep 15, 2020
8a0adcb
BLD/CI: fix py39 ci #36296 (#36393)
fangchenli Sep 16, 2020
f77ada6
CLN: Numba internal routines (#36376)
mroeschke Sep 16, 2020
dad2e7d
DOC: move release note for #36175 (pt1) (#36378)
simonjayhawkins Sep 16, 2020
8af6806
DOC: move release note for #36175 (pt2) (#36379)
simonjayhawkins Sep 16, 2020
cdb8b85
remove trailing commas for black update (#36399)
Sep 16, 2020
e58185e
BUG: Always cast to Categorical in lexsort_indexer (#36385)
dsaxton Sep 17, 2020
21ef248
DEPR: DataFrame.lookup (#35224)
erfannariman Sep 17, 2020
392e46b
ENH/BUG: consistently cast strs to datetimelike for searchsorted (#36…
jbrockmendel Sep 17, 2020
e59ba3d
Bump flake8 version in pre-commit-config.yaml (#36412)
dsaxton Sep 17, 2020
0d2dcc5
REF: re-use validate_listlike for _convert_arr_indexer (#36415)
jbrockmendel Sep 17, 2020
9d6acc4
REF: use BlockManager.to_native_types in formatting code (#36417)
jorisvandenbossche Sep 17, 2020
84187d9
REF: re-use _maybe_promote for _is_convertible_to_index_for_join (#36…
jbrockmendel Sep 17, 2020
02505be
REF: _validate_foo pattern for IntervalArray (#36414)
jbrockmendel Sep 17, 2020
137ce63
Update isort version in pre-commit config (#36428)
clbarnes Sep 17, 2020
2eeac14
CLN: Clean series/test_arithmetic.py (#36406)
dsaxton Sep 17, 2020
dc17e3a
BUG: Categorical.sort_values inplace breaking views (#36404)
jbrockmendel Sep 17, 2020
36545cc
TYP: alias IndexLabel without Optional (#36401)
ivanovmg Sep 17, 2020
18c0df0
REF: implement putmask for CI/DTI/TDI/PI (#36400)
jbrockmendel Sep 17, 2020
85425fd
REF: share __getitem__ for Categorical/PandasArray/DTA/TDA/PA (#36391)
jbrockmendel Sep 17, 2020
698664d
CLN: remove unnecessary _convert_index_indexer (#36394)
jbrockmendel Sep 17, 2020
0d9fd5e
PERF: StringArray construction (#36325)
topper-123 Sep 17, 2020
7e90453
Fix typo in docstring 'handler' --> 'handle' (#36427)
y2kbugger Sep 17, 2020
c31407c
ADMIN: Update stale PR action (#36382)
dsaxton Sep 17, 2020
c39169d
Fix documentation for new float_precision on read_csv (#36358)
Dr-Irv Sep 17, 2020
2f400b7
BLD/CI fix arm64 build #36397 (#36403)
fangchenli Sep 17, 2020
df425f5
BUG: FooIndex.insert casting datetimelike NAs incorrectly (#36374)
jbrockmendel Sep 17, 2020
4db78c3
REF: de-duplicate IntervalIndex compat code (#36372)
jbrockmendel Sep 17, 2020
07844df
remove trailing comma (#36441)
lacrosse91 Sep 18, 2020
b379c3f
DOC: read_excel skiprows documentation matches read_csv (#36435) (#36…
ahgamut Sep 18, 2020
02e5c05
CLN: 35925 rm trailing commas (#36446)
lacrosse91 Sep 18, 2020
53864a4
REF: collect IntervalArray methods by topic (#36438)
jbrockmendel Sep 18, 2020
1841444
REF: share insert between DTI/TDI/PI (#36439)
jbrockmendel Sep 18, 2020
45519a2
CLN Upgrade pandas/core syntax (#36453)
MarcoGorelli Sep 18, 2020
ea83afc
CI: fix gbq test #36436 (#36443)
fangchenli Sep 18, 2020
a97f1e6
REGR: Series[numeric] comparison with str raising on numexpr path (#3…
jbrockmendel Sep 18, 2020
de35b46
[DOC]: Add warning about rolling sums with large values (#36433)
phofl Sep 18, 2020
53dd472
CI: Auto-label PRs for review (#36349)
dsaxton Sep 18, 2020
4d9b4da
REF: _is_compatible_with_other -> _can_union_without_object_cast (#36…
jbrockmendel Sep 18, 2020
ef7d568
CLN: Update files (as per #36450) to Python 3.7+ syntax (#36457)
ahgamut Sep 18, 2020
06c17a7
CI: Revert PR template (#36460)
dsaxton Sep 18, 2020
56cc3fe
BUG: Concat typing (#36409)
rhshadrach Sep 19, 2020
549accc
REF: MultiIndex._validate_insert_value, IntervaArray._validate_setite…
jbrockmendel Sep 19, 2020
fe71a12
DEPR: Index.to_native_types (#36418)
jorisvandenbossche Sep 19, 2020
b4ab8d5
BUG: fix isin with nans and large arrays (#36266)
Hanspagh Sep 19, 2020
e49616b
Remove unnecessary trailing commas (#36463)
sm1899 Sep 19, 2020
0e12eaa
PERF: styler uuid control and security (#36345)
attack68 Sep 19, 2020
7719430
Align cython and python reduction code paths (#36459)
jbrockmendel Sep 19, 2020
2027373
Turn on stale GitHub action (#36476)
dsaxton Sep 19, 2020
40e1ff0
PERF: construct DataFrame with string array and dtype=str (#36432)
topper-123 Sep 19, 2020
a6a8e0e
ASV: added benchamark tests for DataFrame.to_numpy() and .values (#36…
hardikpnsp Sep 19, 2020
a802d13
BUG: get_indexer returned dtype (#36431)
alexhlim Sep 19, 2020
dcafd27
Use https for network checks (#36480)
alimcmaster1 Sep 19, 2020
b7eb2f5
BUG: Python Parser skipping over items if BOM present in first elemen…
asishm Sep 19, 2020
1601462
PERF: pd.to_datetime, unit='s' much slower for float64 than for int64…
arw2019 Sep 19, 2020
59c6867
BUG: Enable Series.equals to compare numpy arrays to scalars (#36161)
avinashpancham Sep 19, 2020
d1bba43
[BUG]: Rolling.sum() calculated wrong values when axis is one and dty…
phofl Sep 19, 2020
17ba0fc
BUG: fix duplicate entries in LaTeX List of Tables when using longtab…
jeschwar Sep 19, 2020
3e30b9e
REF: pandas/io/formats/format.py (#36434)
ivanovmg Sep 19, 2020
0a41156
TST: #31922 assert no segmentation fault with numpy.array.__contains_…
ylin00 Sep 19, 2020
a4f51e5
REF: de-duplicate IntervalArray._validate_foo (#36483)
jbrockmendel Sep 19, 2020
432df37
TYP: core.missing; PERF for needs_i8_conversion (#36485)
jbrockmendel Sep 20, 2020
efed1de
Don't unlabel stale PR on update (#36487)
dsaxton Sep 20, 2020
14453b3
BUG: Fix astype from float32 to string (#36464)
dsaxton Sep 21, 2020
74825b4
CI: troubleshoot segfault (#36511)
jbrockmendel Sep 21, 2020
b1e5631
TST: remove xfails with strict=False (#36524)
simonjayhawkins Sep 21, 2020
60e523e
Made change to Usage statement in issue 36494 (#36496)
sharonwoo Sep 21, 2020
f20ff42
remove not existing argument (#36533)
erfannariman Sep 21, 2020
99938a2
BUG: Fix issue in preserving index name on empty DataFrame (#36532)
Dr-Irv Sep 21, 2020
86fe456
ENH: Optimize nrows in read_excel (#35974)
MarcoGorelli Sep 21, 2020
0dc4d20
CLN: Unify Series case in _wrap_applied_output (#36504)
rhshadrach Sep 21, 2020
0b79b28
REF: share fillna (#36488)
jbrockmendel Sep 21, 2020
56a19f5
Revert "ENH: Optimize nrows in read_excel (#35974)" (#36537)
jbrockmendel Sep 22, 2020
0ab8a6b
Link to new location for scipy.window documentation (#36540)
jpeacock29 Sep 22, 2020
e845a67
TST: add missing assert (#36546)
jorisvandenbossche Sep 22, 2020
2a408d4
CI: Update version of 'black' (#36493)
MarcoGorelli Sep 22, 2020
2cbb294
TST: base test for ExtensionArray.astype to its own type + copy keywo…
tomaszps Sep 22, 2020
84026d5
CI: add pre-commit action, include pyupgrade (#36471)
MarcoGorelli Sep 22, 2020
1e63215
validate fill_value in IntervalArray.take unconditionally (#36538)
jbrockmendel Sep 22, 2020
983ebdb
CI: fix failing pre-commit (#36549)
simonjayhawkins Sep 22, 2020
b906c39
Regr/period range large value/issue 36430 (#36535)
nrebena Sep 22, 2020
158d40b
TYP: exclusions in BaseGroupBy (#36559)
rhshadrach Sep 22, 2020
af162a6
REF: de-duplicate Categorical validators (#36558)
jbrockmendel Sep 22, 2020
a020377
Call finalize in Series.dt (#36554)
TomAugspurger Sep 22, 2020
8bd36a2
REF: Categorical.fillna match patterns in other methods (#36530)
jbrockmendel Sep 22, 2020
9d60102
REF: test_to_latex (#36528)
ivanovmg Sep 22, 2020
4b26d70
CLN: Break up wrap applied output (#36536)
rhshadrach Sep 22, 2020
9bb5b5e
TST: check inequality by comparing categorical with NaN ( #28384 ) (#…
junjunjunk Sep 22, 2020
58bf764
add a test for loc method; check if a warning raise when replacing a …
samilAyoub Sep 22, 2020
69c23dc
DOC: a few sphinx fixes in release notes (#36523)
simonjayhawkins Sep 23, 2020
a9e0216
TST: DataFrame.to_parquet accepts pathlib.Path with partition_cols de…
arw2019 Sep 23, 2020
98e8f95
REF: share _reduce (#36561)
jbrockmendel Sep 23, 2020
3a65dc5
CLN: clean up blocks.py (#36534)
erfannariman Sep 24, 2020
d4e07a8
#34640: CLN: remove 'private_key' and 'verbose' from gbq (#34654)
parkdj1 Sep 24, 2020
af0f709
CLN: clean up pandas core arrays (#36569)
erfannariman Sep 24, 2020
cb984d8
DOC: Add note to docstring DataFrame.compare about identical labels (…
erfannariman Sep 24, 2020
62f4f72
CI/CLN: update travis (#36514)
fangchenli Sep 24, 2020
57b558c
DEPR: string indexing along index for datetimes (#36179)
jbrockmendel Sep 24, 2020
8726b6e
CLN: de-duplicate _local_timestamps (#36609)
jbrockmendel Sep 24, 2020
e54f8ca
TST: 32bit dtype compat #36579 (#36584)
fangchenli Sep 24, 2020
4e12391
CLN: Avoid importing Series in core.aggregation (#36612)
rhshadrach Sep 24, 2020
4ed43b4
REGR: DataFrame.apply() with raw option and func returning string (#3…
simonjayhawkins Sep 24, 2020
b0fc2f3
Fix regression when adding timeldeta_range to timestamp (#36582)
phofl Sep 24, 2020
43f0229
REF: refactor/cleanup CSSResolver (#36581)
ivanovmg Sep 24, 2020
6ef1669
REF: refactor/cleanup of CSSToExcelConverter (#36576)
ivanovmg Sep 24, 2020
e02d2c2
BUG: alignment changing index on input series (#36503)
jbrockmendel Sep 25, 2020
96a9f42
CI: Add rst backtick checker (#36591)
dsaxton Sep 25, 2020
ded9910
BUG: Fix unordered cut with Series labels (#36613)
dsaxton Sep 25, 2020
afad571
Revert "Fix regression when adding timeldeta_range to timestamp (#365…
jbrockmendel Sep 25, 2020
bbb800f
fix test test warnings (#36640)
jbrockmendel Sep 26, 2020
2dd515c
DOC: Replaced single backticks with double backticks in several rst f…
kaptajnen Sep 26, 2020
019d03a
CLN: simplify interpolate_2d and callers (#36624)
jbrockmendel Sep 26, 2020
d0be299
BUG: ndarray[td64] // TimedeltaArray (#36646)
jbrockmendel Sep 26, 2020
18f5b74
CLN: Fix some spelling (#36644)
dsaxton Sep 26, 2020
6858f29
BUG: propagate dropna in pd.Grouper (#36604)
arw2019 Sep 26, 2020
61ba57b
Add generate pip dependency's from conda to pre-commit (#36531)
erfannariman Sep 26, 2020
cd03832
CLN: share setitem/getitem validators (#36619)
jbrockmendel Sep 26, 2020
a3a7265
[BUG]: Fix bug with pre epoch normalization (#36557)
phofl Sep 26, 2020
bacc7f9
BUG: inconsistent replace (#36444)
QuentinN42 Sep 26, 2020
cfb8462
Partial Revert "ENH: infer freq in timedelta_range (#32377)" (#36595)
simonjayhawkins Sep 26, 2020
435d496
PERF: fix long string representation (#36638)
ivanovmg Sep 26, 2020
b2f6874
[BUG]: Fix regression in read_table with delim_whitespace=True (#36560)
phofl Sep 26, 2020
886344f
DOC: Add notes about M and Y to to_timedelata documentation. (#34968…
selasley Sep 26, 2020
ab644b5
DOC: minor fix for 1.1.3 release notes (#36664)
simonjayhawkins Sep 26, 2020
235f086
DOC: Fix release note typo (#36670)
dsaxton Sep 26, 2020
d37cf2c
Replace single with double backticks in RST file #36617 (#36632)
Shubhamsm Sep 26, 2020
1e3574d
CLN: moments/test_moments_rolling.py for apply (#36676)
mroeschke Sep 26, 2020
4fd13bf
CLN: Break up aggregate.transform (#36618)
rhshadrach Sep 26, 2020
bc18c18
CFG use black profile in setup.cfg for isort (#36639)
MarcoGorelli Sep 27, 2020
54dacb8
remove unnecessary noqas (#36684)
MarcoGorelli Sep 27, 2020
d7363ad
CLN: test_moments_rolling.py for mean/std/var/count/median/min/max (#…
mroeschke Sep 28, 2020
9f0112f
DOC: Fix typo in timeseries.rst (#36687)
cdeil Sep 28, 2020
5a89814
CLN: assorted (#36606)
jbrockmendel Sep 28, 2020
ccb32bc
CI: npdev new exception message (#36706)
jbrockmendel Sep 28, 2020
1d07445
DOC: Fix remaining typos in docstrings 'handler' --> 'handle' (#36650)
y2kbugger Sep 28, 2020
098ca4b
Fix small typo (#36711)
xh2 Sep 28, 2020
3cbd4f5
Add pytest-instafail to environment.yml (#36686)
dsaxton Sep 29, 2020
f8fbd9f
DOC: Fix typo in docstring (#36723)
MicaelJarniac Sep 29, 2020
ed7e29c
TYP: update setup.cfg (#36725)
simonjayhawkins Sep 29, 2020
e45eb0c
CLN: Remove unnecessary rolling subclass (#36721)
mroeschke Sep 29, 2020
2f8cbb3
CLN: Format doc code blocks (#36700)
dsaxton Sep 29, 2020
4280aaf
TYP: Ignore remaining mypy errors for pandas\tests\* (#36724)
simonjayhawkins Sep 29, 2020
49d96ca
CLN: cleanup DataFrameInfo (#36641)
ivanovmg Sep 29, 2020
57559ff
CLN: OrderedDict->dict (#36693)
jbrockmendel Sep 29, 2020
875bd84
Fix missing tick labels on twinned axes. (#33767)
ebardie Sep 30, 2020
dbc994f
CLN: Remove unused fixtures (#36699)
dsaxton Sep 30, 2020
2e4dab5
remove unnecesary (#36705)
jbrockmendel Sep 30, 2020
9f68940
TST: implement test to_string_empty_col for Series (GH13653) (#36715)
NomadicDaggy Sep 30, 2020
2b06685
BUG: DatetimeIndex.shift(1) with empty index (#36691)
jbrockmendel Sep 30, 2020
19a9be5
DEPR: is_all_dates (#36697)
jbrockmendel Sep 30, 2020
9d4fce0
bump pytables to 3.5.1 #24839 (#36683)
fangchenli Sep 30, 2020
9bde300
CLN: More pytest idioms in pandas/tests/window (#36657)
mroeschke Sep 30, 2020
3e3cc24
REF: Dispatch string methods to ExtensionArray (#36357)
TomAugspurger Sep 30, 2020
b5f60e5
ENH: nullable Float32/64 ExtensionArray (#34307)
jorisvandenbossche Sep 30, 2020
7d28dd0
DOC: Update roadmap for completions (#36728)
TomAugspurger Sep 30, 2020
4b747fb
REF: rearrange test_to_latex.py (#36714)
ivanovmg Sep 30, 2020
8e6ca4f
TST: read binary file objects with read_fwf (#36735)
twoertwein Sep 30, 2020
4ef947f
Comment on stale PRs (#36622)
dsaxton Sep 30, 2020
37c3ecd
TST: honor encoding in read_fwf for memory-mapped files (#36737)
twoertwein Sep 30, 2020
3fdbf27
TST: insert 'match' to bare pytest raises in pandas/tests/tseries/off…
krajatcl Sep 30, 2020
db5d0c0
CI: disable ARM build (#36733)
jbrockmendel Sep 30, 2020
3bf7c08
REGR: Series.__mod__ behaves different with numexpr (#36552)
simonjayhawkins Sep 30, 2020
dba02b3
DOC: Format more code blocks (#36734)
dsaxton Oct 1, 2020
5eb4cb1
CLN: de-duplicate IntervalArray validators (#36653)
jbrockmendel Oct 1, 2020
da5ba00
[DOC]: Add explanation about DataFrame methods use all Categories (#3…
phofl Oct 1, 2020
3c043db
REF: privatize in core.missing, remove unused kwarg (#36645)
jbrockmendel Oct 1, 2020
901151f
DEPR: Deprecate params levels & codes in MultiIndex.copy (#36685)
topper-123 Oct 1, 2020
5f215d7
TYP: some more static definitions of methods for DatetimeIndex (#36742)
simonjayhawkins Oct 1, 2020
8e1345b
TYP: mostly datetimelike (#36696)
jbrockmendel Oct 1, 2020
552d21c
TST: insert 'match' to bare pytest raises in pandas/tests/indexing/te…
krajatcl Oct 1, 2020
031f2b5
Update README.md (#36772)
mayank1897 Oct 1, 2020
e730e60
Revert "Update README.md (#36772)" (#36781)
MarcoGorelli Oct 1, 2020
706fb04
BUG: use cmath to test complex number equality in pandas._testing (#3…
arw2019 Oct 1, 2020
f0ea1ad
BUG: Index sortlevel ascending add type checking #32334 (#36767)
aniaan Oct 1, 2020
d0b2cad
DOC: Fix code style in documentation (#36780)
erfannariman Oct 2, 2020
a504e47
DOC: Fix PR09 errors in several files (#36763)
Iqrar99 Oct 2, 2020
713dfb2
TST: insert 'match' to bare pytest raises in pandas/tests/indexing/te…
krajatcl Oct 2, 2020
e225361
Add test for 32724 (#36789)
phofl Oct 2, 2020
62dd3df
DOC: use blacken to fix code style in documentation #36777 (#36811)
karasinski Oct 2, 2020
8ba4535
CLN: Use more pytest idioms in test_momemts_ewm.py (#36801)
mroeschke Oct 2, 2020
c1fefbe
DEPR: min_periods=None behavior for Rolling.count (#36649)
mroeschke Oct 2, 2020
93768d5
CLN: test_moments_rolling.py for quantile/kurt/skew (#36784)
mroeschke Oct 2, 2020
9f6a47b
DOC: use black to fix code style in doc pandas-dev#36777 (#36813)
PrayagS Oct 2, 2020
5e1992e
ERR: error handling in DataFrame.__rmatmul__ (#36792)
jbrockmendel Oct 2, 2020
972651f
CLN: Remove param _set_identity in MultiIndex (#36786)
topper-123 Oct 2, 2020
8b68ecb
BUG: DTI/TDI.equals with i8 (#36744)
jbrockmendel Oct 2, 2020
497be40
CLN: test_moments_consistency_*.py (#36810)
mroeschke Oct 2, 2020
c70fff4
API: make DataFrame.__boolop__ default_axis match DataFrame.__arithop…
jbrockmendel Oct 2, 2020
1ce959b
ENH: Implement IntegerArray reductions (#36761)
dsaxton Oct 2, 2020
d77f1b2
ENH: PandasArray ops use core.ops functions (#36484)
jbrockmendel Oct 2, 2020
258a17d
DOC: update code style for remaining intro tutorial docs for #36777 (…
karasinski Oct 2, 2020
79b5778
DOC: uses black to fix formatting #36777 (#36815)
BrendanWilby Oct 2, 2020
ddf3bba
CLN: cleanups in DataFrame._reduce (#36674)
jbrockmendel Oct 2, 2020
e470c34
DOC: remove outdated doc closes #31487 (#36797)
jbrockmendel Oct 2, 2020
8a1dc7a
BUG: Categorical setitem, comparison with tuple category (#36623)
jbrockmendel Oct 2, 2020
3ea466b
[MRG] TST: Added test for groupby apply datetimeindex fix (#36671)
amy12xx Oct 2, 2020
da4e889
CLN/TYP: aggregation methods in core.base (#36677)
rhshadrach Oct 2, 2020
25b8fbb
REGR: Series.loc with a MultiIndex containing Timestamp raises Invali…
simonjayhawkins Oct 2, 2020
c5070e5
CI, CLN remove unnecessary noqa statements, add CI check (#36707)
MarcoGorelli Oct 2, 2020
a218929
ASV: used integer ndarray as indexer for Series.take indexing benchma…
hardikpnsp Oct 2, 2020
f6d53ad
EA: tighten TimedeltaArray._from_sequence signature (#36731)
jbrockmendel Oct 2, 2020
0617797
EA: Tighten signature on DatetimeArray._from_sequence (#36718)
jbrockmendel Oct 2, 2020
6b02357
REF: Back IntervalArray by array instead of Index (#36310)
jbrockmendel Oct 2, 2020
ec5fe47
DEPR: automatic alignment on frame.__cmp__(series) (#36795)
jbrockmendel Oct 3, 2020
a3f3f9f
ENH: Implement FloatingArray reductions (#36778)
dsaxton Oct 3, 2020
ed477e6
[BUG]: Rolling selected too large windows with PeriodIndex (#36730)
phofl Oct 3, 2020
7cdf0ef
DOC: update code style for development doc and user guide #36777 (#36…
karasinski Oct 3, 2020
b9e7204
DOC: update code style for user guide for #36777 (#36823)
karasinski Oct 3, 2020
5ca19f8
DOC: use black to fix code style in doc pandas-dev#36777 (#36824)
PrayagS Oct 3, 2020
3408b0d
CI: silence codecov for unrelated lines (#36600)
erfannariman Oct 3, 2020
a684ec1
DOC: reformat doc groupby.rst (#36831)
erfannariman Oct 3, 2020
9fa1417
TST: GH23452 test reorder_categories() on categorical index (#36648)
fokoid Oct 3, 2020
ded52b0
Typo fix (#36844)
lrjball Oct 4, 2020
d4b98de
CLN: private funcs in concat.py (#36726)
ivanovmg Oct 4, 2020
2f24cc2
ENH: match stdlib behavior for datetimelike comparisons (#36647)
jbrockmendel Oct 4, 2020
2745a4e
doc/source/ecosystem.rst (#36856)
meghanacosmos Oct 4, 2020
3b0b51b
DOC: black enhancingperf.rst and 10min.rst code style (#36849)
Oct 4, 2020
08c312b
DOC: normalize usage of word "pandas" (#36845)
LeviMatus Oct 4, 2020
40f81a8
TYP: update setup.cfg (#36854)
simonjayhawkins Oct 4, 2020
7c3fac4
CI: Update error message for np_dev (#36864)
dsaxton Oct 4, 2020
3262442
DOC: ran blacken docs tool and checked output to improve formatting #…
maria-ilie Oct 5, 2020
cd4a558
CLN: Remove the duplicate configuration of flake8-rst in setup.cfg (#…
Oct 5, 2020
51bf616
upgrade flake8 to 3.8.4 (#36882)
Tazminia Oct 5, 2020
c2a40bf
DOC: doc/source/whatsnew (#36857)
meghanacosmos Oct 5, 2020
ee917d0
TYP: check_untyped_defs core.arrays.base (#36885)
simonjayhawkins Oct 5, 2020
345aa61
TYP: check_untyped_defs compat.pickle_compat (#36884)
simonjayhawkins Oct 5, 2020
5e25a21
PERF: Improve RollingGroupby.count (#36872)
mroeschke Oct 5, 2020
ee436ad
DOC: 1.1.3 release date (#36887)
simonjayhawkins Oct 5, 2020
b884267
Add asv benchmarks for select_dtypes (#36839)
avinashpancham Oct 5, 2020
5f14ef7
DOC: Start v1.1.4 release notes (#36689)
dsaxton Oct 5, 2020
6ebc186
add support for na_rep when using pd.NA in _format_strings See #33950
k-fillmore Jun 4, 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
4 changes: 3 additions & 1 deletion .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.1.x

env:
ENV_FILE: environment.yml
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
45 changes: 25 additions & 20 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,44 +1,49 @@
repos:
- repo: https://github.com/python/black
rev: 19.10b0
rev: 20.8b1
hooks:
- id: black
language_version: python3.7
- 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
args: [--append-config=flake8/cython.cfg]
- id: flake8
name: flake8-pxd
language: python_venv
files: \.pxi\.in$
types:
- file
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.2.2
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
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
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/
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.6.0
hooks:
- id: rst-backticks
- 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: system
entry: python -m scripts.generate_pip_deps_from_conda
files: ^(environment.yml|requirements-dev.txt)$
pass_filenames: false
- repo: https://github.com/asottile/yesqa
rev: v1.2.2
hooks:
- id: yesqa
45 changes: 19 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
language: python
python: 3.7

addons:
apt:
update: true
packages:
- xvfb

services:
- xvfb

# To turn off cached cython files and compiler cache
# set NOCACHE-true
# To delete caches go to https://travis-ci.org/OWNER/REPOSITORY/caches or run
Expand All @@ -10,68 +19,58 @@ cache:
ccache: true
directories:
- $HOME/.cache # cython cache
- $HOME/.ccache # compiler cache

env:
global:
# Variable for test workers
- PYTEST_WORKERS="auto"
# create a github personal access token
# cd pandas-dev/pandas
# travis encrypt 'PANDAS_GH_TOKEN=personal_access_token' -r pandas-dev/pandas
- secure: "EkWLZhbrp/mXJOx38CHjs7BnjXafsqHtwxPQrqWy457VDFWhIY1DMnIR/lOWG+a20Qv52sCsFtiZEmMfUjf0pLGXOqurdxbYBGJ7/ikFLk9yV2rDwiArUlVM9bWFnFxHvdz9zewBH55WurrY4ShZWyV+x2dWjjceWG5VpWeI6sA="

git:
# for cloning
depth: false

matrix:
fast_finish: true

include:
# In allowed failures
- dist: bionic
python: 3.9-dev
env:
- JOB="3.9-dev" PATTERN="(not slow and not network and not clipboard)"

- env:
- JOB="3.8" ENV_FILE="ci/deps/travis-38.yaml" PATTERN="(not slow and not network and not clipboard)"

- env:
- JOB="3.7" ENV_FILE="ci/deps/travis-37.yaml" PATTERN="(not slow and not network and not clipboard)"

- arch: arm64
env:
- JOB="3.7, arm64" PYTEST_WORKERS=8 ENV_FILE="ci/deps/travis-37-arm64.yaml" PATTERN="(not slow and not network and not clipboard)"

- env:
- JOB="3.6, locale" ENV_FILE="ci/deps/travis-36-locale.yaml" PATTERN="((not slow and not network and not clipboard) or (single and db))" LOCALE_OVERRIDE="zh_CN.UTF-8" SQL="1"
- JOB="3.7, locale" ENV_FILE="ci/deps/travis-37-locale.yaml" PATTERN="((not slow and not network and not clipboard) or (single and db))" LOCALE_OVERRIDE="zh_CN.UTF-8" SQL="1"
services:
- mysql
- postgresql

- arch: arm64
env:
- JOB="3.7, arm64" PYTEST_WORKERS=1 ENV_FILE="ci/deps/travis-37-arm64.yaml" PATTERN="(not slow and not network and not clipboard and not arm_slow)"

- env:
# Enabling Deprecations when running tests
# PANDAS_TESTING_MODE="deprecate" causes DeprecationWarning messages to be displayed in the logs
# See pandas/_testing.py for more details.
- JOB="3.6, coverage" ENV_FILE="ci/deps/travis-36-cov.yaml" PATTERN="((not slow and not network and not clipboard) or (single and db))" PANDAS_TESTING_MODE="deprecate" COVERAGE=true SQL="1"
- JOB="3.7, coverage" ENV_FILE="ci/deps/travis-37-cov.yaml" PATTERN="((not slow and not network and not clipboard) or (single and db))" PANDAS_TESTING_MODE="deprecate" COVERAGE=true SQL="1"
services:
- mysql
- postgresql

- env:
- JOB="3.6, slow" ENV_FILE="ci/deps/travis-36-slow.yaml" PATTERN="slow" SQL="1"
services:
- mysql
- postgresql
allow_failures:
# Moved to allowed_failures 2020-09-29 due to timeouts https://github.com/pandas-dev/pandas/issues/36719
- arch: arm64
env:
- JOB="3.7, arm64" PYTEST_WORKERS=8 ENV_FILE="ci/deps/travis-37-arm64.yaml" PATTERN="(not slow and not network and not clipboard)"
- dist: bionic
python: 3.9-dev
env:
- JOB="3.9-dev" PATTERN="(not slow and not network)"
- JOB="3.7, arm64" PYTEST_WORKERS=1 ENV_FILE="ci/deps/travis-37-arm64.yaml" PATTERN="(not slow and not network and not clipboard and not arm_slow)"


before_install:
- echo "before_install"
Expand All @@ -84,12 +83,6 @@ before_install:
- uname -a
- git --version
- ./ci/check_git_tags.sh
# Because travis runs on Google Cloud and has a /etc/boto.cfg,
# it breaks moto import, see:
# https://github.com/spulec/moto/issues/1771
# https://github.com/boto/boto/issues/3741
# This overrides travis and tells it to look nowhere.
- export BOTO_CONFIG=/dev/null

install:
- echo "install start"
Expand Down
4 changes: 4 additions & 0 deletions LICENSES/XARRAY_LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Copyright 2014-2019, xarray Developers

--------------------------------------------------------------------------------

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,16 @@ doc:
cd doc; \
python make.py clean; \
python make.py html

check:
python3 scripts/validate_unwanted_patterns.py \
--validation-type="private_function_across_module" \
--included-file-extensions="py" \
--excluded-file-paths=pandas/tests,asv_bench/,pandas/_vendored \
pandas/

python3 scripts/validate_unwanted_patterns.py \
--validation-type="private_import_across_module" \
--included-file-extensions="py" \
--excluded-file-paths=pandas/tests,asv_bench/,pandas/_vendored,doc/
pandas/
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

## What is it?

**pandas** is a Python package providing fast, flexible, and expressive data
**pandas** is a Python package that provides fast, flexible, and expressive data
structures designed to make working with "relational" or "labeled" data both
easy and intuitive. It aims to be the fundamental high-level building block for
doing practical, **real world** data analysis in Python. Additionally, it has
Expand All @@ -32,7 +32,7 @@ its way towards this goal.
Here are just a few of the things that pandas does well:

- Easy handling of [**missing data**][missing-data] (represented as
`NaN`) in floating point as well as non-floating point data
`NaN`, `NA`, or `NaT`) in floating point as well as non-floating point data
- Size mutability: columns can be [**inserted and
deleted**][insertion-deletion] from DataFrame and higher dimensional
objects
Expand Down Expand Up @@ -154,11 +154,11 @@ For usage questions, the best place to go to is [StackOverflow](https://stackove
Further, general questions and discussions can also take place on the [pydata mailing list](https://groups.google.com/forum/?fromgroups#!forum/pydata).

## Discussion and Development
Most development discussion is taking place on github in this repo. Further, the [pandas-dev mailing list](https://mail.python.org/mailman/listinfo/pandas-dev) can also be used for specialized discussions or design issues, and a [Gitter channel](https://gitter.im/pydata/pandas) is available for quick development related questions.
Most development discussions take place on github in this repo. Further, the [pandas-dev mailing list](https://mail.python.org/mailman/listinfo/pandas-dev) can also be used for specialized discussions or design issues, and a [Gitter channel](https://gitter.im/pydata/pandas) is available for quick development related questions.

## Contributing to pandas [![Open Source Helpers](https://www.codetriage.com/pandas-dev/pandas/badges/users.svg)](https://www.codetriage.com/pandas-dev/pandas)

All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.

A detailed overview on how to contribute can be found in the **[contributing guide](https://pandas.pydata.org/docs/dev/development/contributing.html)**. There is also an [overview](.github/CONTRIBUTING.md) on GitHub.

Expand Down
5 changes: 3 additions & 2 deletions asv_bench/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// The Pythons you'd like to test against. If not provided, defaults
// to the current version of Python used to run `asv`.
// "pythons": ["2.7", "3.4"],
"pythons": ["3.6"],
"pythons": ["3.8"],

// The matrix of dependencies to test. Each key is the name of a
// package (in PyPI) and the values are version numbers. An empty
Expand All @@ -39,7 +39,7 @@
// followed by the pip installed packages).
"matrix": {
"numpy": [],
"Cython": ["0.29.16"],
"Cython": ["0.29.21"],
"matplotlib": [],
"sqlalchemy": [],
"scipy": [],
Expand All @@ -53,6 +53,7 @@
"xlwt": [],
"odfpy": [],
"pytest": [],
"jinja2": [],
// If using Windows with python 2.7 and want to build using the
// mingw toolchain (rather than MSVC), uncomment the following line.
// "libpython": [],
Expand Down
4 changes: 2 additions & 2 deletions asv_bench/benchmarks/arithmetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def setup(self, op):
arr1 = np.random.randn(n_rows, int(n_cols / 2)).astype("f8")
arr2 = np.random.randn(n_rows, int(n_cols / 2)).astype("f4")
df = pd.concat(
[pd.DataFrame(arr1), pd.DataFrame(arr2)], axis=1, ignore_index=True,
[pd.DataFrame(arr1), pd.DataFrame(arr2)], axis=1, ignore_index=True
)
# should already be the case, but just to be sure
df._consolidate_inplace()
Expand Down Expand Up @@ -466,7 +466,7 @@ def setup(self, offset):
self.rng = rng

def time_apply_index(self, offset):
offset.apply_index(self.rng)
self.rng + offset


class BinaryOpsMultiIndex:
Expand Down
4 changes: 4 additions & 0 deletions asv_bench/benchmarks/categoricals.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def setup(self):
self.values_all_int8 = np.ones(N, "int8")
self.categorical = pd.Categorical(self.values, self.categories)
self.series = pd.Series(self.categorical)
self.intervals = pd.interval_range(0, 1, periods=N // 10)

def time_regular(self):
pd.Categorical(self.values, self.categories)
Expand All @@ -44,6 +45,9 @@ def time_fastpath(self):
def time_datetimes(self):
pd.Categorical(self.datetimes)

def time_interval(self):
pd.Categorical(self.datetimes, categories=self.datetimes)

def time_datetimes_with_nat(self):
pd.Categorical(self.datetimes_with_nat)

Expand Down
Loading