Skip to content

qcut: Option to return -inf/inf as lower/upper bound #4

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

Open
wants to merge 1,226 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1226 commits
Select commit Hold shift + click to select a range
0bb3772
BUG/PERF: Sparse get_dummies uses concat (#24372)
TomAugspurger Dec 21, 2018
8c58817
API: Make Series.searchsorted return a scalar, when supplied a scalar…
topper-123 Dec 21, 2018
aa3d56e
TST: Add missing match parameter in test_move (#24393)
gfyoung Dec 22, 2018
3e0358d
CLN: post-post numpy bump (#24365)
h-vetinari Dec 22, 2018
ffa4c77
DEPR: Undeprecate period - integer addition (#24352)
TomAugspurger Dec 23, 2018
2dce6b1
CLN: tslibs imports and unused variables (#24401)
mroeschke Dec 23, 2018
759a010
Rendering Methods portions of #24024 (#24392)
jbrockmendel Dec 23, 2018
2d3e103
REF/TST: collect reduction tests (#24367)
jbrockmendel Dec 23, 2018
d7bf6f2
REF: Pieces broken off of #24024 (#24364)
jbrockmendel Dec 23, 2018
0c593ae
ENH GH11978 access pd.plotting._misc from plot accessor (#23811)
JustinZhengBC Dec 23, 2018
1cd077a
BUG: Fix overflow bugs in date_Range (#24255)
jbrockmendel Dec 23, 2018
0d2cd53
REF/TST: Add more pytest idiom to resample/test_base.py (#24377)
simonjayhawkins Dec 23, 2018
fc7bc3f
CLN: Make repeat method consistent (#24395)
jschendel Dec 23, 2018
a71c121
Making azure run all the checks even if the patterns step fail, addin…
datapythonista Dec 24, 2018
9f62f5e
CLN: minor cleaning of Categorical.__init__ (#24402)
topper-123 Dec 24, 2018
195cbef
REF/TST: Add more pytest idiom to indexing/multiindex/test_getitem.py…
simonjayhawkins Dec 24, 2018
6b31abd
BUG: to_datetime ignores argument combinations (#24407)
mroeschke Dec 24, 2018
159772d
DOC: Added MultiIndex Example for Series Min (#23338)
vadakattu Dec 25, 2018
befd324
DOC: Adding missing pandas module in doc (fixing warnings) (#24420)
datapythonista Dec 25, 2018
b2b877c
ENH: Implemented lazy iteration (#20796)
mitar Dec 25, 2018
2a09706
Groupby Whitelist Cleanup (#23972)
WillAyd Dec 25, 2018
511ae30
BUG: Assorted DTA/TDA/PI bugfixes (#24397)
jbrockmendel Dec 25, 2018
1905485
TST: move mi tests from tests/indexing/ to tests/indexing/multiindex/…
simonjayhawkins Dec 25, 2018
bf31c04
ENH: fill_value argument for shift #15486 (#24128)
ahcub Dec 26, 2018
f86af42
DOC: Fixing several doc warnings (#24430)
datapythonista Dec 26, 2018
ef1bd69
BUG-24408 Series.dt does not maintain own copy of index (#24426)
JustinZhengBC Dec 26, 2018
52a2bb4
DOC: Removing old release.rst (#24427)
datapythonista Dec 26, 2018
8b4b38f
DOC: Fixing more doc warnings (#24431)
datapythonista Dec 26, 2018
1d86861
CLN: Cython Py2/3 Compatible Imports (#23940)
WillAyd Dec 26, 2018
9fa063e
BUG: to_datetime(Timestamp, utc=True) localizes to UTC (#24441)
mroeschke Dec 26, 2018
9ed49eb
API: Simplify repeat signature (#24447)
jschendel Dec 27, 2018
08c920e
DOC: Fixing more doc warnings (#24438)
datapythonista Dec 27, 2018
003609a
DOC: fix flake8 issue in groupby.rst (#24363)
LJArendse Dec 27, 2018
74db5b5
DOC: Adding offsets to API ref (#24446)
datapythonista Dec 27, 2018
98b3e4c
DOC: Adding links to offset classes in timeseries.rst (#24448)
datapythonista Dec 27, 2018
289285e
DOC: Add dateutil to intersphinx #24437 (#24443)
benjaminr Dec 27, 2018
7e64d9c
DOC: Fix minor typo in whatsnew (#24453)
Dec 27, 2018
3086e0a
BUG: Infer compression by default in read_fwf() (#22200)
NasaGeek Dec 27, 2018
b66114d
CI: Moving CircleCI build to Travis (#24449)
datapythonista Dec 27, 2018
73801ab
DOC: Correct location (#24456)
topper-123 Dec 27, 2018
24a50fc
POC: _eadata (#24394)
jbrockmendel Dec 27, 2018
459ebb2
BLD: for C extension builds on mac, target macOS 10.9 where possible …
robbuckley Dec 28, 2018
aa1549f
DOC: Fixing doc upload (no such remote origin) (#24459)
datapythonista Dec 28, 2018
b37d95d
REF/TST: Add more pytest idiom to indexing/multiindex/test_getitem.py…
simonjayhawkins Dec 28, 2018
5a9f452
implement Delegate portions of #24024 (#24463)
jbrockmendel Dec 28, 2018
6cfa23e
DEPR: Deprecate range-based PeriodIndex construction (#24354)
TomAugspurger Dec 28, 2018
5b61eaf
REF/TST: Add more pytest idiom to resample/test_datetime_index.py (#2…
simonjayhawkins Dec 28, 2018
ab55d05
CI: Moving 3 jobs from travis to azure (#24460)
datapythonista Dec 28, 2018
336b8d6
NumPyBackedExtensionArray (#24227)
TomAugspurger Dec 28, 2018
d1b2a52
BUG: clip doesn't preserve dtype by column (#24458)
minggli Dec 28, 2018
4f330f4
DOC: Fixed reference (#24470)
TomAugspurger Dec 28, 2018
f4f37f4
implement astype portion of #24024 (#24405)
jbrockmendel Dec 28, 2018
c1af4f5
ENH: to_sql() add parameter "method" to control insertions method (#8…
schettino72 Dec 28, 2018
7617ed1
ENH: ExtensionArray.searchsorted (#24350)
TomAugspurger Dec 28, 2018
77f4b0f
API: added array (#23581)
TomAugspurger Dec 28, 2018
985a73b
searchsorted, repeat broken off from #24024 (#24461)
jbrockmendel Dec 28, 2018
ff28048
Decouple xlrd reading from ExcelFile class (#24423)
WillAyd Dec 28, 2018
4f1c1dc
Bug : Fixes #20911 (#24467)
cgangwar11 Dec 28, 2018
1249e84
DOC: Use top-level pd.IntervalArray in doc examples (#24475)
jschendel Dec 29, 2018
80295f9
TST: Making explicit when we run the db tests (#24450)
datapythonista Dec 29, 2018
2c8c5df
Datetimelike __setitem__ (#24477)
TomAugspurger Dec 29, 2018
1d760af
PERF: speed up PeriodArray creation by exposing dayfirst/yearfirst pa…
qwhelan Dec 29, 2018
fe696e4
standardize signature for Index reductions, implement nanmean for dat…
jbrockmendel Dec 29, 2018
3f83627
test_datapath_missing (#24481)
simonjayhawkins Dec 29, 2018
8dd9cdd
TST: searchsorted returns platform indexers (#24482)
jreback Dec 29, 2018
70bc919
dtype validation from 24024 (#24478)
jbrockmendel Dec 29, 2018
6c50572
Add ref to docstring of Series:dtype (#24421)
thoo Dec 29, 2018
aeff38d
CI: increase travis cloning limit
jreback Dec 29, 2018
41b2b18
REF: Stop mixing DTA/TDA into DTI/TDI (#24476)
jbrockmendel Dec 29, 2018
02a97c0
Implement reductions from #24024 (#24484)
jbrockmendel Dec 29, 2018
1ebfd8a
BUG: Fix+test timezone-preservation in DTA.repeat (#24483)
jbrockmendel Dec 30, 2018
d5e5bf7
DOC: Doc build for a single doc made much faster, and clean up (#24428)
datapythonista Dec 30, 2018
681e75c
TST- Fixing issue with test_parquet test unexpectedly passing (#24480)
RjLi13 Dec 30, 2018
a843465
REF/TST: replace capture_stderr with pytest capsys fixture (#24496)
simonjayhawkins Dec 30, 2018
46ca395
use capsys.readouterr() as named tuple (#24489)
simonjayhawkins Dec 30, 2018
460945e
Misc separable pieces of #24024 (#24488)
jbrockmendel Dec 30, 2018
36ab8c9
BUG: Pandas any() returning false with true values present (GH #23070…
makbigc Dec 30, 2018
2d1d697
Floor and ceil methods during pandas.eval which are provided by numex…
anjsudh Dec 30, 2018
9267e27
Fix misdescription in escapechar (#24490)
thoo Dec 30, 2018
0efbbc2
DOC: Splitting api.rst in several files (#24462)
datapythonista Dec 30, 2018
c4ac0d6
DOC: Fixing broken references in the docs (#24497)
datapythonista Dec 30, 2018
fce9ccf
DOC: Fix building of a single API document (#24506)
datapythonista Dec 30, 2018
0324465
Mix EA into DTA/TDA; part of 24024 (#24502)
jbrockmendel Dec 30, 2018
43c4dcd
TST: Skip db tests unless explicitly specified in -m pattern (#24492)
datapythonista Dec 30, 2018
0769688
ENH: Add strings_as_fixed_length parameter for df.to_records() (#1814…
qinghao1 Dec 30, 2018
6df8567
DOC: add checks on the returns section in the docstrings (#23138) (#2…
igorfassen Dec 30, 2018
75e9485
BUG: fix .iat assignment creates a new column (#24495)
RoeiRaz Dec 30, 2018
100ffff
REF/TST: replace capture_stdout with pytest capsys fixture (#24501)
simonjayhawkins Dec 30, 2018
592eb5e
DOC: Clean up of API doc sections (#24508)
datapythonista Dec 31, 2018
52e9b11
TST: Fixing bug in skipping db tests by default (#24513)
datapythonista Dec 31, 2018
2b82159
MAINT: Use context manager in test_c_parser_only (#24512)
gfyoung Dec 31, 2018
d85a5c3
BUG: pivot/unstack leading to too many items should raise exception (…
sweb Dec 31, 2018
08640c3
ENH: Enable DataFrame.corrwith to compute rank correlations (#22375)
Dec 31, 2018
cae4616
.ne fails if comparing a list of columns containing column name 'dtyp…
baidoosik Dec 31, 2018
a7d3648
BUG: Fix a bug in plotting when using color array. #20726 (#20727)
wuhaochen Dec 31, 2018
c98b782
BUG: Fix groupby observed=True when aggregating a column (#24412)
Koustav-Samaddar Dec 31, 2018
449d665
CLN: read_sql date parsing (#24500)
mroeschke Dec 31, 2018
bf9d41c
CLN: Remove dead code in api/test_types.py (#24516)
gfyoung Dec 31, 2018
b434da5
TST: Add corrwith index tests (#24519)
Dec 31, 2018
b49136e
Fixed PeriodArray._time_shift positional argument (#24524)
TomAugspurger Dec 31, 2018
dc0ba05
DOC: Make sphinx fail the build when --warnings-are-errors is set (#2…
datapythonista Dec 31, 2018
f49ed81
REF/TST: use monkeypatch in mock clipboard fixture (#24522)
simonjayhawkins Dec 31, 2018
d89b2a6
REF/TST: remove patch from testing.py (#24515)
simonjayhawkins Dec 31, 2018
e4cd00b
Fix excel-related docstring errors (#24503)
thoo Dec 31, 2018
50470d5
Make _freq/freq/tz/_tz/dtype/_dtype/offset/_offset all inherit reliab…
jbrockmendel Jan 1, 2019
d5283ea
Fix ValueError when reading a Dataframe with HDFStore in Python 3 fro…
faulaire Jan 1, 2019
4b6be69
Integer NA docs (#23617)
TomAugspurger Jan 1, 2019
f7c0bbc
Implement unique+array parts of 24024 (#24527)
jbrockmendel Jan 1, 2019
a16c29b
MAINT: Port _timelex in codebase (#24520)
gfyoung Jan 1, 2019
b9284a2
BUG: output formatting with to_html(), index=False and/or index_names…
simonjayhawkins Jan 1, 2019
091cfbb
Run isort on tests/indexes (#24531)
thoo Jan 1, 2019
c5af282
CI: fix db usage in CI (#24529)
jreback Jan 1, 2019
8f3aa2b
Run isort (#24530)
thoo Jan 1, 2019
d659e7d
CLN: Refactor some sorting code in Index set operations (#24533)
reidy-p Jan 1, 2019
945445d
Make DTI[tz]._values and Series[tz]._values return DTA (#24534)
jbrockmendel Jan 1, 2019
cf92230
implement fillna from 24024, with fixes and tests (#24536)
jbrockmendel Jan 1, 2019
71efe61
Include MultiIndex slice in non-reducing slices (#19881)
fleimgruber Jan 2, 2019
f67c97e
DOC: Fix flake8 issues in doc/source/whatsnew/v0.17.*.rst (#24340)
aqurilla Jan 2, 2019
48dad14
Run isort at pandas/tests/io (#24532)
thoo Jan 2, 2019
f67aa13
ENH:Add EA types to read CSV (#23255)
kprestel Jan 2, 2019
e76c90e
MAINT: Remove empty Python file (#24544)
gfyoung Jan 2, 2019
e7dbb76
move test_non_reducing_slice_on_multiindex (#24545)
simonjayhawkins Jan 2, 2019
179822a
BUG: Ensuring that _get_standard_colors returns num_colors (GH #20585…
nokutu Jan 2, 2019
4395a8c
diff reduction for 24024 (#24543)
jbrockmendel Jan 2, 2019
3ad0cfc
BUG: (row) Index Name with to_html(header=False) is not displayed (#2…
simonjayhawkins Jan 2, 2019
27d18c7
TST: isort tests/reshape (#24550)
simonjayhawkins Jan 2, 2019
aa7cb01
TST: isort tests/test_* (#24551)
simonjayhawkins Jan 2, 2019
4cf985a
DOC: fix some doc build warnings/errors (#24552)
jorisvandenbossche Jan 2, 2019
8088fe0
TST: isort tests/groupby (#24553)
simonjayhawkins Jan 2, 2019
588b558
REF: DatetimeLikeArray (#24024)
TomAugspurger Jan 2, 2019
1fc76b8
CLN: Follow-ups to #24024 (#24573)
jbrockmendel Jan 3, 2019
a422da1
BUG: TypeError with to_html(sparsify=False) and max_cols < len(column…
simonjayhawkins Jan 3, 2019
c217656
Added Datetime & Timedelta inference to array (#24571)
TomAugspurger Jan 3, 2019
c08de6b
read_sas catches own error #24548 (#24554)
benjaminr Jan 3, 2019
819418e
Allow merging on object / non-object column (#21681)
jorisvandenbossche Jan 3, 2019
43b35fc
TST: isort tests/sparse (#24563)
simonjayhawkins Jan 3, 2019
9ad1e00
REF: shift ravel in infer_dtype (#24560)
h-vetinari Jan 3, 2019
4b91140
DTA Followups - remove redundant methods (#24577)
jbrockmendel Jan 3, 2019
0325e11
Fix import format at pandas/tests/io/dtypes directory (#24578)
mwoss Jan 3, 2019
afc2c86
REF: put DatetimeBlock adjacent to DatetimeLikeBlockMixin (#24582)
jbrockmendel Jan 3, 2019
268150f
ENH: Add additional options to nonexistent in tz_localize (#24493)
mroeschke Jan 3, 2019
0039158
DOC: Correct description of day_opt in shift_month (#24585)
gfyoung Jan 3, 2019
db051b9
Fix docstring templates not being filled (#24535) (#24584)
fakabbir Jan 3, 2019
479ddcb
DOC: hide warning from arrow about deprecated MultiIndex labels (#24591)
jorisvandenbossche Jan 3, 2019
62506ca
Remove unhittable methods in internals (#24594)
jbrockmendel Jan 3, 2019
c1be6b1
Rename DatetimeArray and TimedelaArray (#24601)
TomAugspurger Jan 3, 2019
cbe9648
DOC: fix to_numpy explanation for tz aware data (#24595)
jorisvandenbossche Jan 3, 2019
10650b1
TST/REF: Add more pytest idiom to tests/tslib (#24587)
gfyoung Jan 3, 2019
5ba4337
DOC: Update doc description for day_opt in offsets (#24602)
gfyoung Jan 3, 2019
c9a0405
Fixed construction / factorization of empty PA and IA (#24599)
TomAugspurger Jan 3, 2019
1d7623f
REF: Simplify quantile, remove reduction from BlockManager (#24597)
jbrockmendel Jan 3, 2019
6a0e276
Support hard-masked numpy arrays (#24581)
karldw Jan 4, 2019
c21f1a6
PERF: significant speedups in tz-aware operations (#24491)
qwhelan Jan 4, 2019
1e6b4b7
Fix import format at pandas/tests/io/arithmetic directory (#24579)
mwoss Jan 4, 2019
9175387
DOC: Fixing see also description formatting in docstrings (#24561)
dylanchase Jan 4, 2019
6249355
DOC: update warning on py 2.7 support
jreback Jan 3, 2019
1574b0e
REF: dispatch Series.quantile to DataFrame, remove ScalarBlock (#24606)
jbrockmendel Jan 4, 2019
62045c3
24024 follow-up: fix incorrectly accepting iNaT in validate_fill_valu…
jbrockmendel Jan 4, 2019
a8f97c1
Fix import format at pandas/tests/io/plotting directory (#24580)
mwoss Jan 4, 2019
c5166b6
REF: clearer Categorical/CategoricalIndex construction (#24419)
topper-123 Jan 4, 2019
2f842f2
DEPR: deprecate default of skipna=False in infer_dtype (#24050)
h-vetinari Jan 4, 2019
2d60af2
DOC: Remove flake8 errors for basics.rst and contributing_docstring.r…
saurav-chakravorty Jan 4, 2019
25c1c38
DOC: update str.cat example (#23723)
h-vetinari Jan 4, 2019
a42c9be
REF/TST: Add more pytest idiom to test_to_html.py (#24609)
simonjayhawkins Jan 4, 2019
19f715c
CLN: use idiomatic pandas_dtypes in pandas/dtypes/common.py (#24541)
jreback Jan 4, 2019
9642fea
Fixed PeriodIndex._shallow_copy for i8 (#24604)
TomAugspurger Jan 4, 2019
cb31b2b
Fix 32-bit builds by correctly using intp_t instead of int64_t for nu…
qwhelan Jan 4, 2019
510afa7
CLN: Remove _eadata (#24625)
TomAugspurger Jan 5, 2019
f770c97
Fix 32-bit builds by correctly using intp_t instead of int64_t for nu…
jreback Jan 5, 2019
0dd02f1
REF/TST: mixed use of mock/monkeypatch (#24557)
simonjayhawkins Jan 5, 2019
8506e66
DOC: Bump fastparquet version (#24590)
TomAugspurger Jan 5, 2019
fe29123
DEPR: __array__ for tz-aware Series/Index (#24596)
TomAugspurger Jan 5, 2019
05a9279
CLN: _try_coerce_result, redundant dtypes.missing method (#24619)
jbrockmendel Jan 5, 2019
09db271
ensure DatetimeTZBlock always gets a DatetimeArray (#24622)
jbrockmendel Jan 5, 2019
b751953
REF/TST: use pytest builtin monkeypatch fixture and remove mock fixtu…
simonjayhawkins Jan 5, 2019
33d1ca8
Array api docs (#24626)
TomAugspurger Jan 5, 2019
994db9f
CLN: replace lambdas with named functions so they are labeled in asv …
qwhelan Jan 5, 2019
dc703ce
Have Categorical ops defer to DataFrame; broken off of #24282 (#24630)
jbrockmendel Jan 5, 2019
b287e97
DOC: Improve DataFrame.align docstring (#24631)
Jan 5, 2019
c6b09e4
DOC: update applymap docstring in pandas/core/frame.py (#24612) (#24633)
nixphix Jan 5, 2019
8730ea9
DOC: fix flake8 errors for whatsnew v0.15* (#24635)
saurav-chakravorty Jan 5, 2019
3ae4229
REF: io/formats/html.py (and io/formats/format.py) (#24637)
simonjayhawkins Jan 5, 2019
62a2a11
DOC: parallel safe (#24638)
TomAugspurger Jan 5, 2019
d106e99
Parameterize test cases (#24639)
alimcmaster1 Jan 5, 2019
ebd598a
DOC: fix warnings in docstrings examples (#24525) (#24642)
nixphix Jan 5, 2019
eace81c
Fix DeprecationWarning: invalid escape sequence in versioneer.py (#24…
BoboTiG Jan 5, 2019
4b4bf72
catch complex nan in util.is_nan, de-dup+optimize libmissing, tests (…
jbrockmendel Jan 5, 2019
6e22000
CLN: remove redundant mac wheel-build code (#24644)
robbuckley Jan 5, 2019
f074abe
Add _expand_user to _stringify_path as we need to allow tilde - ~, to…
srinivasreddy Jan 5, 2019
c2d4a1a
Repr for Integer and Pandas Dtypes (#24646)
TomAugspurger Jan 5, 2019
280a88f
API: consistent __array__ for datetime-like ExtensionArrays (#23593)
jorisvandenbossche Jan 5, 2019
9ceccec
Make DTA/TDA/PA return NotImplemented on comparisons (#24643)
jbrockmendel Jan 5, 2019
e2fb47b
EHN: Add filename to FileNotFoundError (#24266)
milliams Jan 5, 2019
b9d2700
BUG-19214 int categoricals are formatted as ints (#24494)
JustinZhengBC Jan 5, 2019
2ed7ade
CI/TST: Check that unittest.mock is not being used in testing (#24648)
simonjayhawkins Jan 5, 2019
dc91f4c
Deprecate series.nonzero (GH18262) (#24048)
makbigc Jan 5, 2019
88ca968
MAINT: instread --> instead
gfyoung Jan 6, 2019
48c3ce5
PERF: provide additional type information to compiler in maybe_conver…
qwhelan Jan 6, 2019
1218de7
DOC: whatsnew & linked edits (#24649)
jreback Jan 6, 2019
393d0aa
TST: Fixed timezone issues post DatetimeArray refactor (#24634)
mroeschke Jan 6, 2019
7c842b0
DOC: Fixing more doc warings and wrong .. code-block :: directive (sp…
datapythonista Jan 6, 2019
c4994ca
TST/CI: disable hypothesis deadline for test_tick_add_sub in test_tic…
nixphix Jan 6, 2019
ca842cc
DOC: Small doc fixups of missing pd. and numpy method (#24659)
jorisvandenbossche Jan 7, 2019
4bf3a0e
DOC: Fix docstring of window.Expanding/Rolling.apply and document *ar…
LJArendse Jan 7, 2019
1ae466c
clear out a bunch of algos, de-duplicate a bunch of core.missing (#24…
jbrockmendel Jan 7, 2019
be406f3
BUG: DataFrame/Series.tz_convert does not modifies original data with…
mroeschke Jan 8, 2019
4e7f074
BLD: Include tslibs src (#24664)
TomAugspurger Jan 8, 2019
fbd39d9
Have DTA._simple_new take dtype instead of tz (#24665)
jbrockmendel Jan 8, 2019
f13859d
STY: use pytest.raises context syntax (#24655)
simonjayhawkins Jan 8, 2019
f57bd72
REF: io/formats/html.py (and io/formats/format.py) (#24651)
simonjayhawkins Jan 8, 2019
6bd1705
API: Datetime/TimedeltaArray from to_datetime (#24660)
TomAugspurger Jan 8, 2019
2897fca
API: Add dtype parameter to Categorical.from_codes (#24398)
topper-123 Jan 8, 2019
caf462c
REF: move templated index.pyx code to non-template (#24669)
jbrockmendel Jan 8, 2019
8de2a92
BUG: Fix segfault in Categorical.set_categories (#24680)
jschendel Jan 9, 2019
42b3182
BUG: fix to_datetime failing to raise on mixed tznaive/tzaware dateti…
jbrockmendel Jan 9, 2019
9744a4d
STY: use pytest.raises context syntax (#24676)
simonjayhawkins Jan 9, 2019
ea8c9bf
DOC: Fixes to the whatsnew structure (#24679)
datapythonista Jan 9, 2019
46a31c9
PERF: expand asv benchmark coverage (#24214)
qwhelan Jan 9, 2019
decc8ce
Ensure TDA.__init__ validates freq (#24666)
jbrockmendel Jan 9, 2019
d56db9d
DOC: Updated sample CI image in contributing docs (#24692)
datapythonista Jan 10, 2019
3f1e594
CLN: Removing find_undoc_args.py, validate_docstrings.py implements t…
datapythonista Jan 10, 2019
021cbae
Update test_ticks.py (#24701)
rajibmitra Jan 10, 2019
4bd286a
remove unused kwarg (#24695)
jbrockmendel Jan 10, 2019
bad02e8
fix interpreting int as second--> nano (#24694)
jbrockmendel Jan 10, 2019
d46d2a5
BUG: do freq validation in DTA.__init__ (#24686)
jbrockmendel Jan 10, 2019
e2b2068
BUG: Fix DataFrame.astype(ExtensionDtype) with duplicate column names…
jschendel Jan 11, 2019
3fe28fc
CLN: replace %s syntax with .format in pandas.io (#24719)
makeajourney Jan 11, 2019
7c4efe0
DEPR/API: Revert handling of i8values to DatetimeIndex (#24708)
TomAugspurger Jan 11, 2019
c1a81fe
API: TimedeltaArray freq validation without _from_sequence (#24723)
jorisvandenbossche Jan 11, 2019
fdc4db2
RLS: 0.24.0rc1
TomAugspurger Jan 11, 2019
33f91d8
DOC: Small whatsnew fixes (#24738)
jschendel Jan 12, 2019
097c71f
implement Tick division, fix Timedelta.__cmp__ tick (#24710)
jbrockmendel Jan 13, 2019
8f5c9e3
PERF: 3x speedup in Series of dicts with datetime keys by not having …
qwhelan Jan 13, 2019
88a4170
DOC: Use backticks instead of quotes (#24744)
Jan 13, 2019
f641c35
CLN: More isort (#24745)
alimcmaster1 Jan 13, 2019
f02b548
Change MultiIndex repr (labels -> codes) (#24731)
topper-123 Jan 13, 2019
6c84005
ModuleNotFoundError in in_interactive_session (#24714)
dickreuter Jan 13, 2019
f160c7d
CLN/TST: indexing/multiindex/test_getitem.py (#24741)
simonjayhawkins Jan 13, 2019
10a353b
CI: Pinning flake8-rst, last version raises incorrect errors (#24756)
datapythonista Jan 13, 2019
cef5e8a
PERF: speed up .ix by moving deprecation string out of __init__ (#24747)
qwhelan Jan 13, 2019
306e733
STY: use pytest.raises context syntax (series/indexing/*) (#24750)
simonjayhawkins Jan 13, 2019
453fa85
CI: isort ci (#24746)
alimcmaster1 Jan 14, 2019
e2bf1ff
COMPAT: Properly encode filenames in read_csv (#24758)
gfyoung Jan 14, 2019
ff40c2f
DOC: Correct minor spelling error (#24770)
apryor6 Jan 14, 2019
6d3565a
API: Added is_extension_array_dtype (#24771)
TomAugspurger Jan 14, 2019
1d87989
fixes merge conflicts in PR #22185
dberenbaum Jan 15, 2019
e5316fd
fixes conflict in whatsnew doc in PR #22185
dberenbaum Jan 15, 2019
b4e28c4
fixes bugs in qcut unbounded tests
dberenbaum Jan 15, 2019
a17cc9b
sorts imports in pandas/core/reshape/tile.py
dberenbaum Jan 15, 2019
c2f194c
Update pandas/core/reshape/tile.py
TomAugspurger Jan 16, 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
  •  
  •  
  •  
29 changes: 0 additions & 29 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/contributing.rst) or [on the website](https://pandas-docs.github.io/pandas-docs-travis/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/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/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/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/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/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/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!
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ dist
coverage.xml
coverage_html_report
*.pytest_cache
# hypothesis test database
.hypothesis/

# OS generated files #
######################
Expand Down Expand Up @@ -99,6 +101,7 @@ asv_bench/pandas/
# Documentation generated files #
#################################
doc/source/generated
doc/source/api/generated
doc/source/_static
doc/source/vbench
doc/source/vbench.rst
Expand All @@ -107,6 +110,5 @@ doc/build/html/index.html
# Windows specific leftover:
doc/tmp.sv
doc/source/styled.xlsx
doc/source/templates/
env/
doc/source/savefig/
13 changes: 10 additions & 3 deletions .pep8speaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
scanner:
diff_only: True # If True, errors caused by only the patch are shown

# Opened issue in pep8speaks, so we can directly use the config in setup.cfg
# (and avoid having to duplicate it here):
# https://github.com/OrkoHunter/pep8speaks/issues/95

pycodestyle:
max-line-length: 79
ignore: # Errors and warnings to ignore
ignore:
- W503, # line break before binary operator
- W504, # line break after binary operator
- E402, # module level import not at top of file
- E731, # do not assign a lambda expression, use a def
- E741, # do not use variables named 'l', 'O', or 'I'
- W503 # line break before binary operator
- C406, # Unnecessary list literal - rewrite as a dict literal.
- C408, # Unnecessary dict call - rewrite as a literal.
- C409 # Unnecessary list passed to tuple() - rewrite as a tuple literal.
76 changes: 28 additions & 48 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,70 +23,51 @@ env:

git:
# for cloning
depth: 1000
depth: 2000

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" ENV_FILE="ci/travis-35-osx.yaml" TEST_ARGS="--skip-slow --skip-network"

include:
- dist: trusty
env:
- JOB="3.7" ENV_FILE="ci/travis-37.yaml" TEST_ARGS="--skip-slow --skip-network"
- JOB="3.7" ENV_FILE="ci/deps/travis-37.yaml" PATTERN="(not slow and not network)"

- dist: trusty
env:
- JOB="2.7, locale, slow, old NumPy" ENV_FILE="ci/travis-27-locale.yaml" LOCALE_OVERRIDE="zh_CN.UTF-8" SLOW=true
addons:
apt:
packages:
- language-pack-zh-hans
- dist: trusty
env:
- JOB="2.7, lint" ENV_FILE="ci/travis-27.yaml" TEST_ARGS="--skip-slow" LINT=true
- JOB="2.7" ENV_FILE="ci/deps/travis-27.yaml" PATTERN="(not slow or (single and db))"
addons:
apt:
packages:
- python-gtk2

- dist: trusty
env:
- JOB="3.6, coverage" ENV_FILE="ci/travis-36.yaml" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate" COVERAGE=true
# 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, slow" ENV_FILE="ci/travis-36-slow.yaml" SLOW=true
- JOB="3.6, coverage" ENV_FILE="ci/deps/travis-36.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, NumPy dev" ENV_FILE="ci/travis-36-numpydev.yaml" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate"
addons:
apt:
packages:
- xsel
- JOB="3.6, slow" ENV_FILE="ci/deps/travis-36-slow.yaml" PATTERN="slow"

# In allow_failures
- dist: trusty
env:
- JOB="3.6, doc" ENV_FILE="ci/travis-36-doc.yaml" DOC=true
- JOB="3.6, doc" ENV_FILE="ci/deps/travis-36-doc.yaml" DOC=true
allow_failures:
- dist: trusty
env:
- JOB="3.6, slow" ENV_FILE="ci/travis-36-slow.yaml" SLOW=true
- dist: trusty
env:
- JOB="3.6, NumPy dev" ENV_FILE="ci/travis-36-numpydev.yaml" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate"
addons:
apt:
packages:
- xsel
- JOB="3.6, slow" ENV_FILE="ci/deps/travis-36-slow.yaml" PATTERN="slow"
- dist: trusty
env:
- JOB="3.6, doc" ENV_FILE="ci/travis-36-doc.yaml" DOC=true
- JOB="3.6, doc" ENV_FILE="ci/deps/travis-36-doc.yaml" DOC=true

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

install:
- echo "install start"
Expand All @@ -115,24 +102,17 @@ before_script:

script:
- echo "script start"
- ci/run_build_docs.sh
- ci/script_single.sh
- ci/script_multi.sh
- ci/lint.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/build_docs.sh
- 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;
- source activate pandas-dev && pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
- if [ -e test-data-single.xml ]; then
ci/print_skipped.py test-data-single.xml;
fi
- if [ -e /tmp/multiple.xml ]; then
ci/print_skipped.py /tmp/multiple.xml;
- if [ -e test-data-multiple.xml ]; then
ci/print_skipped.py test-data-multiple.xml;
fi
- 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.
Loading