Skip to content

Update fork #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 3,170 commits into from
Mar 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3170 commits
Select commit Hold shift + click to select a range
739f550
REF: tighter types in maybe_infer_to_datetimelike (#40086)
jbrockmendel Feb 26, 2021
f066cda
REF: avoid object-dtype casting in Block.replace (#40082)
jbrockmendel Feb 26, 2021
56c9346
re-apply benchmark fix (#39994)
simonjayhawkins Feb 26, 2021
01c4c51
TST: Fix pandas.io.stata imports in test_stata.py (#40094)
AA-Turner Feb 26, 2021
bfd8922
REF: tighten types in maybe_downcast_numeric, maybe_downcast_to_dtype…
jbrockmendel Feb 27, 2021
ffa6e20
CI: typo fixup for ResourceWarning (#40088)
jbrockmendel Feb 27, 2021
9bdeee6
TYP: incorrect annotations in internals.construction (#40061)
jbrockmendel Feb 27, 2021
4193b0e
REF: Remove series_apply (#40108)
rhshadrach Feb 27, 2021
11afc76
ENH: Add I/O support of XML with pandas.read_xml and DataFrame.to_xml…
ParfaitG Feb 27, 2021
47c6d16
REG: DataFrame/Series.transform with list and non-list dict values (#…
rhshadrach Feb 27, 2021
4060498
REF: remove sanitize_index (#40089)
jbrockmendel Feb 27, 2021
0b671be
REF: unify casting logic in Categorical.__init__ (#40097)
jbrockmendel Feb 27, 2021
b33389f
REF: don't call libalgos.groupsort_indexer directly for simple argsor…
simonjayhawkins Feb 27, 2021
48d1112
BLD: updated mypy version to 0.812 (#40107)
Muktan Feb 27, 2021
a11dc79
CLN: remove never-hit branch from maybe_infer_to_datetimelike (#40109)
jbrockmendel Feb 27, 2021
6fcc188
API: dont-special-case datetimelike in setting new column (#40084)
jbrockmendel Feb 27, 2021
cff293b
REF/BUG: cast back to datetimelike in pad/backfill (#40052)
jbrockmendel Feb 27, 2021
c3eca7e
[ArrayManager] Remaining GroupBy tests (fix count, pass on libreducti…
jorisvandenbossche Feb 27, 2021
e5e1fba
[ArrayManager] Remove apply_with_block usage for diff() (#40079)
jorisvandenbossche Feb 27, 2021
bff366a
REF/BUG: ensure we get DTA/TDA/PA back from Index._intersection (#40064)
jbrockmendel Feb 27, 2021
ccf9519
BUG: Sampling over selected groupbys does not reflect the selection (…
wjsi Feb 27, 2021
3bfbb54
BENCH: skip slowest tzlocal asvs (#39995)
jbrockmendel Feb 27, 2021
0f9adcd
BUG: Series([Timestamp, int], dtype=m8ns) dropping nanoseconds (#40100)
jbrockmendel Feb 27, 2021
31f68a0
BUG: format multiple CSS selectors correctly (#39942)
attack68 Feb 27, 2021
879cd22
CI: skip array-manager test (#40118)
jbrockmendel Feb 28, 2021
4c5e6fa
ENH: Implement unary operators for FloatingArray class (#39916)
zitorelova Feb 28, 2021
f4b67b5
STYLE: Inconsistent namespace - reshape (#39992) (#40058)
alexprincel Feb 28, 2021
15b99d8
TST: share value_counts tests (#40132)
jbrockmendel Mar 1, 2021
78ce1b4
TST: collect tests by method, split large tests (#40133)
jbrockmendel Mar 1, 2021
01770d1
[ArrayManager] TST: resample tests (#40085)
jorisvandenbossche Mar 1, 2021
36fa44c
to_offset was not using the compiled regex (#40138)
Mulugruntz Mar 1, 2021
497553d
CLN: remove conda recipe (#40128)
fangchenli Mar 1, 2021
8f87907
BENCH: collect low-dependency asvs (#39917)
jbrockmendel Mar 1, 2021
6c69a84
Ensure more const typing (#40119)
mroeschke Mar 1, 2021
ec6abbf
update pre-commit-config (#40125)
MarcoGorelli Mar 1, 2021
4503dac
REF: re-use objects_to_datetime64ns in maybe_infer_to_datetimelike (#…
jbrockmendel Mar 1, 2021
95a86a9
PERF: DTA/TDA _simple_new disallow i8 values (#40116)
jbrockmendel Mar 1, 2021
80b3e8d
REF: share recarray constructor code (#40129)
jbrockmendel Mar 1, 2021
cbbaf20
TYP: to_arrays, BUG: from_records empty dtypes (#40121)
jbrockmendel Mar 1, 2021
9da3ca2
enable branch coverage (#40142)
MarcoGorelli Mar 1, 2021
bc0bcae
PERF: extract_array -> _values (#40150)
jbrockmendel Mar 1, 2021
e06ad0a
REF: use lower-level casting func instead of to_timedelta (#40155)
jbrockmendel Mar 1, 2021
711fa92
DOC: 1.2.3 release date (#40137)
simonjayhawkins Mar 2, 2021
fb47a3d
STYLE: incondintent namaspace(series) (#40159)
na2shell Mar 2, 2021
ac83ba0
STYLE: Inconsistent namespace - dtypes (pandas-dev#39992) (#40161)
parkerashlan Mar 2, 2021
7c59101
DOC: Start v1.2.4 release notes (#40170)
simonjayhawkins Mar 2, 2021
7be41ca
ENH: Arrow backed string array - implement factorize() method without…
simonjayhawkins Mar 2, 2021
7648a8d
REF: remove internal Block usage from FrameColumnApply (#40166)
jorisvandenbossche Mar 2, 2021
db495eb
REF: move Block.astype implementation to dtypes/cast.py (#40141)
jorisvandenbossche Mar 2, 2021
9ee5c1b
Use tempfile for creating a file in home directory for a IO test (#40…
chrispe Mar 2, 2021
b835ca2
REF: simplify to_datetime, annotations (#40156)
jbrockmendel Mar 2, 2021
4f18821
[ArrayManager] Ensure to store datetimelike data as DatetimeArray/Tim…
jorisvandenbossche Mar 2, 2021
13a97c2
BUG: df.loc setitem-with-expansion with duplicate index (#40096)
jbrockmendel Mar 2, 2021
9fdb8f6
PERF: don't sort data twice in groupby apply when not using libreduct…
jorisvandenbossche Mar 2, 2021
dd2e721
Deprecate DataFrame indexer for iloc setitem and getitem (#39022)
phofl Mar 2, 2021
179b3e6
BUG: DataFrame(frozenset) should raise (#40163)
jbrockmendel Mar 2, 2021
a13a95f
REF: move mixed-int handling from maybe_cast_to_datetime (#40187)
jbrockmendel Mar 3, 2021
c5d0d13
CLN/TST: normalize test_frame_apply (#40113)
rhshadrach Mar 3, 2021
2aa1ab4
TST/REF: Consolidate tests in apply.test_invalid_arg (#40092)
rhshadrach Mar 3, 2021
f9248f0
BUG: Add decl when xml_declaration=True and pretty_print=False for et…
ParfaitG Mar 3, 2021
1abbbcf
CI: xfail npdev test_groupby_apply_identity (#40188)
jbrockmendel Mar 3, 2021
6945116
[ArrayManager] DataFrame constructors (#39991)
jorisvandenbossche Mar 3, 2021
38b5e4a
PERF: cache _get_cython_function in groupby ops (#40178)
jorisvandenbossche Mar 3, 2021
b50a2e2
PERF: avoid zeros_like in groupby.pyx (#40194)
jorisvandenbossche Mar 3, 2021
579b75a
BUG: EWM.__getitem__ raised error with times (#40164)
mroeschke Mar 3, 2021
c500987
REF: split out to_datetime_with_unit, _to_datetime_with_format (#40185)
jbrockmendel Mar 3, 2021
100dd37
REF: move dtype-validation out of maybe_cast_to_datetime (#40190)
jbrockmendel Mar 3, 2021
8c1a507
REF: re-use sequence_to_datetimes in try_datetime (#40191)
jbrockmendel Mar 3, 2021
440a7de
TYP: internals.construction (#40154)
jbrockmendel Mar 3, 2021
169aa99
REF: get reshape kludge out of dtypes.cast (#40203)
jbrockmendel Mar 4, 2021
794ced5
DOC: Add Notes and Examples back to GroupBy.apply docs template (#40207)
TheNeuralBit Mar 4, 2021
cf306c2
Docs: Update read_hdf's acceptable path types (#40206)
mobiusklein Mar 4, 2021
9eaf63f
BUG: Index.union() inconsistent with non-unique Indexes (#36299)
phofl Mar 4, 2021
e742820
CI: remove xfail in grouopby #40144 (#40212)
fangchenli Mar 4, 2021
73fbcc9
Fix styling (#40221)
thomasyu888 Mar 4, 2021
fda70c0
STYLE: Inconsistent namespace - resample #39992 (#40220)
thomasyu888 Mar 4, 2021
8b03404
TST: remove some no longer necessary ArrayManager skips for groupby (…
jorisvandenbossche Mar 4, 2021
74a6898
STYLE: Inconsistent namespace - scalar #39992 (#40218)
thomasyu888 Mar 4, 2021
ad2ff04
TST/CLN: Move raising apply tests to test_invalid_arg (#40213)
rhshadrach Mar 4, 2021
fad96e1
TST: use env variable instead of pytest option for testing ArrayManag…
jorisvandenbossche Mar 4, 2021
dc98b4c
STYLE: Inconsistent namespace - api (#39992) (#40223)
01-vyom Mar 4, 2021
81114eb
REF: remove block access in groupby libreduction Series(Bin)Grouper (…
jorisvandenbossche Mar 4, 2021
5d4cf66
CLN: Refactor tests and delete duplicates (#40181)
phofl Mar 4, 2021
45c8090
STYLE: Inconsistent namespace - arithmetic (#39992) (#40224)
01-vyom Mar 4, 2021
527c789
API/BUG: always try to operate inplace when setting with loc/iloc[foo…
jbrockmendel Mar 5, 2021
c7d3e9b
PERF: json_normalize, for basic use case (#40035)
smpurkis Mar 5, 2021
5b8952d
CLN: Minor cleanup of caching (#40225)
topper-123 Mar 5, 2021
5dcaf49
BUG: Incomplete Styler copy methods fix (#39708) (#39975)
rlukevie Mar 5, 2021
529adea
[ArrayManager] Add SingleArrayManager to back a Series (#40152)
jorisvandenbossche Mar 5, 2021
782dc18
REGR: reduction operations failing if `min_count` is larger (#40143)
simonjayhawkins Mar 5, 2021
539b813
Make Index.all compatible with numpy.all (#40180)
pauldmccarthy Mar 5, 2021
fd0bd91
REF: tighten signature on maybe_convert_platform (#40209)
jbrockmendel Mar 5, 2021
7f2fc6a
ENH: ArrayManager.convert without block fallback (#40196)
jorisvandenbossche Mar 5, 2021
c5695c8
[ArrayManager] TST: get tests running for /tests/frame (#39700)
jorisvandenbossche Mar 5, 2021
6409754
DOC: Fix Examples section for some window methods (#40208)
mroeschke Mar 5, 2021
ec56dd2
PERF: optimize algos.take for repeated calls (#39692)
jorisvandenbossche Mar 5, 2021
af0a60e
ENH: ArrayManager.quantile (#40189)
jbrockmendel Mar 5, 2021
ee50197
[ArrayManager] TST: activate a bunch of (passing) tests (#40217)
jorisvandenbossche Mar 5, 2021
bf270f6
PERF: avoid validating indices repeatedly in ArrayManager.reindex_ind…
jorisvandenbossche Mar 5, 2021
0cae716
BENCH: add DataFrame.reindex(columns=..) benchmark that selects exist…
jorisvandenbossche Mar 5, 2021
14c8892
DEPR: Partial failure in Series.transform and DataFrame.transform. (#…
rhshadrach Mar 5, 2021
04a0b86
[ArrayManager] Fix window operations with axis=1 (#40251)
jorisvandenbossche Mar 5, 2021
6423561
API: pseudo-public internals API for downstream libraries (#40182)
jbrockmendel Mar 5, 2021
940926f
DEPS: skip html tests if html5lib is not installed #40198 (#40233)
fangchenli Mar 5, 2021
29bbd6a
CLN: Remove to_xml from format.py to run directly in frame.py (#40240)
ParfaitG Mar 5, 2021
6c0f952
PERF: non-cython groupby.apply (#40236)
jbrockmendel Mar 5, 2021
bff0afd
REF: move logic of 'block manager axis' into the BlockManager (#40075)
jorisvandenbossche Mar 5, 2021
d17476d
PERF/CLN: restrict _isna_ndarraylike to actual ndarray/EA (#40254)
jorisvandenbossche Mar 5, 2021
3888a3f
PERF: avoid object conversion in fillna(method=pad|backfill) for mask…
simonjayhawkins Mar 5, 2021
85dd837
PERF: specialized 1D take version (#40246)
jorisvandenbossche Mar 5, 2021
2a6fff3
ENH: consistent `Styler.highlight_X` arg signature with `props` (#40…
attack68 Mar 5, 2021
154026c
DEPR: `Styler.set_na_rep` and `.set_precision` in favour of `.format(…
attack68 Mar 5, 2021
2e7e3e2
PERF: BlockPlacement construction (#40227)
jbrockmendel Mar 6, 2021
4ef033f
CI: numpy-dev PerformanceWarning (#40264)
simonjayhawkins Mar 6, 2021
22f8ee8
TYP: remove ignore from makeCustomIndex (#40270)
simonjayhawkins Mar 6, 2021
68dc4c2
STYLE: Inconsistent namespace - plotting (#40276)
AnglinaBhambra Mar 6, 2021
9208a35
reorder pre-commit-config and normalize id names (#40277)
mgmanzella Mar 6, 2021
97b832b
DOC: GH39672 Pandas dataframe pct_change function arguments (#40266)
ianozsvald Mar 6, 2021
9d0517a
TYP: add mypy messages as comments to ignores (#40268)
simonjayhawkins Mar 6, 2021
70c91a2
STYLE: Inconsistent namespace - tools (pandas-dev#39992) (#40283)
deepang17 Mar 7, 2021
4810d74
Remove pd_array from tests (#40267)
Mar 7, 2021
3675737
STYLE: Pandas codespell fix for documentation (#40280)
01-vyom Mar 7, 2021
5ef4159
Move cpplint check to pre-commit (#40278)
klssmith Mar 7, 2021
6913e8d
CLN: Window code (#40292)
mroeschke Mar 8, 2021
6e8f00c
DOC: fix grammar issues and incorrect link in "Getting Started" guide…
rlukevie Mar 8, 2021
d910a44
DOC: Clarify DataFrame.combine_first and Series.combine_first (#40279)
HeidiNeuhaeuser Mar 8, 2021
a681b47
[ArrayManager] Fix DataFrame.from_records with emtpy size (#40301)
jorisvandenbossche Mar 8, 2021
28a839b
API: remove `.set_tooltips_class` incorpate to `.set_tooltips` (#40284)
attack68 Mar 8, 2021
a476825
CI: avoid port-already-in-use errors (#40282)
jbrockmendel Mar 8, 2021
8e0b744
REF: Block.putmask dont use split_and_operate (#40281)
jbrockmendel Mar 8, 2021
1c38dfa
TYP: remove ignores for "Cannot assign to a method" (#40265)
simonjayhawkins Mar 8, 2021
c2e4a5d
TYP: remove ignore from PandasObject.__sizeof__ (#40271)
simonjayhawkins Mar 8, 2021
cb88d47
TYP: remove ignore from MPLPlot._plot (#40272)
simonjayhawkins Mar 8, 2021
8c62fbb
CLN: Remove _axis from apply (#40261)
rhshadrach Mar 8, 2021
ee2b8b5
ENH: Implement rounding for floating dtype array #38844 (#39751)
benoit9126 Mar 8, 2021
67fffaf
PERF: declare contiguity in libgroubpy (#40295)
jbrockmendel Mar 8, 2021
d763afa
GH39992 update inconsistent namespace usage for reductions (#40310)
sionedbaker Mar 8, 2021
c29facc
TYP: hashing (#39949)
jbrockmendel Mar 8, 2021
602ab16
ENH: NDArrayBackedExtensionArray.fillna(method) with 2d (#40294)
jbrockmendel Mar 9, 2021
ce082fb
ERR: Raise NotImplimentedError for EWMA with times and adjust=False (…
mroeschke Mar 9, 2021
921477e
ENH: allow start=range_object in RangeIndex constructor (#40241)
jbrockmendel Mar 9, 2021
3570151
REF/TYP: indexes (#40330)
jbrockmendel Mar 9, 2021
27e0330
ENH: 'encoding_errors' argument for read_csv/json (#39777)
twoertwein Mar 9, 2021
00e684f
BUG: Fix sort_values for empty by argument (#40324)
dsaxton Mar 9, 2021
2d0dbf3
REF: de-duplicate Block.__init__ (#38134)
jbrockmendel Mar 9, 2021
f290b65
REF: prelims for 2D DTA/TDA (#40331)
jbrockmendel Mar 9, 2021
93c52e4
BUG: read_excel skips single-column empty rows (#40214)
ahawryluk Mar 9, 2021
bfefa19
DOC: fixup formula for exponentially weighted mean with input vector …
mschmookler Mar 10, 2021
9903a54
STYLE: Extending codespell to pandas/tests Part 2 (#40332)
01-vyom Mar 10, 2021
12a8544
[ArrayManager] TST: enable arrays tests (#40347)
jorisvandenbossche Mar 10, 2021
0e6a3b8
TYP fixup overloads for reset_index (#40200)
MarcoGorelli Mar 10, 2021
75ad9bc
PERF: Categorical._from_backing_data (#40339)
jbrockmendel Mar 10, 2021
0e1a6c1
CLN: BlockManager.get_slice require only slice arg (#40262)
jbrockmendel Mar 10, 2021
c17b84a
CLN: remove unused c_encoding (#40342)
twoertwein Mar 10, 2021
7b5957f
BUG: Set dtypes of new columns when stacking (#36991) (#40127)
maroth96 Mar 10, 2021
3140ef1
BUG: fix regression in Styler.export/use (#40334)
attack68 Mar 10, 2021
ac3e3f7
CI: unpin numpy for CI / Checks github action (#36092)
simonjayhawkins Mar 10, 2021
1f5e358
PERF: do ndim validation before Block.__init__ (#40337)
jbrockmendel Mar 10, 2021
d7c8ae7
Fix formatting in extractall example outputs (#40354)
TheNeuralBit Mar 11, 2021
6a9cc5c
REF: share code ArrayManager/BlockManager (#40338)
jbrockmendel Mar 11, 2021
c10dd1a
BUG: Post-merge fixup, raise on dimension-expanding (#40365)
jbrockmendel Mar 11, 2021
3cf05ed
STYLE: Extending codespell to pandas/tests (#40320)
01-vyom Mar 11, 2021
024a838
CI: mypy fixup (#40370)
simonjayhawkins Mar 11, 2021
bf31347
STYLE: Resolved Inconsistent namespace (#40286)
deepang17 Mar 11, 2021
082d437
STYLE: Extending codespell to pandas/tests/ part3 38802 (#40372)
01-vyom Mar 11, 2021
aac91f1
Docs - Grammar fix #40377 (#40381)
Mayurji Mar 11, 2021
63bfdf5
TYP: Window code (#40293)
mroeschke Mar 12, 2021
65abf6b
TYP: change ArrayLike/AnyArrayLike alias to Union (#40379)
simonjayhawkins Mar 12, 2021
d008640
INT: Use Index._getitem_slice in ArrayManager (#40369)
jorisvandenbossche Mar 12, 2021
bed5ae2
CI/TYP: Window typing followup (#40392)
mroeschke Mar 12, 2021
0a2a200
Add examples to documentation for DataFrame.swaplevel (#40269)
thordisstella Mar 12, 2021
9612aec
[ArrayManager] TST: enable IO tests (#40298)
jorisvandenbossche Mar 12, 2021
2b2e9b6
PERF: avoid double-verify of take indices (#40391)
jbrockmendel Mar 12, 2021
c331ba8
[ArrayManager] TST: run (+fix/skip) pandas/tests/frame/indexing tests…
jorisvandenbossche Mar 12, 2021
2b74a91
[ArrayManager] TST: run (+fix/skip) pandas/tests/series/indexing test…
jorisvandenbossche Mar 12, 2021
0efd4a1
DOC: remove pin for pydata-sphinx-theme + update for latest release (…
jorisvandenbossche Mar 12, 2021
8f11655
DOC: Backticks missing in pandas.DataFrame.query (#40400)
sstiijn Mar 12, 2021
7d742e3
CLN: unreachable code in algos.diff (#40406)
simonjayhawkins Mar 12, 2021
4007513
TYP: fix ignores (#40389)
jbrockmendel Mar 12, 2021
548f44f
TYP: fix ignores (#40412)
jbrockmendel Mar 13, 2021
0203f8d
TYP: Arraylike alias change follow up (#40398)
simonjayhawkins Mar 13, 2021
454194e
DOC: Fix window pairwise function other not taking ndarray (#40410)
mroeschke Mar 13, 2021
1cc40fa
TYP: fix type-ignores in core (#40423)
jbrockmendel Mar 14, 2021
015c0c0
TYP: use overload to refine return type of set_axis (#40197)
MarcoGorelli Mar 14, 2021
cd07813
CI: flaky zip test (#40417)
jbrockmendel Mar 14, 2021
e708b40
REF/PERF: do maybe_coerce_values before Block.__init__ (#40385)
jbrockmendel Mar 14, 2021
2d83015
BUG: Do not attempt to cache unhashable values in to_datetime (#39756…
maroth96 Mar 14, 2021
6cb661c
DOC: Include code styling GH40375 (#40419)
sstiijn Mar 14, 2021
ed529a1
BUG: Index constructor silently ignoring dtype (#40411)
jbrockmendel Mar 14, 2021
cd5f15d
PERF: make Styler default formatter arguments statics instead of repe…
attack68 Mar 14, 2021
b92526b
CLN: Don't modify state in FrameApply.agg (#40428)
rhshadrach Mar 14, 2021
c52bf0a
REF: share Categorical.fillna with NDArrayBackedExtensionArray (#40383)
jbrockmendel Mar 15, 2021
79d7159
CLN: reorganise/group variables for readability (#40368)
attack68 Mar 15, 2021
7839305
DEPR: DataFrame(MaskedRecords) (#40363)
jbrockmendel Mar 15, 2021
d5fc3ac
CLN/TST: Parametrize/deduplicate test_invalid_arg (#40426)
rhshadrach Mar 15, 2021
1ced878
PERF: further improve take (reindex/unstack) for ArrayManager (#40300)
jorisvandenbossche Mar 15, 2021
60e9189
sort_index not sorting when multi-index made by different categorical…
ftrihardjo Mar 15, 2021
9cc9053
BUG: IntervalArray.insert cast on failure (#40359)
jbrockmendel Mar 15, 2021
348d43f
CLN: remove unused file opening and mmap code from parsers.pyx (#40431)
twoertwein Mar 15, 2021
ccf634e
DOC: Minor formatting in user_guide/window (#40438)
mroeschke Mar 15, 2021
2d51ebb
⬆️ UPGRADE: Autoupdate pre-commit config (#40439)
github-actions[bot] Mar 15, 2021
b8a71f3
TYP: fix type ignores (#40434)
jbrockmendel Mar 15, 2021
8a8df02
BUG: fix convert_dtypes to handle empty df (#40402)
owenlamont Mar 15, 2021
154096f
PERF: get_dummies create array of 0/1s with appropriate layout for in…
jorisvandenbossche Mar 15, 2021
f111175
PERF: reduce overhead in groupby _cython_operation (#40317)
jorisvandenbossche Mar 15, 2021
9c31717
TYP: pandas/core/frame.py (#38416)
arw2019 Mar 15, 2021
7af47c9
DEPS: sync fastparquet version (#40424)
fangchenli Mar 15, 2021
b172a60
[ArrayManager] TST: enable apply tests (#40345)
jorisvandenbossche Mar 16, 2021
940695b
TYP: stubs for tslibs (#40433)
jbrockmendel Mar 16, 2021
ae12817
CLN: docstrings, annotations, raising corner cases (#40409)
jbrockmendel Mar 16, 2021
edbc6ea
CLN: remove unreached boolean-mask case from _preprocess_slice_or_ind…
jbrockmendel Mar 16, 2021
cb31e5a
REF: consistent arguments for create_block_manager_from_blocks (#40403)
jbrockmendel Mar 16, 2021
5dc5b1a
[ArrayManager] Add Series._as_manager (consolidate with DataFrame) (#…
jorisvandenbossche Mar 16, 2021
dc548fd
CI: fix failing script/tests (#40457)
jbrockmendel Mar 16, 2021
b8b3fbf
BUG: constructing DTA/TDA from xarray/dask/pandasarray (#40210)
jbrockmendel Mar 16, 2021
203f901
PERF: repeated slicing along index in groupby (#40353)
jbrockmendel Mar 16, 2021
fefd999
REF/API: DataFrame.__setitem__ never operate in-place (#39510)
jbrockmendel Mar 16, 2021
126bb92
REF: simplify operating-columnwise dispatch (#40256)
jbrockmendel Mar 16, 2021
8349b02
PERF/REF: require BlockPlacement in Block.__init__ (#40361)
jbrockmendel Mar 16, 2021
d83d715
pre-commit fixups (#40468)
jbrockmendel Mar 16, 2021
bbab54a
compat: sqlalchemy deprecations (#40471)
jbrockmendel Mar 16, 2021
c13027c
TST: csv parser segfaulting on malformed input. (#40458)
ahawryluk Mar 16, 2021
d2acc1e
TYP: Add typing for remaining IO XML methods with conditional for lxm…
ParfaitG Mar 16, 2021
cb130fd
CLN: _maybe_upcast_for_op doesn't need to check timedelta ndarray (#4…
jorisvandenbossche Mar 17, 2021
9664284
TYP: fix ignores (#40452)
jbrockmendel Mar 17, 2021
3a9c94b
TYP: stubs for reshape, ops, ops_dispatch, hashing (#40455)
jbrockmendel Mar 17, 2021
b4c554f
TYP: stronger typing in libindex (#40465)
jbrockmendel Mar 17, 2021
8945a42
[ArrayManager] TST: run (+fix/skip) pandas/tests/indexing tests (#40325)
jorisvandenbossche Mar 17, 2021
0ff5b40
CI run coverage on multiple builds (#40394)
MarcoGorelli Mar 17, 2021
8588651
REF/PERF: move np.errstate out of core array_ops up to higher level (…
jorisvandenbossche Mar 17, 2021
7e0f5ca
DEPR: **kwargs in ExcelWriter (#40430)
rhshadrach Mar 17, 2021
88fb114
[ArrayManager] TST: Enable extension tests (#40348)
jorisvandenbossche Mar 18, 2021
d867f16
TYP: tslib.pyi (#40473)
jbrockmendel Mar 18, 2021
00a6224
[ArrayManager] TST: enable remaining top-level tests (#40494)
jorisvandenbossche Mar 18, 2021
2b9ad6f
CI: run database tests only #39550 (#39666)
fangchenli Mar 19, 2021
69a4d60
no no-string-hints (#40516)
MarcoGorelli Mar 19, 2021
bbe34fc
REF: share to_native_types with ArrayManager (#40490)
jbrockmendel Mar 19, 2021
bfe734f
PERF: optimize is_numeric_v_string_like (#40501)
jorisvandenbossche Mar 19, 2021
b524462
CLN/PERF: remove catching of numpy deprecation warning in comparison_…
jorisvandenbossche Mar 19, 2021
b519386
TYP: get_reverse_indexer, get_group_index_sorter (#40476)
jbrockmendel Mar 20, 2021
7e71c3b
CLN: factorize returns ndarray[intp], not int64 (#40474)
jbrockmendel Mar 20, 2021
bd8c79f
PERF: increase the minimum number of elements to use numexpr for ops …
jorisvandenbossche Mar 20, 2021
3e6bc0c
[ArrayManager] TST: run all tests with separate not slow / slow build…
jorisvandenbossche Mar 20, 2021
fd9354a
DOC: Styler docs - split PR from #39720 (#40493)
attack68 Mar 20, 2021
e7f9a54
CLN: sqlalchemy deprecation, annotations, share shape properties (#40…
jbrockmendel Mar 20, 2021
d0ec737
Clean up docs warnings: (#40523)
jsignell Mar 20, 2021
64e87b3
BUG: better exception on invalid slicing on CategoricalIndex (#40364)
jbrockmendel Mar 20, 2021
38640d1
CLN: intp_t instead of int64_t for indexers in libs funcs (#40475)
jbrockmendel Mar 20, 2021
09e2036
DEPR: CategoricalBlock; combine Block.replace methods (#40527)
jbrockmendel Mar 20, 2021
9c4c821
Revert "PERF: increase the minimum number of elements to use numexpr …
jbrockmendel Mar 20, 2021
File filter

Filter by extension

Filter by extension


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

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

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation_improvement.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ labels: "Docs, Needs Triage"

#### Location of the documentation

[this should provide the location of the documentation, e.g. "pandas.read_csv" or the URL of the documentation, e.g. "https://dev.pandas.io/docs/reference/api/pandas.read_csv.html"]
[this should provide the location of the documentation, e.g. "pandas.read_csv" or the URL of the documentation, e.g. "https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html"]

**Note**: You can check the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/).

Expand Down
3 changes: 1 addition & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
17 changes: 17 additions & 0 deletions .github/actions/build_pandas/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build pandas
description: Rebuilds the C extensions and installs pandas
runs:
using: composite
steps:

- name: Environment Detail
run: |
conda info
conda list
shell: bash -l {0}

- name: Build Pandas
run: |
python setup.py build_ext -j 2
python -m pip install -e . --no-build-isolation --no-use-pep517
shell: bash -l {0}
12 changes: 12 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Set up pandas
description: Runs all the setup steps required to have a built pandas ready to use
runs:
using: composite
steps:
- name: Setting conda path
run: echo "${HOME}/miniconda3/bin" >> $GITHUB_PATH
shell: bash -l {0}

- name: Setup environment and build pandas
run: ci/setup_env.sh
shell: bash -l {0}
33 changes: 33 additions & 0 deletions .github/workflows/autoupdate-pre-commit-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "Update pre-commit config"

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

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

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

env:
ENV_FILE: environment.yml
PANDAS_CI: 1

jobs:
checks:
name: Checks
runs-on: ubuntu-latest
steps:

- name: Setting conda path
run: echo "::add-path::${HOME}/miniconda3/bin"
defaults:
run:
shell: bash -l {0}

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

- name: Looking for unwanted patterns
run: ci/code_checks.sh patterns
if: always()

- name: Setup environment and build pandas
run: ci/setup_env.sh
if: always()
- name: Cache conda
uses: actions/cache@v2
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}

- name: Linting
run: |
source activate pandas-dev
ci/code_checks.sh lint
if: always()
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pandas-dev
channel-priority: strict
environment-file: ${{ env.ENV_FILE }}
use-only-tar-bz2: true

- name: Dependencies consistency
run: |
source activate pandas-dev
ci/code_checks.sh dependencies
- name: Build Pandas
uses: ./.github/actions/build_pandas

- name: Linting
run: ci/code_checks.sh lint
if: always()

- name: Checks on imported code
run: |
source activate pandas-dev
ci/code_checks.sh code
run: ci/code_checks.sh code
if: always()

- name: Running doctests
run: |
source activate pandas-dev
ci/code_checks.sh doctests
run: ci/code_checks.sh doctests
if: always()

- name: Docstring validation
run: |
source activate pandas-dev
ci/code_checks.sh docstrings
run: ci/code_checks.sh docstrings
if: always()

- name: Typing validation
run: |
source activate pandas-dev
ci/code_checks.sh typing
run: ci/code_checks.sh typing
if: always()

- name: Testing docstring validation script
run: |
source activate pandas-dev
pytest --capture=no --strict scripts
run: pytest --capture=no --strict-markers scripts
if: always()

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

Expand All @@ -101,20 +93,16 @@ jobs:
runs-on: ubuntu-latest
steps:

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

- name: Checkout
uses: actions/checkout@v1

- name: Setup environment and build pandas
run: ci/setup_env.sh
- name: Set up pandas
uses: ./.github/actions/setup

- name: Build website
run: |
source activate pandas-dev
python web/pandas_web.py web/pandas --target-path=web/build

- name: Build documentation
run: |
source activate pandas-dev
Expand All @@ -123,7 +111,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 All @@ -140,3 +128,38 @@ jobs:
- name: Upload dev docs
run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/dev
if: github.event_name == 'push'

- name: Move docs into site directory
run: mv doc/build/html web/build/docs
- name: Save website as an artifact
uses: actions/upload-artifact@v2
with:
name: website
path: web/build
retention-days: 14

data_manager:
name: Test experimental data manager
runs-on: ubuntu-latest
strategy:
matrix:
pattern: ["not slow and not network and not clipboard", "slow"]
steps:

- name: Checkout
uses: actions/checkout@v1

- name: Set up pandas
uses: ./.github/actions/setup

- name: Run tests
env:
PANDAS_DATA_MANAGER: array
PATTERN: ${{ matrix.pattern }}
PYTEST_WORKERS: "auto"
run: |
source activate pandas-dev
ci/run_tests.sh

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

on:
issue_comment:
types:
- created
- edited

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