Skip to content

Updating Forked Repo #1

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

Merged
merged 248 commits into from
Mar 22, 2020
Merged
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
690e382
CI: fix test_matplotlib_scatter_datetime64 (#32442)
WillAyd Mar 4, 2020
c5f11ab
CI: mypy fixup for #32261 (#32438)
WillAyd Mar 4, 2020
d4cc3cc
CI: ax.rowNum and ax.colNum attributes deprecated in Matplotlib 3.2 (…
simonjayhawkins Mar 5, 2020
79c9ec9
CLN: avoid _internal_get_values in groupby.generic (#32427)
simonjayhawkins Mar 5, 2020
f7bed05
DOC: correct issue number for PR #32424 (#32436)
simonjayhawkins Mar 5, 2020
8914c01
TYP/CLN: Optional[Hashable] -> pandas._typing.Label (#32371)
simonjayhawkins Mar 6, 2020
f6b3e82
DOC: Fix errors in pandas.Series.argmin (#32286)
farhanreynaldo Mar 6, 2020
015c1c1
Made apt changes to the documentation for pandas.Series.str.replace()…
ashwinpn Mar 6, 2020
96a40ed
Fixing RT02 pandas.Index.dropna and PR08 pandas.Index.fillna (#32359)
zaki-indra Mar 6, 2020
54c5e9e
CLN: imports in pandas/io/excel/_base.py (#32481)
ShaharNaveh Mar 6, 2020
970499d
fix errors docstrings pandas.to_numeric (#32354)
isoletslicer Mar 6, 2020
45d412f
CI: Fix flaky test_value_counts_null (#32449)
SaturnFromTitan Mar 7, 2020
2e0e013
CLN: assorted cleanups, annotations (#32475)
jbrockmendel Mar 7, 2020
7217393
CLN: remove is_period_arraylike, is_datetime_arraylike (#32406)
jbrockmendel Mar 7, 2020
777c0f9
CLN: remove unreachable _internal_get_values in blocks (#32472)
jbrockmendel Mar 7, 2020
ed8df2d
REF: de-nest Series.__setitem__ (#32078)
jbrockmendel Mar 7, 2020
edae9d1
Implement __array__ on ExtensionIndex (#32255)
jbrockmendel Mar 7, 2020
8f51c99
TST: Removed import of itertools (#32364)
ShaharNaveh Mar 7, 2020
3d08aa5
TST: refactored test_factorize (#32311)
SaturnFromTitan Mar 7, 2020
20474f5
DOC: DataFrame.ewm docstring clean-up (#32212)
sursu Mar 7, 2020
2a2258d
CI: Adding script to validate consistent and correct capitalization a…
Mar 7, 2020
6852012
DOC: Fix examples in documentation (#31472)
ShaharNaveh Mar 7, 2020
684a291
DOC: Update the pandas.DatetimeIndex docstring (#32360)
Hori75 Mar 7, 2020
00f1825
BUG: PeriodIndex.asof_locs (#32310)
jbrockmendel Mar 8, 2020
aa27b9a
CLN: avoid _ndarray_values, values in MultiIndex (#32452)
jbrockmendel Mar 8, 2020
957fc3c
BUG/DEPR: loc.__setitem__ incorrectly accepting positional slices (#3…
jbrockmendel Mar 8, 2020
19ae087
PERF: do DataFrame.op(series, axis=0) blockwise (#31296)
jbrockmendel Mar 8, 2020
6f5287b
CLN: avoid values_from_object in nanops (#32508)
jbrockmendel Mar 8, 2020
90bb1aa
API: allow step!=1 slice with IntervalIndex (#31658)
jbrockmendel Mar 8, 2020
08c6597
CLN: remove check_series_type (#32513)
jbrockmendel Mar 8, 2020
edb863e
CLN: avoid values_from_object in construction (#32504)
jbrockmendel Mar 8, 2020
a3985f8
Fix failure to convert string "uint64" to NaN (#32541)
roberthdevries Mar 9, 2020
3e1275e
CLN: to_dense->np.asarray (#32545)
jbrockmendel Mar 9, 2020
787dc8a
BUG: Fixed bug, where pandas._libs.lib.maybe_convert_objects function…
AnnaDaglis Mar 9, 2020
3e8f32c
TST: separate out pd.crosstab tests from test_pivot (#32536)
jbrockmendel Mar 9, 2020
ae79bb2
CLN: remove Categorical.put (#32554)
jbrockmendel Mar 9, 2020
76a1710
DOC: Add missing question mark icon (#32564)
stijnvanhoey Mar 10, 2020
3d591cb
DOC: add redirects from Rolling to rolling.Rolling (#31875)
rushabh-v Mar 10, 2020
c143f08
TST: Fix bare pytest raises in generic/test_frame.py (#32565)
andresmcneill Mar 10, 2020
dc4de58
TST: add test.indexes.common.Base.create_index and annotate .create_i…
topper-123 Mar 10, 2020
5000420
Fix warning in unit test (#32563)
roberthdevries Mar 10, 2020
00bb09d
CLN: remove unused in pd._testing (#32534)
jbrockmendel Mar 10, 2020
5b45f4b
TST: remove unused kwargs in assert_sp_array_equal (#32525)
jbrockmendel Mar 10, 2020
db9a50c
CLN: unused code in reshape.merge (#32509)
jbrockmendel Mar 10, 2020
113c255
CLN: remove unnecessary to_dense (#32533)
jbrockmendel Mar 10, 2020
37659d4
BUG: string methods with NA (#31684)
prakhar987 Mar 10, 2020
a77ad8b
ENH: `Styler.highlight_null` can accepts `subset` argument (#31350)
immaxchen Mar 10, 2020
79d3b08
DOC: cleanup 1.0.2 whatsnew (#32592)
TomAugspurger Mar 10, 2020
09a46a4
DOC: Add extended summary, update parameter types desc, update return…
sagungrp Mar 10, 2020
1951c8e
CLN: Avoid bare pytest.raises in computation/test_eval.py (#32507)
Vlek Mar 10, 2020
ff6c8a0
DOC: Fix EX01 in pandas.DataFrame.idxmax (#32551)
farhanreynaldo Mar 11, 2020
650cf74
Better error message for OOB result (#32499)
TomAugspurger Mar 11, 2020
a2acd1b
BUG: Fix bug, where BooleanDtype columns are converted to Int64 (#32490)
AnnaDaglis Mar 11, 2020
5fadbe4
Avoid bare pytest.raises in dtypes/cast/test_upcast.py (#32603)
Vlek Mar 11, 2020
8bc471a
BUG: Fix rolling functions with variable windows on decreasing index …
leftys Mar 11, 2020
f33120c
DOC: Fixed errors in pandas.DataFrame.asfreq PR07, RT02, RT03, SA04 (…
tolhassianipar Mar 11, 2020
d4815a5
CLN: use _values_for_argsort for join_non_unique, join_monotonic (#32…
jbrockmendel Mar 11, 2020
5ebbb56
CLN: avoid _internal_get_values in pandas._testing (#32570)
jbrockmendel Mar 11, 2020
8e74325
CLN: remove SingleBlockManager.get_values (#32522)
jbrockmendel Mar 11, 2020
b9762eb
REG: Restore read_csv function for some file-likes (#32577)
gfyoung Mar 11, 2020
9a31bdd
CLN: rename get_block_values, simplify (#32521)
jbrockmendel Mar 11, 2020
c910ec3
TST: stricter tests, avoid check_categorical=False, check_less_precis…
jbrockmendel Mar 11, 2020
8c38283
CLN: avoid values_from_object in Series (#32426)
jbrockmendel Mar 11, 2020
b8ee1e1
TYP: enforce annotation on SingleBlockManager.__init__ (#32421)
jbrockmendel Mar 11, 2020
03b1f19
CLN: remove unnecessary values_from_objects in groupby.ops (#32547)
jbrockmendel Mar 11, 2020
4b99525
CLN: values_from_object in computation.pytables (#32557)
jbrockmendel Mar 11, 2020
33f67d9
BUG: iloc.__setitem__ with duplicate columns (#32477)
jbrockmendel Mar 11, 2020
a0972f4
CLN: avoid values_from_object in Index.equals (#32505)
jbrockmendel Mar 11, 2020
4867415
REF: Remove BlockManager.rename_axis (#32349)
jbrockmendel Mar 11, 2020
2579484
CLN: simplify get_values usage in groupby (#32523)
jbrockmendel Mar 11, 2020
3984df1
CLN: avoid Block.get_values in io.sql (#32524)
jbrockmendel Mar 11, 2020
eac5cd1
TST: fixturize skipna in test_nanops (#32607)
jbrockmendel Mar 11, 2020
e8e02c0
PERF: copy cached attributes on index shallow_copy (#32568)
topper-123 Mar 11, 2020
362aef1
DOC: Fix link to monthly meeting calendar (#32602)
datapythonista Mar 11, 2020
817d57d
TYP: Add type hint for DataFrame.T and certain array types (#32532)
qwhelan Mar 11, 2020
7fa8ee7
CLN: Split and fixturized test_fillna in tests/base/test_ops.py (#32483)
SaturnFromTitan Mar 11, 2020
f4f1b69
CI: Update web and docs to OVH with the right structure (#32530)
datapythonista Mar 11, 2020
c1fd95b
DOC: fix formatting / links of API refs in 1.0.2 whatsnew (#32620)
jorisvandenbossche Mar 11, 2020
983fae6
BUG: non-iterable value in meta raise error in json_normalize (#31524)
charlesdong1991 Mar 11, 2020
8ac101d
TST: revert parts of #32571 (#32630)
jbrockmendel Mar 11, 2020
ecb5b57
Ensure valid Block mutation in SeriesBinGrouper. (#32561)
TomAugspurger Mar 11, 2020
a3642ec
TYP: Remove _ensure_type (#32633)
simonjayhawkins Mar 11, 2020
1f2385e
DOC: Reorganize Getting Started documentation pages (#32389)
mroeschke Mar 11, 2020
5e27d0a
Clarify pivot_table fill_value description (#32618)
taljaards Mar 11, 2020
1b76440
BUG: Add extra check for failing UTF-8 conversion (#32548)
roberthdevries Mar 12, 2020
9bc3ee0
REG: dt64 shift with integer fill_value (#32591)
jbrockmendel Mar 12, 2020
9e7cb7c
BUG: Fix DateFrameGroupBy.mean error for Int64 dtype (#32223)
dsaxton Mar 12, 2020
ef7e720
BUG: GroupBy aggregation of DataFrame with MultiIndex columns breaks …
MarcoGorelli Mar 12, 2020
c85f5f2
CLN: trim unnecessary checks (#32643)
jbrockmendel Mar 12, 2020
27ad779
TST: tighten check_categorical=False tests (#32636)
jbrockmendel Mar 12, 2020
fa48f5f
REF: implement _get_engine_target (#32611)
jbrockmendel Mar 12, 2020
da67e1e
CLN: avoid values_from_object in reshape.merge (#32537)
jbrockmendel Mar 12, 2020
7f6a22c
CLN: Suppres compile warnings of pandas/io/sas/sas.pyx (#32517)
ShaharNaveh Mar 12, 2020
bb4395e
ENH: Move corrwith from transformation to reduction kernels in groupb…
fujiaxiang Mar 12, 2020
f3859cb
DOC: Fix capitalization of the word pandas in the docs (#32439)
joybh98 Mar 12, 2020
940bbb5
TST/VIZ: add test for legend colors for DataFrame with duplicate colu…
gabrielvf1 Mar 12, 2020
ec77341
DOC: Remove absolute urls from the docs (#32539)
ArkadeepAdhikari Mar 12, 2020
9060d88
PERF: copy cached attributes on extension index shallow_copy (#32640)
topper-123 Mar 12, 2020
9c85af8
BUG: pd.ExcelFile closes stream on destruction (#32544)
roberthdevries Mar 12, 2020
4aba9ed
DOC: fix announce formtting (#32656)
TomAugspurger Mar 12, 2020
7147c38
DOC: Organize regressions (#32658)
TomAugspurger Mar 12, 2020
05925d2
CLN: removed unused import (#32518)
ShaharNaveh Mar 12, 2020
25e2f86
fix infer_freq raises section (#32642)
wholmgren Mar 12, 2020
059f9bf
CLN: Remove PY2 compat code (#32677)
ShaharNaveh Mar 13, 2020
2b37609
DOC: filter method example is more clear (#32690)
epizzigoni Mar 13, 2020
c5987d6
Fix wrong docstring in qcut (#32679)
masterpiga Mar 13, 2020
f676a21
REF: make DatetimeIndex._simple_new actually simple (#32282)
jbrockmendel Mar 14, 2020
8d654ca
CLN: remove unused int_block (#32695)
jbrockmendel Mar 14, 2020
2bc24d5
CLN: avoid _ndarray_values in reshape.merge (#32693)
jbrockmendel Mar 14, 2020
d8f60c3
REF: put all post-processing at end of DataFrame._reduce (#32671)
jbrockmendel Mar 14, 2020
ea9942b
CLN: remove unused kwargs from BlockManager.downcast (#32691)
jbrockmendel Mar 14, 2020
fa26bce
values->_values (#32662)
jbrockmendel Mar 14, 2020
6a3f030
ENH: implement EA.size (#32644)
jbrockmendel Mar 14, 2020
44b3855
CLN: remove Block.array_dtype, SingleBlockManager.array_dtype (#32612)
jbrockmendel Mar 14, 2020
3c16cea
REF: implement nanops.na_accum_func (#32597)
jbrockmendel Mar 14, 2020
011f411
ENH: IntegerArray.astype(dt64) (#32538)
jbrockmendel Mar 14, 2020
3b66021
TST: make tests stricter (#32527)
jbrockmendel Mar 14, 2020
f35bcac
TST: fix test creating invalid CategoricalBlock (#32519)
jbrockmendel Mar 14, 2020
5c7a901
PERF: Using Numpy C-API arange (#32681)
ShaharNaveh Mar 14, 2020
8111d64
PERF: MultiIndex._shallow_copy (#32669)
topper-123 Mar 14, 2020
029f707
Disallow lossy SparseArray conversion (#32501)
jbrockmendel Mar 14, 2020
98a6b3c
ENH: implement ExtensionIndex.insert (#32476)
jbrockmendel Mar 14, 2020
fd2e002
ENH: Categorical.fillna allow Categorical/ndarray (#32420)
jbrockmendel Mar 14, 2020
aa9a6dc
DOC: Fix EX01 in pandas.DataFrame.idxmin (#32697)
farhanreynaldo Mar 14, 2020
427af4d
CI: Update pipelines config to trigger on PRs (#32706)
datapythonista Mar 14, 2020
b32c4e8
skip 32 bit linux (#32708)
WillAyd Mar 14, 2020
d691633
CLN: Clean frame/test_constructors.py (#32610)
dsaxton Mar 14, 2020
ff7e2fa
CLN: Remove redundant index test from tests/base/test_ops.py (#32484)
SaturnFromTitan Mar 14, 2020
1a5b11d
BUG: Fix DataFrame.apply(..., raw=True) not calling with raw array (#…
kernc Mar 14, 2020
810a4e5
BUG: assignment to multiple columns when some column do not exist (#2…
howsiwei Mar 14, 2020
4603c63
BUG: retain tz in to_records (#32535)
jbrockmendel Mar 14, 2020
9e9785b
CLN: avoid Block.get_values where it is unnecessary (#32707)
jbrockmendel Mar 14, 2020
e734449
Deprecate Aliases as orient Argument in DataFrame.to_dict (#32516)
elmonsomiat Mar 14, 2020
0ed6d53
BUG: pivot_table losing tz (#32558)
jbrockmendel Mar 14, 2020
bab3b1f
REF: avoid runtime import of Index (#32710)
jbrockmendel Mar 15, 2020
e7e5b61
BUG: DatetimeArray._from_sequence accepting bool dtype (#32668)
jbrockmendel Mar 15, 2020
41322cf
Simplified get_blkno_indexers (#32645)
WillAyd Mar 15, 2020
7a24c35
DEPR: Categorical.to_dense (#32639)
jbrockmendel Mar 15, 2020
2e114ce
BUG: Fix file descriptor leak (#32598)
roberthdevries Mar 15, 2020
74c5306
TST: Add extra test for pandas.to_numeric() for issue #32394 (#32560)
roberthdevries Mar 15, 2020
74f6579
BUG: Don't multiply sets during construction (#32594)
dsaxton Mar 15, 2020
2b34275
CLN: Remove redundant tests for .duplicated and .drop_duplicates in t…
SaturnFromTitan Mar 15, 2020
6620dc6
ENH: Add support for dataclasses in the DataFrame constructor (#27999)
asosnovsky Mar 15, 2020
e5cd7b1
Switch to using is not None (#32721)
skasturi Mar 15, 2020
b012cf1
simplify json get_values (#32731)
jbrockmendel Mar 16, 2020
1881ac5
Small fixes (#32729)
dsaxton Mar 16, 2020
a47265b
using keep fixture in more places (#32726)
SaturnFromTitan Mar 16, 2020
beef620
CLN: Remove Ops Mixin from pandas/tests/base (#32725)
SaturnFromTitan Mar 16, 2020
148abba
REF: misplaced repr tests (#32736)
jbrockmendel Mar 16, 2020
95cd98b
BUG: Fix segfault in csv tokenizer (#32566)
roberthdevries Mar 16, 2020
2b958d4
CLN: remove values_from_object (#32715)
jbrockmendel Mar 16, 2020
055e337
merge NonConsolidateableMixin into ExtensionArray (#32714)
jbrockmendel Mar 16, 2020
b7c9c56
CLN: Prelims for stronger typing in Block methods (#32712)
jbrockmendel Mar 16, 2020
23abcd9
[BUG] add consistency to_numeric on empty list (#32512)
mikekutzma Mar 16, 2020
ad9db99
REF: misplaced tests (#32713)
jbrockmendel Mar 16, 2020
23f8763
Fix HDFStore leak in tests/io/pytables/test_store.py (#32722)
roberthdevries Mar 16, 2020
7aa3dd2
DOC: Add 1.0.3 whatsnew (#32746)
TomAugspurger Mar 16, 2020
5268dea
follow-up whatsnews (#32711)
jbrockmendel Mar 16, 2020
3f08bb9
TST: re-enable downstream geopandas test (#32752)
jorisvandenbossche Mar 16, 2020
5da500a
Fix typo (add missing comma in list) (#32743)
deepyaman Mar 16, 2020
7514192
DOC: Fix PR01, PR07 in Index.min and Index.max (#32718)
farhanreynaldo Mar 16, 2020
2b17609
FIX: series.fillna doesn't shallow copy if len(series) == 0 (#32733)
SaturnFromTitan Mar 16, 2020
a942264
DOC: Partial fix SA04 errors in docstrings #28792 (#32753)
dilex42 Mar 16, 2020
9cf631f
TST: reintroduce check_series_type in assert_series_equal (#32670)
martinfleis Mar 16, 2020
ad81de1
CLN: Some code cleanups in pandas/_libs/parsers.pyx (#32369)
ShaharNaveh Mar 16, 2020
9c7494a
BUG: parse_dates may have columns not in dataframe (#32320)
sathyz Mar 17, 2020
eb02a3b
DOC: Added docstring for Series.name and corrected docstring guide (#…
dan1261 Mar 17, 2020
871e3af
CLN: @doc - base.py & indexing.py (#31970)
HH-MWB Mar 17, 2020
5351732
BUG: resample.agg with read-only data (#32758)
jbrockmendel Mar 17, 2020
96d22d4
MultiIndex union/intersection with non-object other (#32646)
jbrockmendel Mar 17, 2020
5081748
BUG: DTI/TDI/PI get_indexer_non_unique with incompatible dtype (#32650)
jbrockmendel Mar 17, 2020
402c5cd
REF: avoid _internal_get_values in json (#32754)
jbrockmendel Mar 17, 2020
1193331
[BUG] Loosen random_state input restriction (#32510)
mikekutzma Mar 17, 2020
81149fb
CLN: Split pandas/tests/base/test_ops.py (#32744)
SaturnFromTitan Mar 17, 2020
be7bfe6
BUG: arithmetic with reindex pow (#32734)
jbrockmendel Mar 17, 2020
68f3efe
CLN: remove SingleBlockManager._values (#32716)
jbrockmendel Mar 17, 2020
b3a0fe4
DOC: 1.0.3 release date (#32783)
TomAugspurger Mar 17, 2020
05780a7
BUG: Respect check_dtype in assert_series_equal (#32757)
dsaxton Mar 17, 2020
138337b
CLN: remove unnecessary alias (#32786)
jbrockmendel Mar 17, 2020
5686313
copy license text from: tidyverse/haven (#32756)
jamin-aws-ospo Mar 18, 2020
3df837a
BLD: Suppressing warnings when compiling pandas/_libs/writers (#32795)
ShaharNaveh Mar 18, 2020
19624de
Avoid bare pytest.raises in dtypes/test_dtypes.py (#32672)
Vlek Mar 18, 2020
095998c
PERF: Using Numpy C-API when calling `np.arange` (#32804)
ShaharNaveh Mar 18, 2020
e72e2dd
TYP: annotate to_numpy (#32809)
jbrockmendel Mar 18, 2020
9f494da
fstring format added in pandas//tests/io/test_common.py:144: (#32813)
mglasder Mar 18, 2020
f47516d
BUG: Series.__getitem__ with downstream scalars (#32684)
jbrockmendel Mar 19, 2020
e743ed7
CLN: Using clearer imports (#32459)
ShaharNaveh Mar 19, 2020
91512a8
REF: Implement core._algos (#32767)
jbrockmendel Mar 19, 2020
cfbd7f6
CLN: Consolidate numba facilities (#32770)
mroeschke Mar 19, 2020
4661928
CLN: remove _ndarray_values (#32768)
jbrockmendel Mar 19, 2020
e77f09c
BLD: Suppressing errors while compling pandas/_libs/groupby (#32794)
ShaharNaveh Mar 19, 2020
c4aa1a2
TYP: PandasObject._cache (#32775)
topper-123 Mar 19, 2020
80078ac
Implement C Level Timedelta ISO Function; fix JSON usage (#30903)
WillAyd Mar 19, 2020
dec5211
BUG: read_csv: fix wrong exception on permissions issue (#32737)
roberthdevries Mar 19, 2020
f6099bf
Fixturize JSON tests (#31191)
WillAyd Mar 19, 2020
34f3360
PERF: fix SparseArray._simple_new object initialization (#32821)
jorisvandenbossche Mar 19, 2020
2247cbe
Avoid bare pytest.raises in indexes/categorical/test_indexing.py (#32…
Vlek Mar 19, 2020
5df0fc9
See also (#32820)
farhanreynaldo Mar 19, 2020
dbd7a5d
TYP: annotate (#32730)
jbrockmendel Mar 19, 2020
85e9e31
TST: Parametrize in pandas/tests/internals/test_internals.py (#32687)
ShaharNaveh Mar 19, 2020
5b751ec
TYP: update setup.cfg (#32829)
simonjayhawkins Mar 19, 2020
7763390
CLN: Update docstring decorator from Appender to doc (#32828)
raisadz Mar 19, 2020
5b18d3c
BUG: Fix segfault on dir of a DataFrame with a unicode surrogate char…
roberthdevries Mar 19, 2020
dbd24ad
PERF: skip non-consolidatable blocks when checking consolidation (#32…
jorisvandenbossche Mar 19, 2020
bb27407
CLN: remove DatetimeLikeArray._add_delta (#32799)
jbrockmendel Mar 19, 2020
aee8e11
Error on C Warnings (#32163)
WillAyd Mar 19, 2020
673b1f8
CLN: simplify MultiIndex._shallow_copy (#32772)
topper-123 Mar 19, 2020
bfa29f1
DOC: use new pydata-sphinx-theme name (#32840)
jorisvandenbossche Mar 19, 2020
e31354f
DOC: FutureWarning in Sphinx build when calling read_parquet (#32833)
ShaharNaveh Mar 20, 2020
d308712
TST: Define sections in pandas/conftest.py (#32789)
SaturnFromTitan Mar 20, 2020
6812842
TST: bare pytest raises (#32817)
quangngd Mar 20, 2020
1924fc4
Update 03_subset_data.rst (#32868)
rogererens Mar 20, 2020
5515f8d
STY: Correct whitespace placement (#32830)
ShaharNaveh Mar 20, 2020
3b406a3
PERF: allow to skip validation/sanitization in DataFrame._from_arrays…
jorisvandenbossche Mar 20, 2020
4f9bc8a
BUG: is_scalar_indexer (#32850)
jbrockmendel Mar 20, 2020
e8c3405
CLN: Replace Appender by doc in to_excel (#32787)
smartvinnetou Mar 20, 2020
f76763f
DOC: Remove latest whatsnew from header (#32870)
TomAugspurger Mar 20, 2020
139228b
TST: Avoid bare pytest.raises in multiple files (#32816)
Vlek Mar 21, 2020
3681157
TST: organize tests in test_timeseries (#32889)
jbrockmendel Mar 21, 2020
5c901de
fix bare pytest raises in indexes/datetimes (#32884)
quangngd Mar 21, 2020
2784006
PERF/REF: MultiIndex.copy (#32883)
topper-123 Mar 21, 2020
c3d7d25
TST: misplaced Series.get test (#32876)
jbrockmendel Mar 21, 2020
6236c98
REF: misplaced Timedelta tests (#32871)
jbrockmendel Mar 21, 2020
87cf295
TST: add test for non UTC datetime split #14042 (#32866)
JDkuba Mar 21, 2020
00ae98d
PERF: faster placement creating extension blocks from arrays (#32856)
jorisvandenbossche Mar 21, 2020
fc6ada5
CLN: unnecessary ABCClasses (#32891)
jbrockmendel Mar 21, 2020
2209d64
CLN: pandas/_libs/tslibs/nattype.pyx (#32888)
ShaharNaveh Mar 21, 2020
33f45bc
CLN: avoid .setitem in tests (#32852)
jbrockmendel Mar 21, 2020
1b49f69
REF: pass align_keys to apply (#32846)
jbrockmendel Mar 21, 2020
d427335
BUG: ExtensionBlock.set not setting values inplace (#32831)
jbrockmendel Mar 21, 2020
f0fc6dd
CLN: .value -> ._values outside of core/ (#32781)
jbrockmendel Mar 21, 2020
447a595
CLN: Split up Boolean array tests (#32780)
dsaxton Mar 21, 2020
4195bfb
CLN: Fix common spelling mistakes (#32895)
SaturnFromTitan Mar 21, 2020
73cf1b4
TST: Replace tm.all_index_generator with indices fixture (#32886)
SaturnFromTitan Mar 22, 2020
d5a07a1
REF: implement _with_freq, use _from_sequence less (#32849)
jbrockmendel Mar 22, 2020
8b4491f
ERR: Raise on invalid na_action in Series.map (#32790)
dsaxton Mar 22, 2020
75e9598
CLN: remove align kwarg from Block.where, Block.putmask (#32791)
jbrockmendel Mar 22, 2020
7f0936c
TST: Avoid bare pytest.raises in test_series.py (#32879)
Vlek Mar 22, 2020
1c8617c
CLN: Period tests (#32875)
jbrockmendel Mar 22, 2020
4c05c07
TST: test that the .copy method on indexes copy the cache (#32898)
topper-123 Mar 22, 2020
fddaa99
REF: simplify should_extension_dispatch, remove dispatch_to_extension…
jbrockmendel Mar 22, 2020
7609df1
BUG: Fix read_csv IndexError crash for c engine with header=None and …
roberthdevries Mar 22, 2020
6db151a
REF: collect to_xarray tests (#32877)
jbrockmendel Mar 22, 2020
d6de714
PERF: optimize DataFrame.sparse.from_spmatrix performance (#32825)
rth Mar 22, 2020
8f90046
ERR: Better error message for missing columns in aggregate (#32836)
JDTruj2018 Mar 22, 2020
60269d9
TYP: annotate Block/BlockManager putmask (#32769)
jbrockmendel Mar 22, 2020
418b26a
CLN: Avoiding casting (#32897)
ShaharNaveh Mar 22, 2020
44de8dc
ENH: Added index to testing assert message when series values differ …
amilbourne Mar 22, 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
  •  
  •  
  •  
70 changes: 17 additions & 53 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,68 +125,32 @@ jobs:
- name: Check ipython directive errors
run: "! grep -B1 \"^<<<-------------------------------------------------------------------------$\" sphinx.log"

- name: Merge website and docs
run: |
mkdir -p pandas_web/docs
cp -r web/build/* pandas_web/
cp -r doc/build/html/* pandas_web/docs/
if: github.event_name == 'push'

- name: Install Rclone
run: sudo apt install rclone -y
if: github.event_name == 'push'

- name: Set up Rclone
run: |
RCLONE_CONFIG_PATH=$HOME/.config/rclone/rclone.conf
mkdir -p `dirname $RCLONE_CONFIG_PATH`
echo "[ovh_cloud_pandas_web]" > $RCLONE_CONFIG_PATH
echo "type = swift" >> $RCLONE_CONFIG_PATH
echo "env_auth = false" >> $RCLONE_CONFIG_PATH
echo "auth_version = 3" >> $RCLONE_CONFIG_PATH
echo "auth = https://auth.cloud.ovh.net/v3/" >> $RCLONE_CONFIG_PATH
echo "endpoint_type = public" >> $RCLONE_CONFIG_PATH
echo "tenant_domain = default" >> $RCLONE_CONFIG_PATH
echo "tenant = 2977553886518025" >> $RCLONE_CONFIG_PATH
echo "domain = default" >> $RCLONE_CONFIG_PATH
echo "user = w4KGs3pmDxpd" >> $RCLONE_CONFIG_PATH
echo "key = ${{ secrets.ovh_object_store_key }}" >> $RCLONE_CONFIG_PATH
echo "region = BHS" >> $RCLONE_CONFIG_PATH
CONF=$HOME/.config/rclone/rclone.conf
mkdir -p `dirname $CONF`
echo "[ovh_host]" > $CONF
echo "type = swift" >> $CONF
echo "env_auth = false" >> $CONF
echo "auth_version = 3" >> $CONF
echo "auth = https://auth.cloud.ovh.net/v3/" >> $CONF
echo "endpoint_type = public" >> $CONF
echo "tenant_domain = default" >> $CONF
echo "tenant = 2977553886518025" >> $CONF
echo "domain = default" >> $CONF
echo "user = w4KGs3pmDxpd" >> $CONF
echo "key = ${{ secrets.ovh_object_store_key }}" >> $CONF
echo "region = BHS" >> $CONF
if: github.event_name == 'push'

- name: Sync web with OVH
run: rclone sync pandas_web ovh_cloud_pandas_web:dev
if: github.event_name == 'push'

- name: Create git repo to upload the built docs to GitHub pages
run: |
cd pandas_web
git init
touch .nojekyll
echo "dev.pandas.io" > CNAME
printf "User-agent: *\nDisallow: /" > robots.txt
git add --all .
git config user.email "[email protected]"
git config user.name "pandas-bot"
git commit -m "pandas web and documentation in master"
run: rclone sync --exclude pandas-docs/** web/build ovh_host:prod
if: github.event_name == 'push'

# For this task to work, next steps are required:
# 1. Generate a pair of private/public keys (i.e. `ssh-keygen -t rsa -b 4096 -C "[email protected]"`)
# 2. Go to https://github.com/pandas-dev/pandas/settings/secrets
# 3. Click on "Add a new secret"
# 4. Name: "github_pagas_ssh_key", Value: <Content of the private ssh key>
# 5. The public key needs to be upladed to https://github.com/pandas-dev/pandas-dev.github.io/settings/keys
- name: Install GitHub pages ssh deployment key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.github_pages_ssh_key }}
known_hosts: 'github.com,192.30.252.128 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ=='
if: github.event_name == 'push'

- name: Publish web and docs to GitHub pages
run: |
cd pandas_web
git remote add origin [email protected]:pandas-dev/pandas-dev.github.io.git
git push -f origin master || true
- name: Sync dev docs with OVH
run: rclone sync doc/build/html ovh_host:prod/pandas-docs/dev
if: github.event_name == 'push'
23 changes: 21 additions & 2 deletions LICENSES/HAVEN_LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
YEAR: 2013-2016
COPYRIGHT HOLDER: Hadley Wickham; RStudio; and Evan Miller
# MIT License

Copyright (c) 2019 Hadley Wickham; RStudio; and Evan Miller

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
30 changes: 30 additions & 0 deletions asv_bench/benchmarks/arithmetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,36 @@ def time_frame_op_with_scalar(self, dtype, scalar, op):
op(self.df, scalar)


class MixedFrameWithSeriesAxis0:
params = [
[
"eq",
"ne",
"lt",
"le",
"ge",
"gt",
"add",
"sub",
"div",
"floordiv",
"mul",
"pow",
]
]
param_names = ["opname"]

def setup(self, opname):
arr = np.arange(10 ** 6).reshape(100, -1)
df = DataFrame(arr)
df["C"] = 1.0
self.df = df
self.ser = df[0]

def time_frame_op_with_series_axis0(self, opname):
getattr(self.df, opname)(self.ser, axis=0)


class Ops:

params = [[True, False], ["default", 1]]
Expand Down
45 changes: 45 additions & 0 deletions asv_bench/benchmarks/frame_ctor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import numpy as np

import pandas as pd
from pandas import DataFrame, MultiIndex, Series, Timestamp, date_range

from .pandas_vb_common import tm
Expand Down Expand Up @@ -118,4 +119,48 @@ def time_frame_from_range(self):
self.df = DataFrame(self.data)


class FromArrays:

goal_time = 0.2

def setup(self):
N_rows = 1000
N_cols = 1000
self.float_arrays = [np.random.randn(N_rows) for _ in range(N_cols)]
self.sparse_arrays = [
pd.arrays.SparseArray(np.random.randint(0, 2, N_rows), dtype="float64")
for _ in range(N_cols)
]
self.int_arrays = [
pd.array(np.random.randint(1000, size=N_rows), dtype="Int64")
for _ in range(N_cols)
]
self.index = pd.Index(range(N_rows))
self.columns = pd.Index(range(N_cols))

def time_frame_from_arrays_float(self):
self.df = DataFrame._from_arrays(
self.float_arrays,
index=self.index,
columns=self.columns,
verify_integrity=False,
)

def time_frame_from_arrays_int(self):
self.df = DataFrame._from_arrays(
self.int_arrays,
index=self.index,
columns=self.columns,
verify_integrity=False,
)

def time_frame_from_arrays_sparse(self):
self.df = DataFrame._from_arrays(
self.sparse_arrays,
index=self.index,
columns=self.columns,
verify_integrity=False,
)


from .pandas_vb_common import setup # noqa: F401 isort:skip
8 changes: 4 additions & 4 deletions asv_bench/benchmarks/rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Methods:
["int", "float"],
["median", "mean", "max", "min", "std", "count", "skew", "kurt", "sum"],
)
param_names = ["contructor", "window", "dtype", "method"]
param_names = ["constructor", "window", "dtype", "method"]

def setup(self, constructor, window, dtype, method):
N = 10 ** 5
Expand Down Expand Up @@ -72,7 +72,7 @@ class ExpandingMethods:
["int", "float"],
["median", "mean", "max", "min", "std", "count", "skew", "kurt", "sum"],
)
param_names = ["contructor", "window", "dtype", "method"]
param_names = ["constructor", "window", "dtype", "method"]

def setup(self, constructor, dtype, method):
N = 10 ** 5
Expand All @@ -86,7 +86,7 @@ def time_expanding(self, constructor, dtype, method):
class EWMMethods:

params = (["DataFrame", "Series"], [10, 1000], ["int", "float"], ["mean", "std"])
param_names = ["contructor", "window", "dtype", "method"]
param_names = ["constructor", "window", "dtype", "method"]

def setup(self, constructor, window, dtype, method):
N = 10 ** 5
Expand All @@ -104,7 +104,7 @@ class VariableWindowMethods(Methods):
["int", "float"],
["median", "mean", "max", "min", "std", "count", "skew", "kurt", "sum"],
)
param_names = ["contructor", "window", "dtype", "method"]
param_names = ["constructor", "window", "dtype", "method"]

def setup(self, constructor, window, dtype, method):
N = 10 ** 5
Expand Down
1 change: 0 additions & 1 deletion asv_bench/benchmarks/sparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def time_sparse_array(self, dense_proportion, fill_value, dtype):
class SparseDataFrameConstructor:
def setup(self):
N = 1000
self.arr = np.arange(N)
self.sparse = scipy.sparse.rand(N, N, 0.005)

def time_from_scipy(self):
Expand Down
6 changes: 6 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Adapted from https://github.com/numba/numba/blob/master/azure-pipelines.yml
trigger:
- master

pr:
- master

jobs:
# Mac and Linux use the same template
- template: ci/azure/posix.yml
Expand Down
12 changes: 6 additions & 6 deletions ci/azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
ENV_FILE: ci/deps/azure-36-locale_slow.yaml
CONDA_PY: "36"
PATTERN: "slow"
# pandas does not use the language (zh_CN), but should support diferent encodings (utf8)
# pandas does not use the language (zh_CN), but should support different encodings (utf8)
# we should test with encodings different than utf8, but doesn't seem like Ubuntu supports any
LANG: "zh_CN.utf8"
LC_ALL: "zh_CN.utf8"
Expand All @@ -38,11 +38,11 @@ jobs:
LC_ALL: "it_IT.utf8"
EXTRA_APT: "language-pack-it xsel"

py36_32bit:
ENV_FILE: ci/deps/azure-36-32bit.yaml
CONDA_PY: "36"
PATTERN: "not slow and not network and not clipboard"
BITS32: "yes"
#py36_32bit:
# ENV_FILE: ci/deps/azure-36-32bit.yaml
# CONDA_PY: "36"
# PATTERN: "not slow and not network and not clipboard"
# BITS32: "yes"

py37_locale:
ENV_FILE: ci/deps/azure-37-locale.yaml
Expand Down
20 changes: 15 additions & 5 deletions ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,6 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then
-k"-nonzero -reindex -searchsorted -to_dict"
RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Doctests generic.py' ; echo $MSG
pytest -q --doctest-modules pandas/core/generic.py \
-k"-_set_axis_name -_xs -describe -groupby -interpolate -pct_change -pipe -reindex -reindex_axis -to_json -transpose -values -xs -to_clipboard"
RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Doctests groupby.py' ; echo $MSG
pytest -q --doctest-modules pandas/core/groupby/groupby.py -k"-cumcount -describe -pipe"
RET=$(($RET + $?)) ; echo $MSG "DONE"
Expand Down Expand Up @@ -311,6 +306,17 @@ if [[ -z "$CHECK" || "$CHECK" == "doctests" ]]; then
pytest -q --doctest-modules pandas/core/arrays/boolean.py
RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Doctests base.py' ; echo $MSG
pytest -q --doctest-modules pandas/core/base.py
RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Doctests construction.py' ; echo $MSG
pytest -q --doctest-modules pandas/core/construction.py
RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Doctests generic.py' ; echo $MSG
pytest -q --doctest-modules pandas/core/generic.py
RET=$(($RET + $?)) ; echo $MSG "DONE"
fi

### DOCSTRINGS ###
Expand All @@ -320,6 +326,10 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
$BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=GL03,GL04,GL05,GL06,GL07,GL09,GL10,SS04,SS05,PR03,PR04,PR05,PR10,EX04,RT01,RT04,RT05,SA02,SA03,SA05
RET=$(($RET + $?)) ; echo $MSG "DONE"

MSG='Validate correct capitalization among titles in documentation' ; echo $MSG
$BASE_DIR/scripts/validate_rst_title_capitalization.py $BASE_DIR/doc/source/development/contributing.rst
RET=$(($RET + $?)) ; echo $MSG "DONE"

fi

### DEPENDENCIES ###
Expand Down
26 changes: 22 additions & 4 deletions doc/redirects.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ release,whatsnew/index

# getting started
install,getting_started/install
10min,getting_started/10min
basics,getting_started/basics
comparison_with_r,getting_started/comparison/comparison_with_r
comparison_with_sql,getting_started/comparison/comparison_with_sql
comparison_with_sas,getting_started/comparison/comparison_with_sas
comparison_with_stata,getting_started/comparison/comparison_with_stata
dsintro,getting_started/dsintro
overview,getting_started/overview
tutorials,getting_started/tutorials

Expand All @@ -38,6 +35,9 @@ text,user_guide/text
timedeltas,user_guide/timedeltas
timeseries,user_guide/timeseries
visualization,user_guide/visualization
10min,user_guide/10min
basics,user_guide/basics
dsintro,user_guide/dsintro

# development
contributing,development/contributing
Expand All @@ -49,7 +49,25 @@ internals,development/internals
# api moved function
reference/api/pandas.io.json.json_normalize,pandas.json_normalize

# api rename
# rename due to refactors
reference/api/pandas.core.window.Rolling,pandas.core.window.rolling.Rolling
reference/api/pandas.core.window.Rolling.aggregate,pandas.core.window.rolling.Rolling.aggregate
reference/api/pandas.core.window.Rolling.apply,pandas.core.window.rolling.Rolling.apply
reference/api/pandas.core.window.Rolling.corr,pandas.core.window.rolling.Rolling.corr
reference/api/pandas.core.window.Rolling.count,pandas.core.window.rolling.Rolling.count
reference/api/pandas.core.window.Rolling.cov,pandas.core.window.rolling.Rolling.cov
reference/api/pandas.core.window.Rolling.kurt,pandas.core.window.rolling.Rolling.kurt
reference/api/pandas.core.window.Rolling.max,pandas.core.window.rolling.Rolling.max
reference/api/pandas.core.window.Rolling.mean,pandas.core.window.rolling.Rolling.mean
reference/api/pandas.core.window.Rolling.median,pandas.core.window.rolling.Rolling.median
reference/api/pandas.core.window.Rolling.min,pandas.core.window.rolling.Rolling.min
reference/api/pandas.core.window.Rolling.quantile,pandas.core.window.rolling.Rolling.quantile
reference/api/pandas.core.window.Rolling.skew,pandas.core.window.rolling.Rolling.skew
reference/api/pandas.core.window.Rolling.std,pandas.core.window.rolling.Rolling.std
reference/api/pandas.core.window.Rolling.sum,pandas.core.window.rolling.Rolling.sum
reference/api/pandas.core.window.Rolling.var,pandas.core.window.rolling.Rolling.var

# api url change (generated -> reference/api rename)
api,reference/index
generated/pandas.api.extensions.ExtensionArray.argsort,../reference/api/pandas.api.extensions.ExtensionArray.argsort
generated/pandas.api.extensions.ExtensionArray.astype,../reference/api/pandas.api.extensions.ExtensionArray.astype
Expand Down
Loading