Skip to content

updates pandas #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,619 commits into from
Sep 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3619 commits
Select commit Hold shift + click to select a range
6af6d51
REF/CLN: maybe_downcast_to_dtype (#27714)
jbrockmendel Aug 4, 2019
2263982
BUG: partial string indexing with scalar (#27712)
TomAugspurger Aug 4, 2019
4056ded
BUG: Avoid try/except in blocks, fix setitem bug in datetimelike EA (…
jbrockmendel Aug 4, 2019
d44fb07
BUG: Concatenation warning still appears with sort=False (#27702)
Aug 4, 2019
d330416
BUG: Fix NaT +/- DTA/TDA (#27740)
jbrockmendel Aug 4, 2019
9c37226
CLN: rename reduce-->do_reduce (#27706)
jbrockmendel Aug 5, 2019
ce357d9
CLN: Move base.StringMixin to computations.common (#27746)
topper-123 Aug 5, 2019
9fe8a0f
REF: combine dispatch_to_index_op into dispatch_to_extension_op (#27747)
jbrockmendel Aug 5, 2019
9b1c005
BUG: fix+test DTA/TDA/PA add/sub Index (#27726)
jbrockmendel Aug 5, 2019
4c76505
REF: define concat classmethods in the appropriate places (#27727)
jbrockmendel Aug 5, 2019
b9a9b9f
TST: troubleshoot inconsistent xfails (#27715)
jbrockmendel Aug 5, 2019
f6ade9b
CLN: remove _try_coerce_result altogether (#27683)
jbrockmendel Aug 5, 2019
7d8eeff
BUG: fix replace_list (#27720)
jbrockmendel Aug 5, 2019
97509e9
Slightly rephrase SPSS doc (#27754)
cbrnr Aug 5, 2019
b3c2453
DOC: update compiling instructions and link. (#27717)
Aug 5, 2019
0e7ed3d
missed from #27720 (#27759)
jbrockmendel Aug 5, 2019
f9f95c0
ENH: Validation to only allow positive integers for options (#27382)
Adam-Klaum Aug 5, 2019
2f775b0
REF: separate out invalid ops (#27735)
jbrockmendel Aug 5, 2019
ac69333
CLN: collected cleanups from other branches (#27723)
jbrockmendel Aug 5, 2019
61819ab
BUG: fix to_datetime(dti, utc=True) (#27733)
jbrockmendel Aug 5, 2019
f669f94
BUG: Fix windowing over read-only arrays (#27767)
kernc Aug 6, 2019
341043d
CLN/REF: Remove _try_cast_result, _try_coerce_and_cast_result (#27764)
jbrockmendel Aug 6, 2019
640d9e1
BUG: pd.crosstab not working when margin and normalize are set togeth…
charlesdong1991 Aug 6, 2019
54e5803
DOC: Validate docstring directives (#27630)
albertvillanova Aug 6, 2019
a45760f
DEPR: Removed the previously deprecated ExtensionArray._formatting_va…
simonjayhawkins Aug 7, 2019
820e09e
CI: Fix setting PATH in azure pipelines (#27787)
bhavaniravi Aug 7, 2019
6cde0b3
DEPR: Remove previously deprecated IntervalIndex.from_intervals (#27793)
jschendel Aug 7, 2019
38d2372
BUG: fix construction of NonConsolidatableBlock with inconsistent ndi…
jorisvandenbossche Aug 7, 2019
9724ace
[BLD] Add script that fails build if git tags do not exist (#27770)
qwhelan Aug 7, 2019
3bf35c6
REF: pandas/core/window.py into multiple files (#27736)
mroeschke Aug 7, 2019
3bdac3e
TST: Add tests for groupby categorical values with axis=1 (#27788)
charlesdong1991 Aug 7, 2019
3581073
CLN: remove nested error handling (#27792)
jbrockmendel Aug 7, 2019
c0ff67a
BUG: Add mapping for pyqt for successful package installation (#27645)
charlesdong1991 Aug 7, 2019
3ae18d5
CI: remove pytest pins (#27809)
TomAugspurger Aug 8, 2019
fae84ec
DOC: add print statement in to_latex example (#27798)
sameshl Aug 8, 2019
c729b73
REF: separate method-pinning functions (#27811)
jbrockmendel Aug 8, 2019
f00905e
REF: Simplify _comp_method_SERIES (#27803)
jbrockmendel Aug 8, 2019
d320ef7
CLN: Assorted Cleanups (#27791)
jbrockmendel Aug 8, 2019
78c6843
DOC: Add expanded index descriptors for specifying for RangeIndex-as-…
wesm Aug 8, 2019
8b6942f
PERF: break reference cycle in Index._engine (#27607)
crepererum Aug 8, 2019
d7dcdf3
COMPAT: restore shape for 'invalid' Index with nd array (#27818)
jorisvandenbossche Aug 9, 2019
0227e69
EA: implement+test EA.view (#27633)
jbrockmendel Aug 9, 2019
62429ae
Update sample() documentation (#27833)
lizsaret Aug 9, 2019
67de633
Add example for Series.str.slice() (#27832)
Aug 9, 2019
7bfa9b8
Add security policy (#27822)
TomAugspurger Aug 9, 2019
be6c369
Add tidelift sponsor to FUNDING (#27823)
TomAugspurger Aug 9, 2019
e26fa2b
CI: pytest, xdist versions (#27845)
TomAugspurger Aug 12, 2019
2ebab98
CI: Pin Python to 3.7.3 (#27868)
TomAugspurger Aug 12, 2019
9fd432b
BUG: Fix groupby quantile segfault (#27826)
TomAugspurger Aug 12, 2019
2b6c977
op--> opname (#27849)
jbrockmendel Aug 12, 2019
01f90c1
CLN: short-circuit case in Block.replace (#27768)
jbrockmendel Aug 12, 2019
6afa2ad
BUG: Allow plotting boolean values (#27665)
charlesdong1991 Aug 12, 2019
35821a5
Avoid calling S3File.s3 (#27777)
CJStadler Aug 12, 2019
aef0804
BUG: add back check for MultiIndex case and take_split_path (#27855)
jorisvandenbossche Aug 13, 2019
794be8c
Added missing space to error description (#27866)
jimmycallin Aug 13, 2019
666928b
DOC: Updated Series.items 'See also' section for clarity (#27888)
Aug 13, 2019
2349783
DOC: clarify see also for DataFrame.iterrows() (#27893)
Ankit-Dhankhar Aug 13, 2019
f872bcd
DOC: Add append example in to_excel documentation (#27852)
sameshl Aug 13, 2019
6572497
DOC: Standardize use of "Iterate" and "Iterator" (#27871)
sameshl Aug 13, 2019
3e4b196
REF: Make CategoricalIndex comparison defer to Categorical comparison…
jbrockmendel Aug 13, 2019
d187d90
skip test if running non-installed (#27810)
jbrockmendel Aug 13, 2019
6a927b0
CLN: match standardized dispatch logic (#27830)
jbrockmendel Aug 13, 2019
eddeee5
requested edit to comparison method (#27873)
jbrockmendel Aug 13, 2019
69b25ee
CLN: use invalid_comparison for incorrect case in Index comparison (#…
jbrockmendel Aug 13, 2019
e47362a
CLN: Index.__new__ (#27883)
jbrockmendel Aug 13, 2019
de53f6e
remove unnecessary validate_for_numeric_binop (#27886)
jbrockmendel Aug 13, 2019
d32d464
CLN: remove unnecessary dtype checks (#27889)
jbrockmendel Aug 13, 2019
b623a9d
BUG: boxplot does not work when data has datetime column (#27846)
charlesdong1991 Aug 13, 2019
80a7a45
DOC: Add CoC to the README (#27851)
sparalic Aug 13, 2019
5de4e55
BUG: fix Sparse reduction (#27890)
jbrockmendel Aug 13, 2019
584b154
DOC:Use of "Yields" for documentation of DataFrame.iteritems() (#27876)
sameshl Aug 14, 2019
11b28ea
Revert 37 pins (#27907)
TomAugspurger Aug 14, 2019
fae56d0
PERF: Break reference cycle for all Index types (#27840)
topper-123 Aug 14, 2019
46ff5ee
CLN: remove never-True checks (#27908)
jbrockmendel Aug 14, 2019
5c81d8a
REF: implement should_extension_dispatch (#27815)
jbrockmendel Aug 14, 2019
603dbdc
CLN: remove unnecessary validate_for_numeric_unary (#27891)
jbrockmendel Aug 14, 2019
6813d77
DOC: Fix section reference placement in whatsnew (#27919)
jschendel Aug 14, 2019
a656d24
TST: parametrize arithmetic tests (#27847)
jbrockmendel Aug 15, 2019
c1f7b39
BUG: fix+test op(NaT, ndarray), also simplify (#27807)
jbrockmendel Aug 15, 2019
48dd753
CLN: remove _maybe_update_attributes (#27896)
jbrockmendel Aug 15, 2019
9d7a282
CLN: simplify comparison method, docstring cleanups (#27923)
jbrockmendel Aug 15, 2019
a818281
TST: Raise ValueError and suggestion to use header=None if header=-1 …
MarcoGorelli Aug 15, 2019
ca5198a
BUG: Ensure that fill_na in Categorical only replaces null values (#2…
MarcoGorelli Aug 16, 2019
0e24468
DOC: Fix typos in HDFStore docs (#27940)
adamjstewart Aug 16, 2019
5d3b492
VIS: Fix DataFrame.plot() produces incorrect legend markers (#27808)
charlesdong1991 Aug 16, 2019
7a0bcc3
BUG: Merge with readonly arrays (#27946)
TomAugspurger Aug 16, 2019
e66ad6c
cleanups, remove StringMixin (#27939)
jbrockmendel Aug 16, 2019
d03beab
implement array_ops (#27936)
jbrockmendel Aug 16, 2019
802f670
TST: Asserts all types are caterogical in function fillna with correc…
LiuSeeker Aug 16, 2019
f4b4ec2
DOC/CLN: docstring cleanups (#27942)
jbrockmendel Aug 16, 2019
9f93d57
TST: xfail on 37, win (#27956)
TomAugspurger Aug 16, 2019
5b0a2a6
DOC: remove savefig references from the docs v0.7.3 (#27990)
bhavaniravi Aug 18, 2019
35c44ce
DOC: Updated table with read_fwf() (#27920)
isantolin Aug 19, 2019
ba94f9b
BUG: lzma is a required part of python, make it optional (#27882)
guilherme-salome Aug 19, 2019
6e0ab71
BUG: Help python csv engine read binary buffers (#27925)
fiendish Aug 19, 2019
489d1ff
CLN: missing boilerplate in Sparse op (#27910)
jbrockmendel Aug 19, 2019
fb62fcf
BUG: _can_use_numexpr fails when passed large Series (#27773)
ccharlesgb Aug 19, 2019
a4b0132
TST: fix flaky xfail (#28016)
jbrockmendel Aug 19, 2019
325dd68
Fix regression in .ix fallback with IntervalIndex (#27926)
jorisvandenbossche Aug 19, 2019
be08902
BUG: TimedeltaArray - Index result.name (#27962)
jbrockmendel Aug 19, 2019
9a244b5
REF: use should_extension_dispatch for comparison method (#27912)
jbrockmendel Aug 19, 2019
9f71625
CLN: Remove incorrect check, comment, rename (#27922)
jbrockmendel Aug 20, 2019
0a7bb2a
BUG: fix to_timestamp out_of_bounds (#27916)
jbrockmendel Aug 20, 2019
e118b1d
BUG: added a check for if obj is instance of type in _isna-new (#27664)
joy-rosie Aug 20, 2019
69c58da
PLT: plot('line') or plot('area') produces wrong xlim in xaxis in 0.2…
charlesdong1991 Aug 20, 2019
e55b698
BUG: Correctly reinstate Matplotlib converters (#27481)
dstansby Aug 20, 2019
62ab439
BUG: rfloordiv with fill_value, closes#27464 (#28024)
jbrockmendel Aug 20, 2019
8110b47
DOC: Corrected file description in read_fwf() (#28009)
isantolin Aug 20, 2019
d2031d7
Fix GroupBy nth Handling with Observed=False (#26419)
WillAyd Aug 20, 2019
ec3d786
DataFrame html repr: also follow min_rows setting (#27991)
jorisvandenbossche Aug 20, 2019
b7aacb1
DOC: Add punctuation to IntervalArray docstrings (#28043)
sparalic Aug 21, 2019
a429aaf
DOC: Change document code prun in a row (#28029)
EunSeop Aug 21, 2019
e4c4b78
CI: Add pip dependence explicitly (#28008)
makbigc Aug 21, 2019
32b4710
BUG: Correct the previous bug fixing on xlim for plotting (#28059)
charlesdong1991 Aug 21, 2019
8b3246f
CI: Set SHA for codecov upload (#28067)
TomAugspurger Aug 21, 2019
cf6b09d
CI: disable codecov (#28065)
jbrockmendel Aug 21, 2019
7f6ba6b
DOC: Update whatsnew (#28073)
TomAugspurger Aug 21, 2019
becb774
TST: non-strict xfail for period test (#28072)
TomAugspurger Aug 21, 2019
bdcab11
BUG: iter with readonly values, closes #28055 (#28074)
jbrockmendel Aug 21, 2019
8f6118c
BUG: Fixed groupby quantile for listlike q (#27827)
TomAugspurger Aug 22, 2019
a76df79
Preserve index when setting new column on empty dataframe. (#26471)
sumanau7 Aug 22, 2019
b1c871c
BUG: Series.rename raises error on values accepted by Series construc…
lgmsantos Aug 22, 2019
def01cf
BUG: timedelta merge asof with tolerance (#27650)
ianzur Aug 22, 2019
888d1fa
DOC: update GroupBy.head()/tail() documentation (#27844)
mtrbean Aug 23, 2019
d5ba4c1
DOC: Remove alias for numpy.random.randn from the docs (#28082)
WuraolaOyewusi Aug 23, 2019
c7ceff9
DOC: Fix docstrings lack of punctuation (#28031)
martinagvilas Aug 23, 2019
9dc4d71
DOC: Start 0.25.2 (#28111)
TomAugspurger Aug 23, 2019
347ad85
TST: fix compression tests when run without virtualenv/condaenv (#28051)
jbrockmendel Aug 23, 2019
e2483c0
TYPING: more type hints for io.formats.printing (#27765)
simonjayhawkins Aug 23, 2019
d75ee70
Remove Encoding of values in char** For Labels (#27618)
WillAyd Aug 23, 2019
5c0da7d
DOC: Fix GL01 and GL02 errors in the docstrings (#27988)
steveayers124 Aug 24, 2019
518d8ae
Change trys to checks (#28121)
jbrockmendel Aug 25, 2019
2165a6a
Remove outdated docstring that no longer applies (#28137)
bmoscon Aug 25, 2019
09ab18f
TYPING: _pytest.mark.structures.MarkDecorator -> Callable (#28134)
simonjayhawkins Aug 25, 2019
97f9bbf
Contributing Guide for Type Hints (#27050)
WillAyd Aug 25, 2019
5d9fd7e
DOC: Fixes to docstrings formatting (#28096)
realjohnward Aug 25, 2019
2c9c422
DOC: Fix RangeIndex and other docstrings for missing period in summar…
bhuvanakundumani Aug 26, 2019
ea60c19
DOC: Added periods to end of docstrings in explode function (#27973)
jalbritt Aug 26, 2019
765eb8d
COMPAT: 3.8 compat for tests and DataFrame.query (#28101)
TomAugspurger Aug 26, 2019
cebc343
TYPING: --check-untyped-defs for Index.__new__ (#28141)
simonjayhawkins Aug 26, 2019
0d0daa8
ENH: Allow compression in NDFrame.to_csv to be a dict with optional …
drew-heenan Aug 26, 2019
a1bdacf
DOC: Harmonize column selection to bracket notation (#27562)
katrinleinweber Aug 26, 2019
7528d08
TYPING: add stubs for _packer and _unpacker (#28135)
simonjayhawkins Aug 26, 2019
bca39a7
Run clang-format on objToJSON (#28144)
WillAyd Aug 26, 2019
87d26ba
PERF: replace with list, closes #28084 (#28099)
jbrockmendel Aug 26, 2019
7deda21
DOC: whatsnew for 28099 (#28154)
TomAugspurger Aug 26, 2019
9f48098
DOC: Set 1.0.0 in index.rst (#28149)
TomAugspurger Aug 26, 2019
294a22c
BUG: Fix groupby quantile array (#28113)
TomAugspurger Aug 26, 2019
ddfc9a2
TYPING: --disallow-any-expr for HTMLFormatter.__init__ (#28140)
simonjayhawkins Aug 26, 2019
3577746
CLN: small ops optimizations (#28036)
jbrockmendel Aug 26, 2019
49d2019
CLN: internals.blocks cleanup, typing (#27941)
jbrockmendel Aug 26, 2019
041b6b1
Replace with nested dict raises for overlapping keys (#27696)
charlesdong1991 Aug 27, 2019
bd8dbf9
TYPING: --check-untyped-defs util._decorators (#28128)
simonjayhawkins Aug 27, 2019
080d57e
CLN: Use ABC classes for isinstance checks, remove unnecessary import…
addisonlynch Aug 27, 2019
d91ffa6
TYPING: change to FrameOrSeries Alias in pandas._typing (#28173)
simonjayhawkins Aug 27, 2019
612d3b2
Solving GL01,GL02 in pandas.Interval and a few mentioned in the comme…
killerontherun1 Aug 28, 2019
bc65fe6
Fix slicer assignment bug (#28131)
RoeiRaz Aug 28, 2019
2518040
STY: whitespace before class docstringsd (#28209)
jbrockmendel Aug 29, 2019
5f34933
DOC: Example for adding a calculated column in SQL and Pandas (#28182)
DavidRosen Aug 29, 2019
03b3c8f
CLN: minor typos MutliIndex -> MultiIndex (#28223)
simonjayhawkins Aug 29, 2019
d9b3993
reduction-> libreduction for grepability (#28184)
jbrockmendel Aug 30, 2019
82a7455
REGR: Fix to_csv with IntervalIndex (#28229)
jschendel Aug 30, 2019
7b25463
BUG: Multiple lambdas in named aggregation (#27921)
charlesdong1991 Aug 30, 2019
51db82d
PERF: lazify pytz seqToRE call, trims 35ms from import (#28228)
jbrockmendel Aug 30, 2019
75c9783
STYLE: run pre-commit filters on the repo (#27915)
basnijholt Aug 30, 2019
fadb271
REGR: <th> tags for notebook display closes #28204 (#28216)
simonjayhawkins Aug 30, 2019
cad3918
Fix read of py27 pytables tz attribute, gh#26443 (#28221)
quintusdias Aug 30, 2019
621ad9d
DOC: Document existing functionality of pandas.DataFrame.to_sql() #11…
oguzhanogreden Aug 30, 2019
bfdbebe
CLN: catch less inside try/except (#28203)
jbrockmendel Aug 30, 2019
f8a924b
DOC: fix DatetimeIndex.tz_localize doc string example (#28237)
wholmgren Aug 30, 2019
42d6ee7
have Timestamp return NotImplemented (#28157)
jbrockmendel Sep 2, 2019
05cc959
BUG: SparseDataFrame op incorrectly casting to float (#28107)
jbrockmendel Sep 2, 2019
2aeed3f
REF: separate bloated test (#28081)
jbrockmendel Sep 2, 2019
2cd7888
REF: do extract_array earlier in series arith/comparison ops (#28066)
jbrockmendel Sep 2, 2019
30fb087
BUG: fix+test Timestamp with int array (#28161)
jbrockmendel Sep 2, 2019
562f423
CLN: avoid catching Exception in _choose_path (#28205)
jbrockmendel Sep 2, 2019
89e5f84
REF: use dispatch_to_extension_op for bool ops (#27959)
jbrockmendel Sep 2, 2019
498f300
TST: parametrize and de-duplicate arith tests (#27950)
jbrockmendel Sep 2, 2019
15eb9ca
ENH: Enable read_csv interpret 'Infinity' as floating point value #10…
githeap Sep 2, 2019
91e5b85
Revert #27959 (#28258)
jbrockmendel Sep 3, 2019
ae93c23
Add peakmem benchmarks for rolling (#28255)
mroeschke Sep 3, 2019
9cb5de0
CLN: Catch more specific exceptions in groupby (#27909)
jbrockmendel Sep 3, 2019
4566850
DOC: Add missing public plotting functions to the docs (#28179)
datapythonista Sep 3, 2019
afe0cc3
DOC: Add docstring to the insertion method & add empty result note (#…
oguzhanogreden Sep 3, 2019
9777e84
REF: use dispatch_to_extension_op for bool ops (#28260)
jbrockmendel Sep 3, 2019
efa177d
VIS: Validate plot backend when setting. (#28164)
TomAugspurger Sep 3, 2019
bfff080
ENH: added optional caption and label arguments to DataFrame.to_latex…
jeschwar Sep 3, 2019
60ff4e1
CLN: catch Exception in fewer places, assorted cleanups (#28276)
jbrockmendel Sep 4, 2019
243c1bc
DEV: Remove seed-isort-config hook (#28272)
TomAugspurger Sep 4, 2019
4c778a1
Fix to_json Memory Tests (#28259)
WillAyd Sep 4, 2019
4252ab7
fix typo in example (#28281)
tobycheese Sep 4, 2019
0bde7ce
BUG: Make sure correct values are passed to Rolling._on when axis=1 (…
MarcoGorelli Sep 4, 2019
6a7ba96
PERF: asv for import (#28239)
jbrockmendel Sep 5, 2019
04e67c4
PERF: trim import time ~5% (#28227)
jbrockmendel Sep 5, 2019
2915223
Improved benchmark coverage for reading spreadsheets (#28230)
f6v Sep 5, 2019
813123b
DOC: fix read_excel and ExcelFile engine parameter description (#2823…
zys5945 Sep 5, 2019
2d65e38
Fix inconsistent casting to bool (#28290)
jbrockmendel Sep 5, 2019
820072a
BUG: Remove null values before sorting during groupby nunique calcula…
MarcoGorelli Sep 7, 2019
c3b1252
CLN: split_and_operate (#28327)
jbrockmendel Sep 7, 2019
0a00ebe
CLN: eval_kwargs (#28328)
jbrockmendel Sep 7, 2019
6b23fb8
Clean groupby error message (#28324)
dsaxton Sep 7, 2019
e24d9e5
Removed PyString refs from extension modules (#28322)
WillAyd Sep 7, 2019
53ad571
CLN: catch Exception less (#28309)
jbrockmendel Sep 7, 2019
a72b240
Added cpp files to build clean (#28320)
WillAyd Sep 7, 2019
7111927
PERF: Speed up Spearman calculation (#28151)
dsaxton Sep 7, 2019
1cd7ae6
BUG: datetime64 - Timestamp incorrectly raising TypeError (#28286)
jbrockmendel Sep 7, 2019
7161b90
CLN: catch specific Exceptions in _config (#28310)
jbrockmendel Sep 7, 2019
9aa9db9
catch more specific (#28198)
jbrockmendel Sep 7, 2019
f04c4db
Pandas.series.astype docstring PR02 (#28340)
AminooZ Sep 8, 2019
5c57e7b
BUG: Timestamp+int should raise NullFrequencyError, not ValueError (#…
jbrockmendel Sep 8, 2019
df3d9b2
CLN: handle bare exceptions im timedeltas, timestamps, reduction (#28…
jbrockmendel Sep 8, 2019
7d5425f
PERF: lazify type-check import (#28342)
jbrockmendel Sep 9, 2019
17f73aa
CLN: avoid bare except in libfrequencies (#28344)
jbrockmendel Sep 9, 2019
5d1440e
CLN: avoid bare except in tslib and tslibs.parsing (#28345)
jbrockmendel Sep 9, 2019
e6bafb5
CLN: Exception catching in io (#28349)
jbrockmendel Sep 9, 2019
3f5b5c4
CLN: raise ValueError instead of Exception (#28352)
jbrockmendel Sep 9, 2019
e0c63b4
BUG/TST: fix and test for timezone drop in GroupBy.shift/bfill/ffill …
noritada Sep 9, 2019
96bf661
[ENH] Use default EA repr for IntervalArray (#26316)
makbigc Sep 10, 2019
2fb91ed
CLN: Exception catching (#28361)
jbrockmendel Sep 10, 2019
8e90830
BUG: same behavior for Series/Index vs ndarray/list in Series logical…
jbrockmendel Sep 10, 2019
7814b0a
CLN: fix bare excepts on close (#28343)
jbrockmendel Sep 10, 2019
07c7510
GH28301 check for non-unique index in stack_multi_columns (#28336)
christopherzimmerman Sep 10, 2019
2164af5
GH28337: Period index doesn't handle reindexing with a non-period ind…
christopherzimmerman Sep 10, 2019
ae22b80
CLN: catch stricter in json (#28351)
jbrockmendel Sep 10, 2019
0c0a0cf
BUG: Set na_rep values before converting to string to prevent data tr…
kinow Sep 10, 2019
36ce3d0
CLN: avoid catching Exception in generic (#28370)
jbrockmendel Sep 11, 2019
e5fec87
CLN: timeseries in plotting clean up (#28020)
charlesdong1991 Sep 11, 2019
c82f57d
CLN: remove unused parts of skiplist (most of it) (#27465)
jbrockmendel Sep 11, 2019
18db7fb
DOC: Improve compiler installation instructions (#28316)
lucyleeow Sep 11, 2019
3cf1757
CLN: small ops cleanup (#28379)
jbrockmendel Sep 11, 2019
a85ce75
Add pyjanitor to ecosystem.rst (#28338)
topper-123 Sep 11, 2019
9bb82b3
CI: Change conda channel order for Windows builds (#28357)
xhochy Sep 11, 2019
261c3a6
API: Don't fail when plotting Series/DataFrame with no rows (#28226)
randomstuff Sep 11, 2019
094fb12
TMP: pin openssl for doc build (#28404)
jorisvandenbossche Sep 12, 2019
c64f564
BUG: Fix to_datetime(errors='coerce') not swallowing all parser excep…
miggec Sep 12, 2019
b3bd4df
DEP: Bump Cython to 0.29.13 (#28391)
TomAugspurger Sep 12, 2019
dd6f610
TST: add test for #9107 (#28386)
miggec Sep 12, 2019
6d47fab
Fix a typo in "computation.rst" in document. (#28400)
gepcel Sep 12, 2019
b879b7f
REF: prepare Series logical op to be refactored to array op (#28395)
jbrockmendel Sep 12, 2019
0ab32e8
REF: prepare Series comparison op to be refactored to array op (#28396)
jbrockmendel Sep 12, 2019
b1f4d00
BUG: DataFrame[int] +/- datetime64 (#28362)
jbrockmendel Sep 12, 2019
6908be7
CLN: Exception in dtypes.cast (#28420)
jbrockmendel Sep 12, 2019
3f40528
Annotate DataFrame (Part 1) (#26867)
vaibhavhrt Sep 12, 2019
34fff1f
ENH: Add IntegerArray.__arrow_array__ for custom conversion to Arrow …
jorisvandenbossche Sep 12, 2019
eb8cce0
CLN: Update cpython imports in Cython Code GH28382 (#28398)
amunch Sep 13, 2019
f61deb9
BUG: Fix Series.append raises TypeError with tuple of Series (#28412)
christopherzimmerman Sep 13, 2019
810fa77
Assignment of column via .loc for numpy non-ns datetimes (#27928)
inmoonlight Sep 13, 2019
a4e64fc
REF: prepare Series arith op to be refactored to array op (#28413)
jbrockmendel Sep 13, 2019
a880e42
Revert "TMP: pin openssl for doc build (#28404)" (#28405)
jorisvandenbossche Sep 13, 2019
9dc6de3
BLD: Add pyproject.toml (#28374)
TomAugspurger Sep 13, 2019
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
  •  
  •  
  •  
27 changes: 0 additions & 27 deletions .coveragerc

This file was deleted.

27 changes: 13 additions & 14 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
Contributing to pandas
======================
# Contributing to pandas

Whether you are a novice or experienced software developer, all contributions and suggestions are welcome!

Our main contribution docs can be found [here](https://github.com/pandas-dev/pandas/blob/master/doc/source/contributing.rst), but if you do not want to read it in its entirety, we will summarize the main ways in which you can contribute and point to relevant places in the docs for further information.
Our main contributing guide can be found [in this repo](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst) or [on the website](https://pandas-docs.github.io/pandas-docs-travis/development/contributing.html). If you do not want to read it in its entirety, we will summarize the main ways in which you can contribute and point to relevant sections of that document for further information.

## Getting Started

Getting Started
---------------
If you are looking to contribute to the *pandas* codebase, the best place to start is the [GitHub "issues" tab](https://github.com/pandas-dev/pandas/issues). This is also a great place for filing bug reports and making suggestions for ways in which we can improve the code and documentation.

If you have additional questions, feel free to ask them on the [mailing list](https://groups.google.com/forum/?fromgroups#!forum/pydata) or on [Gitter](https://gitter.im/pydata/pandas). Further information can also be found in our [Getting Started](https://github.com/pandas-dev/pandas/blob/master/doc/source/contributing.rst#where-to-start) section of our main contribution doc.
If you have additional questions, feel free to ask them on the [mailing list](https://groups.google.com/forum/?fromgroups#!forum/pydata) or on [Gitter](https://gitter.im/pydata/pandas). Further information can also be found in the "[Where to start?](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#where-to-start)" section.

## Filing Issues

If you notice a bug in the code or documentation, or have suggestions for how we can improve either, feel free to create an issue on the [GitHub "issues" tab](https://github.com/pandas-dev/pandas/issues) using [GitHub's "issue" form](https://github.com/pandas-dev/pandas/issues/new). The form contains some questions that will help us best address your issue. For more information regarding how to file issues against *pandas*, please refer to the "[Bug reports and enhancement requests](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#bug-reports-and-enhancement-requests)" section.

Filing Issues
-------------
If you notice a bug in the code or in docs or have suggestions for how we can improve either, feel free to create an issue on the [GitHub "issues" tab](https://github.com/pandas-dev/pandas/issues) using [GitHub's "issue" form](https://github.com/pandas-dev/pandas/issues/new). The form contains some questions that will help us best address your issue. For more information regarding how to file issues against *pandas*, please refer to the [Bug reports and enhancement requests](https://github.com/pandas-dev/pandas/blob/master/doc/source/contributing.rst#bug-reports-and-enhancement-requests) section of our main contribution doc.
## Contributing to the Codebase

Contributing to the Codebase
----------------------------
The code is hosted on [GitHub](https://www.github.com/pandas-dev/pandas), so you will need to use [Git](http://git-scm.com/) to clone the project and make changes to the codebase. Once you have obtained a copy of the code, you should create a development environment that is separate from your existing Python environment so that you can make and test changes without compromising your own work environment. For more information, please refer to our [Working with the code](https://github.com/pandas-dev/pandas/blob/master/doc/source/contributing.rst#working-with-the-code) section of our main contribution docs.
The code is hosted on [GitHub](https://www.github.com/pandas-dev/pandas), so you will need to use [Git](http://git-scm.com/) to clone the project and make changes to the codebase. Once you have obtained a copy of the code, you should create a development environment that is separate from your existing Python environment so that you can make and test changes without compromising your own work environment. For more information, please refer to the "[Working with the code](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#working-with-the-code)" section.

Before submitting your changes for review, make sure to check that your changes do not break any tests. You can find more information about our test suites can be found [here](https://github.com/pandas-dev/pandas/blob/master/doc/source/contributing.rst#test-driven-development-code-writing). We also have guidelines regarding coding style that will be enforced during testing. Details about coding style can be found [here](https://github.com/pandas-dev/pandas/blob/master/doc/source/contributing.rst#code-standards).
Before submitting your changes for review, make sure to check that your changes do not break any tests. You can find more information about our test suites in the "[Test-driven development/code writing](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#test-driven-development-code-writing)" section. We also have guidelines regarding coding style that will be enforced during testing, which can be found in the "[Code standards](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#code-standards)" section.

Once your changes are ready to be submitted, make sure to push your changes to GitHub before creating a pull request. Details about how to do that can be found in the [Contributing your changes to pandas](https://github.com/pandas-dev/pandas/blob/master/doc/source/contributing.rst#contributing-your-changes-to-pandas) section of our main contribution docs. We will review your changes, and you will most likely be asked to make additional changes before it is finally ready to merge. However, once it's ready, we will merge it, and you will have successfully contributed to the codebase!
Once your changes are ready to be submitted, make sure to push your changes to GitHub before creating a pull request. Details about how to do that can be found in the "[Contributing your changes to pandas](https://github.com/pandas-dev/pandas/blob/master/doc/source/development/contributing.rst#contributing-your-changes-to-pandas)" section. We will review your changes, and you will most likely be asked to make additional changes before it is finally ready to merge. However, once it's ready, we will merge it, and you will have successfully contributed to the codebase!
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
custom: https://pandas.pydata.org/donate.html
tidelift: pypi/pandas
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
1 change: 1 addition & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
To report a security vulnerability to pandas, please go to https://tidelift.com/security and see the instructions there.
18 changes: 14 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,19 @@ dist
# wheel files
*.whl
**/wheelhouse/*
pip-wheel-metadata
# coverage
.coverage
coverage.xml
coverage_html_report
.mypy_cache
*.pytest_cache
# hypothesis test database
.hypothesis/
__pycache__
# pytest-monkeytype
monkeytype.sqlite3


# OS generated files #
######################
Expand Down Expand Up @@ -88,8 +97,8 @@ scikits
*.c
*.cpp

# Performance Testing #
#######################
# Unit / Performance Testing #
##############################
asv_bench/env/
asv_bench/html/
asv_bench/results/
Expand All @@ -98,13 +107,14 @@ asv_bench/pandas/
# Documentation generated files #
#################################
doc/source/generated
doc/source/user_guide/styled.xlsx
doc/source/reference/api
doc/source/_static
doc/source/vbench
doc/source/vbench.rst
doc/source/index.rst
doc/build/html/index.html
# Windows specific leftover:
doc/tmp.sv
doc/source/styled.xlsx
doc/source/templates/
env/
doc/source/savefig/
6 changes: 0 additions & 6 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,3 @@

scanner:
diff_only: True # If True, errors caused by only the patch are shown

pycodestyle:
max-line-length: 79
ignore: # Errors and warnings to ignore
- E731
- E402
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/python/black
rev: stable
hooks:
- id: black
language_version: python3.7
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.7
hooks:
- id: flake8
language: python_venv
additional_dependencies: [flake8-comprehensions]
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.20
hooks:
- id: isort
language: python_venv
113 changes: 28 additions & 85 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
sudo: false
language: python
# Default Python version is usually 2.7
python: 3.5

# To turn off cached cython files and compiler cache
Expand All @@ -23,86 +21,36 @@ env:

git:
# for cloning
depth: 1000
depth: false

matrix:
fast_finish: true
exclude:
# Exclude the default Python 3.5 build
- python: 3.5

include:
- os: osx
language: generic
env:
- JOB="3.5_OSX" TEST_ARGS="--skip-slow --skip-network"
- dist: trusty
env:
- JOB="2.7_LOCALE" LOCALE_OVERRIDE="zh_CN.UTF-8" SLOW=true
addons:
apt:
packages:
- language-pack-zh-hans
- dist: trusty
env:
- JOB="2.7" TEST_ARGS="--skip-slow" LINT=true
addons:
apt:
packages:
- python-gtk2
# In allow_failures
- dist: trusty
env:
- JOB="3.5_CONDA_BUILD_TEST" TEST_ARGS="--skip-slow --skip-network" CONDA_BUILD_TEST=true
- dist: trusty
env:
- JOB="3.6" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate" CONDA_FORGE=true COVERAGE=true
# In allow_failures
- dist: trusty
env:
- JOB="2.7_SLOW" SLOW=true
# In allow_failures
- dist: trusty
env:
- JOB="3.6_PIP_BUILD_TEST" TEST_ARGS="--skip-slow" PIP_BUILD_TEST=true
addons:
apt:
packages:
- xsel
# In allow_failures
- JOB="3.7" ENV_FILE="ci/deps/travis-37.yaml" PATTERN="(not slow and not network)"

- dist: trusty
env:
- JOB="3.6_NUMPY_DEV" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate"
# In allow_failures
- JOB="3.6, locale" ENV_FILE="ci/deps/travis-36-locale.yaml" PATTERN="((not slow and not network) or (single and db))" LOCALE_OVERRIDE="zh_CN.UTF-8"

- dist: trusty
env:
- JOB="3.6_ASV" ASV=true
- JOB="3.6, coverage" ENV_FILE="ci/deps/travis-36-cov.yaml" PATTERN="((not slow and not network) or (single and db))" PANDAS_TESTING_MODE="deprecate" COVERAGE=true

# In allow_failures
- dist: trusty
env:
- JOB="3.6_DOC" DOC=true
- JOB="3.6, slow" ENV_FILE="ci/deps/travis-36-slow.yaml" PATTERN="slow"

allow_failures:
- dist: trusty
env:
- JOB="3.5_CONDA_BUILD_TEST" TEST_ARGS="--skip-slow --skip-network" CONDA_BUILD_TEST=true
- dist: trusty
env:
- JOB="2.7_SLOW" SLOW=true
- dist: trusty
env:
- JOB="3.6_PIP_BUILD_TEST" TEST_ARGS="--skip-slow" PIP_BUILD_TEST=true
addons:
apt:
packages:
- xsel
- dist: trusty
env:
- JOB="3.6_NUMPY_DEV" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate"
- dist: trusty
env:
- JOB="3.6_ASV" ASV=true
- dist: trusty
env:
- JOB="3.6_DOC" DOC=true
- JOB="3.6, slow" ENV_FILE="ci/deps/travis-36-slow.yaml" PATTERN="slow"

before_install:
- echo "before_install"
Expand All @@ -115,41 +63,36 @@ before_install:
- pwd
- uname -a
- git --version
- git tag
- ./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"
- ci/prep_cython_cache.sh
- ci/install_travis.sh
- ci/setup_env.sh
- ci/submit_cython_cache.sh
- echo "install done"

before_script:
- ci/install_db_travis.sh
# display server (for clipboard functionality) needs to be started here,
# does not work if done in install:setup_env.sh (GH-26103)
- export DISPLAY=":99.0"
- ci/before_script_travis.sh
- echo "sh -e /etc/init.d/xvfb start"
- sh -e /etc/init.d/xvfb start
- sleep 3

script:
- echo "script start"
- ci/run_build_docs.sh
- ci/script_single.sh
- ci/script_multi.sh
- ci/lint.sh
- ci/asv.sh
- echo "checking imports"
- source activate pandas && python ci/check_imports.py
- echo "script done"

after_success:
- ci/upload_coverage.sh
- source activate pandas-dev
- ci/run_tests.sh

after_script:
- echo "after_script start"
- source activate pandas && pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
- if [ -e /tmp/single.xml ]; then
ci/print_skipped.py /tmp/single.xml;
fi
- if [ -e /tmp/multiple.xml ]; then
ci/print_skipped.py /tmp/multiple.xml;
fi
- source activate pandas-dev && pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
- ci/print_skipped.py
- echo "after_script done"
54 changes: 54 additions & 0 deletions LICENSES/DATEUTIL_LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
Copyright 2017- Paul Ganssle <[email protected]>
Copyright 2017- dateutil contributors (see AUTHORS file)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

The above license applies to all contributions after 2017-12-01, as well as
all contributions that have been re-licensed (see AUTHORS file for the list of
contributors who have re-licensed their code).
--------------------------------------------------------------------------------
dateutil - Extensions to the standard Python datetime module.

Copyright (c) 2003-2011 - Gustavo Niemeyer <[email protected]>
Copyright (c) 2012-2014 - Tomi Pieviläinen <[email protected]>
Copyright (c) 2014-2016 - Yaron de Leeuw <[email protected]>
Copyright (c) 2015- - Paul Ganssle <[email protected]>
Copyright (c) 2015- - dateutil contributors (see AUTHORS file)

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The above BSD License Applies to all code, even that also covered by Apache 2.0.
2 changes: 2 additions & 0 deletions LICENSES/HAVEN_LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
YEAR: 2013-2016
COPYRIGHT HOLDER: Hadley Wickham; RStudio; and Evan Miller
Loading