Skip to content

Merge commit #3

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 221 commits into from
Nov 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
48d0460
DEPR: deprecate .select() in favor of .loc[] (#17633)
jreback Oct 4, 2017
a26afca
Move fields functions out of the way (#17770)
jbrockmendel Oct 4, 2017
d9a8014
DOC: Add column name metadata to spec (#17769)
cpcloud Oct 4, 2017
6b29fc0
DEPR: Deprecate parse_cols in read_excel (#17774)
gfyoung Oct 4, 2017
37860a5
Implement NaT properties/methods directly (#17765)
jbrockmendel Oct 5, 2017
d099f88
DOC: Clarifying use of categorical data in describe docstring (#16722…
reidy-p Oct 5, 2017
6773694
Use argument dtype to inform coercion (#17779)
TomAugspurger Oct 5, 2017
3fae8dd
DEPR: deprecate .get_value and .set_value for Series, DataFrame, Pane…
jreback Oct 5, 2017
3c19232
DOC: Column indexes should use the same metadata as columns (#17795)
cpcloud Oct 5, 2017
e7bb63c
Revert "CI: pin pytables to valid build (#17760)" (#17768)
jreback Oct 5, 2017
7740a6e
API: Change str for CategoricalDtype to category (#17783)
TomAugspurger Oct 5, 2017
7a57b83
DEPR: deprecate raise_on_error in .where/.mask in favor of errors= (#…
jreback Oct 5, 2017
22515f5
CI: Unpin Miniconda for CI (#17752)
TomAugspurger Oct 5, 2017
556b791
BUG/API: Raise when extension class passed to astype (#17796)
TomAugspurger Oct 5, 2017
1bc238a
Fix 17788: Fix documentation that mentioned the deprecated `how` para…
jbochi Oct 6, 2017
a211b51
DOC: add references for different index types + examples for pd.Index…
topper-123 Oct 6, 2017
5653fe4
DOC: some typos in whatsnew (#17802)
jorisvandenbossche Oct 6, 2017
4379d04
DOC: Add examples to MultiIndex.slice_locs + note that index.slice re…
topper-123 Oct 6, 2017
3b4121b
ENH: Add tranparent compression to json reading/writing (#17798)
simongibbons Oct 6, 2017
5bb693a
BLD: fix setup.py for xref #17798 (#17804)
jreback Oct 6, 2017
1335090
DOC: sub-section on boolean Index array changes (#17803)
jreback Oct 6, 2017
e63c935
Lock down kwargs in offsets signatures (#17458)
jbrockmendel Oct 6, 2017
7db7f82
DOC: small typo (#17811)
qinhanmin2014 Oct 7, 2017
e6aa14e
Typo in error message (#17817)
sgowris2 Oct 8, 2017
6e81222
ERR: Clarify exceptions for invalid datetimelike operations (#17772)
mturzanska Oct 8, 2017
f9ba6fe
ERR: Raise ValueError when setting scalars in a dataframe with no ind…
alanbato Oct 8, 2017
9f0ee53
MAINT: Effeciently --> Efficiently
gfyoung Oct 9, 2017
f57071a
Moved timezones and offset_types to conftest (#17825)
GuessWhoSamFoo Oct 9, 2017
2ebe085
ENH: Add Index.to_frame method (#17815)
gfyoung Oct 9, 2017
35590c6
DEPR: Deprecate tupleize_cols in read_csv (#17820)
gfyoung Oct 9, 2017
3ba2cff
BUG: Coerce to numeric despite uint64 conflict (#17823)
gfyoung Oct 9, 2017
0f548d4
DEPR: Deprecate from_csv in favor of read_csv (#17812)
gfyoung Oct 10, 2017
390f36e
Remove keep_tz kwarg from DatetimeIndex.to_frame (#17826)
jorisvandenbossche Oct 10, 2017
6ff8434
TST: cleanup warnings on mpl 2.1 (#17835)
jreback Oct 10, 2017
d12a7a0
COMPAT: sum/prod on all nan will remain nan regardless of bottleneck …
jreback Oct 10, 2017
727ea20
API: Added axis argument to rename, reindex (#17800)
TomAugspurger Oct 10, 2017
3544394
API: Deprecate renamae_axis and reindex_axis (#17842)
TomAugspurger Oct 11, 2017
9772c22
BUG: Fix default encoding for CSVFormatter.save (#17821)
Licht-T Oct 11, 2017
7e159ae
TST: Add the default separator test for PythonParser (#17822)
Licht-T Oct 11, 2017
eac4d3f
REF/INT: concat blocks of same type with preserving block type (#17728)
jorisvandenbossche Oct 12, 2017
92db5c9
DEPR: Deprecate the convert parameter completely (#17831)
gfyoung Oct 12, 2017
839a746
Whatsnew cleanup (#17858)
TomAugspurger Oct 13, 2017
c277cd7
RLS: v0.21.0rc1
TomAugspurger Oct 13, 2017
0926b2d
BUG: set tz on DTI from fixed format HDFStore (#17844)
jjhelmus Oct 13, 2017
3c964a4
CLN: Use pandas.core.common for None checks (#17816)
jschendel Oct 13, 2017
446d5b4
BUG: to_json - prevent various segfault conditions (GH14256) (#17857)
matthiashuschle Oct 14, 2017
b594137
DEPR: Deprecate read_csv arguments fully (#17865)
gfyoung Oct 14, 2017
7a2891b
BUG: merging with a boolean/int categorical column (#17841)
jdrudolph Oct 14, 2017
e001500
Refactor index-as-string groupby tests and fix spurious warning (Bug …
jonmmease Oct 14, 2017
8d16271
TST: remove some deprecation warnings (#17870)
jreback Oct 14, 2017
9cbf895
ERR: Raise ValueError when week is passed in to_datetime format witho…
reidy-p Oct 14, 2017
5c0b20a
ENH: tolerance now takes list-like argument for reindex and get_index…
buntwo Oct 14, 2017
a85bfdc
TST: remove moar warnings (#17872)
jreback Oct 14, 2017
528fdaa
flake8 cleanup (#17873)
jbrockmendel Oct 14, 2017
aed9b92
TST: Catch read_html slow test warning (#17874)
gfyoung Oct 15, 2017
c987694
TST: Skip if no openpyxl in test_excel (#17883)
gfyoung Oct 16, 2017
00f23ca
DOC: Adding examples to update docstring (#16812) (#17859)
reidy-p Oct 16, 2017
a2ff3f0
BUG: Fix wrong column selection in drop_duplicates when duplicate col…
Licht-T Oct 16, 2017
34978a7
DEPR: Deprecate tupleize_cols in to_csv (#17877)
gfyoung Oct 16, 2017
9092445
CategoricalDtype construction: actually use fastpath (#17891)
jorisvandenbossche Oct 16, 2017
5bf7f9a
BUG: support "fill_value" for ".unstack()" called with list of levels…
toobaz Oct 16, 2017
a0a0f5a
BUG: Categorical(Index) passed as categories (#17888)
jorisvandenbossche Oct 18, 2017
bbaa576
Revert "ERR: Raise ValueError when setting scalars in a dataframe wit…
jreback Oct 18, 2017
6691285
CLN/TST: amended TypeError from pd.concat() to be more informative (#…
AdamShamlian Oct 18, 2017
5687f9e
Add GroupBy.pipe method (#17871)
topper-123 Oct 18, 2017
e457325
DOC: Fix improper single ticks in whatsnew (#17916)
jschendel Oct 19, 2017
a2e5400
BUG: Fix range dtype in Series/DataFrame constructor on Windows (#17840)
jschendel Oct 19, 2017
29a9f63
DOC: some doc fixes (#17913)
jorisvandenbossche Oct 19, 2017
51c5f4d
DOC: Fix docstring for DataFrame.plot (#17922)
tobycheese Oct 19, 2017
a441d23
DOC: update Performance Considerations section in docs (#17303)
rvernica Oct 20, 2017
cd477c8
BUG: Fix alignment of list-like objects (#17926)
jschendel Oct 20, 2017
77b4bb3
tslib flake8 cleanup, missing declarations (#17907)
jbrockmendel Oct 20, 2017
95b422c
DOC: Improve truncate docstring (#17763) (#17925)
reidy-p Oct 21, 2017
5314578
Fix c build warnings #17634; remove several unused funcs (#17932)
jbrockmendel Oct 21, 2017
058da72
Move timedelta-specific functions to tslibs.timedeltas (#17827)
jbrockmendel Oct 21, 2017
e2b49ba
DOC:Cleaned up the read_sql_table docstring (#17946)
scotthavard92 Oct 23, 2017
5b99ae2
DOC: Clarify use of resample bins (#14888) (#17940)
reidy-p Oct 23, 2017
097eb69
fix "Modern Pandas" url (#17948)
aaron315 Oct 23, 2017
e1dabf3
fix redundant isinstance checks (#17942)
jbrockmendel Oct 23, 2017
36c309e
DOC:Cleaned up docstrings in sql.py (#17967)
scotthavard92 Oct 25, 2017
6779ac0
PERF: Fix regression in datetime ops (#17980)
TomAugspurger Oct 26, 2017
6a94518
DOC: Document return type from concat (#17953)
TomAugspurger Oct 26, 2017
7aeccd3
Rename categories with Series (#17982)
TomAugspurger Oct 26, 2017
3863063
BUG/REF: Handle ambiguous rename case (#17966)
TomAugspurger Oct 27, 2017
79498e3
DOC: Some changes (#17992)
TomAugspurger Oct 27, 2017
e38bd74
REF/INT: preserve block type in joining when only having a single blo…
jorisvandenbossche Oct 27, 2017
cc7abd9
DOC: clean old whatsnew files for 0.21.0 (#17999)
jorisvandenbossche Oct 27, 2017
0091268
DOC: clean-up 0.21.0 whatsnew file (#18001)
jorisvandenbossche Oct 27, 2017
8137209
RLS: v0.21.0
TomAugspurger Oct 27, 2017
fc1e507
DEV: Start 0.22 cycle
TomAugspurger Oct 27, 2017
f7f33a7
Checks for tz/tzinfo validity in Timestamp.__new__ (#17943)
jbrockmendel Oct 27, 2017
bdeadb9
Added applying of multiple columns to resample (#17950)
discort Oct 27, 2017
37c9cea
ENH: avoid creating reference cycle on indexing (#15746) (#17956)
pitrou Oct 27, 2017
dff5109
COMPAT: Update for NumPy dev (#17987)
TomAugspurger Oct 27, 2017
5dd2ea0
Add timestamp method+test; closes #17329 (#17906)
jbrockmendel Oct 27, 2017
f39f62e
isolate scalar Timestamp tests from date_range tests (#17957)
jbrockmendel Oct 27, 2017
78c8e17
flake8 cleanup (#17964)
jbrockmendel Oct 28, 2017
4489389
nat division by timedelta (#17955)
jbrockmendel Oct 28, 2017
46826ad
REF: Special case NumericIndex._append_same_dtype() (#17307)
toobaz Oct 28, 2017
1977362
have _NaT subclass datetime directly (#17793)
jbrockmendel Oct 28, 2017
39a6b8f
TST: clean warnings (#18012)
jreback Oct 28, 2017
34abef2
BUG: Fix memory access violations in is_lexsorted (#18005)
cgohlke Oct 28, 2017
b2d0d1b
Start porting offsets to cython (#17830)
jbrockmendel Oct 28, 2017
5959ee3
ERR: Fix segfault with .astype('category') on empty DataFrame (#18015)
jschendel Oct 29, 2017
cd64aea
BUG: fix dtype of all-NaN categories and MultiIndex levels (#17934)
toobaz Oct 29, 2017
a355ed2
Implement npy_dtime.pyx (#17805)
jbrockmendel Oct 29, 2017
4af9a8b
use np_datetime where possible (#18023)
jbrockmendel Oct 29, 2017
3f4089d
Removed references to v0.17 in docs and doc strings. (#17923)
topper-123 Oct 30, 2017
52fe6bc
DOC: slice_indexer correction + examples (#17829)
topper-123 Oct 30, 2017
8449ffd
BUG: read_msgpack raise an error when passed an non existent path in …
chrisburr Oct 30, 2017
6e11c10
BLD: alias warning in float hashtabl (#18025)
chris-b1 Oct 31, 2017
e886af5
BUG: Fix parsing of stata dates (#17797) (#17990)
miker985 Oct 31, 2017
4152a31
follow-up to #17943, closes #5168 (#18033)
jbrockmendel Oct 31, 2017
5d096f7
Support more styles for xlsxwriter (#16149)
jnothman Oct 31, 2017
62dd2d3
Separate conversion functions out from tslib (#17875)
jbrockmendel Oct 31, 2017
823cfc4
Separate tests specific to tslibs modules (#18036)
jbrockmendel Oct 31, 2017
c65a0f5
TST: Add tests for sparse quantile/where (#17568)
Licht-T Oct 31, 2017
08158c0
Follow-Up To #17875 (#18043)
jbrockmendel Oct 31, 2017
4578a03
TST: #15752 Add drop_duplicates tests for uint, float and bool for Se…
jamestran201-alt Oct 31, 2017
d80a4b8
move src/datetime.pxd funcs to np_datetime and fix misleading names (…
jbrockmendel Oct 31, 2017
e922016
Move NaT to self-contained module (#18014)
jbrockmendel Nov 1, 2017
f052225
Separate out arithmetic tests for datetimelike indexes (#18049)
jbrockmendel Nov 1, 2017
881ee30
Adding skip to test failing because of lxml import (#17747) (#17748)
datapythonista Nov 1, 2017
f62c85a
a zillion flakes (#18046)
jbrockmendel Nov 1, 2017
ff805c3
TST: separate out grouping-type tests (#18057)
jreback Nov 1, 2017
1719437
BUG: DataFrame.groupby() interprets tuple as list of keys
GuessWhoSamFoo Nov 1, 2017
bc88240
CLN: some lint issues
jreback Nov 1, 2017
15fa4bd
read_html(): rewinding [wip] (#18017)
LiamIm Nov 1, 2017
cd6dc87
CI: temp disable scipy on windows 3.6 build (#18078)
jreback Nov 2, 2017
21f9e1a
DOC: Remove duplicate 'in' from contributing.rst (#18040) (#18076)
mattayes Nov 2, 2017
bb4fa65
improve test output for Categoricals (#18069)
topper-123 Nov 2, 2017
194dbff
MAINT: Remove np.array_equal calls in tests (#18047)
gfyoung Nov 2, 2017
94bca94
Move scalar arithmetic tests to tests.scalars (#18075)
jbrockmendel Nov 2, 2017
0fd3bd7
Update Contributing Environment section (#18052)
TomAugspurger Nov 2, 2017
804fb99
Index tests in the wrong places (#18074)
jbrockmendel Nov 2, 2017
90fb0e3
Move comparison utilities to np_datetime; (#18080)
jbrockmendel Nov 2, 2017
427d283
Separate _TSObject into conversion (#18060)
jbrockmendel Nov 2, 2017
b4375bd
Port Timedelta implementation to tslibs.timedeltas (#17937)
jbrockmendel Nov 3, 2017
27bbea7
COMPAT: compare platform return on 32-bit (#18090)
jreback Nov 3, 2017
86e9dcc
Fix 18068: Updates merge_asof error, now outputs datatypes (#18082)
manrajgrover Nov 3, 2017
52e186c
TST: Add regression test for empty DataFrame groupby (#18097)
Licht-T Nov 4, 2017
e0c9c67
BUG: Fix the error when reading the compressed UTF-16 file (#18091)
Licht-T Nov 4, 2017
5f11353
BUG: Implement PeriodEngine to fix PeriodIndex truncate bug (#17755)
Licht-T Nov 4, 2017
3268f4e
standardize indentation, arrange in allphabetical order (#18104)
jbrockmendel Nov 4, 2017
a61bb64
BLD: Make sure to copy ZIP files for parser tests (#18108)
gfyoung Nov 4, 2017
2d6f836
Revert "CI: temp disable scipy on windows 3.6 build (#18078)" (#18105)
jreback Nov 4, 2017
8388a47
Masking and overflow checks for datetimeindex and timedeltaindex ops …
jbrockmendel Nov 4, 2017
e1f3a70
BUG: Override mi-columns in to_csv if requested (#18110)
gfyoung Nov 5, 2017
de299f6
BLD: list proper deps for tslib (#18117)
jreback Nov 5, 2017
58c2f09
Let CategoricalIndex take CategoricalDtype as dtype (#18116)
topper-123 Nov 5, 2017
bc69dc6
COMPAT: 32-bit indexers compat (#18122)
jreback Nov 5, 2017
f7f214b
CLN: Minor cleanup in parsers.py
gfyoung Nov 5, 2017
1181622
DOC: Remove stray '}' in frame.py docs (#18131)
Nov 6, 2017
9c49e64
TST: #15752 Add test_drop_duplicates for Categorical dtypes (#18072)
jamestran201-alt Nov 6, 2017
f17aa26
Implement numpy_helper functions directly in cython (#18059)
jbrockmendel Nov 6, 2017
980f650
BUG: MultiIndex mangling during parsing (#18094)
WillAyd Nov 6, 2017
6f0ff1a
TST: Add another test for segfault in C engine (#18128)
gfyoung Nov 6, 2017
e23bd24
TST: Check lossiness of floats with parse_dates (#18136)
gfyoung Nov 6, 2017
c176a3c
BUG: Don't parse NA-values in index when requested (#18127)
gfyoung Nov 6, 2017
d7c04fb
Index tests indexing (#18145)
jbrockmendel Nov 7, 2017
537e880
cleanup unused imports, constants (#18119)
jbrockmendel Nov 7, 2017
8441f02
COMPAT: 32-bit indexer (#18149)
jreback Nov 7, 2017
a2d0eed
Fix df.to_csv() for string arrays when encoded in utf-8 (#18013)
rtkaleta Nov 7, 2017
488db6f
TST: add back test_generic.py, accid removed in the big reorg (#18114)
jreback Nov 7, 2017
d3d60f8
Implement BaseOffset in tslibs.offsets (#18016)
jbrockmendel Nov 8, 2017
93c755e
BUG:fix rolling skew kurt floating issue (#18065)
zartbot Nov 8, 2017
079f678
Modernize indexes.timedeltas, indexes.datetimeindex (#18161)
jbrockmendel Nov 8, 2017
6b29671
move implementation of Timedelta to tslibs.timedeltas (#18085)
jbrockmendel Nov 8, 2017
5350330
Doc (#18168)
Giftlin Nov 8, 2017
c8aad92
Add test for #15966 (#18170)
watercrossing Nov 8, 2017
93586ff
MultiIndex Doc (#18169)
Giftlin Nov 8, 2017
5128fe6
restrict columns to read for pandas.read_parquet (#18155)
hoffmann Nov 8, 2017
4054632
Fix groupby().count() for datetimelike columns (#18167)
watercrossing Nov 8, 2017
8dac633
CI: don't show miniconda output on install / numpy 1.14 compat (#18157)
jreback Nov 8, 2017
ba231d4
DOC: Fix various warnings (#18083)
TomAugspurger Nov 9, 2017
8113b87
CLN: remove obsolete scripts (#18181)
jreback Nov 9, 2017
17e0b13
Fix 18121: Add .pxd linting to lint.sh (#18150)
manrajgrover Nov 9, 2017
2f9d4fb
parametrize the first few arithmetic tests (#18133)
jbrockmendel Nov 9, 2017
ca737ac
DOC: Remove vendored IPython.sphinext (#18193)
TomAugspurger Nov 9, 2017
324ac85
Allow accessing AxisProperties on classes (#18196)
TomAugspurger Nov 10, 2017
6b3641b
Fix for #18178 and #18187 by changing the concat of empty RangeIndex…
SmokinCaterpillar Nov 10, 2017
a6345c7
Add requirement for a 1-dimensional ndarray in the `pd.qcut` docstrin…
jdoepfert Nov 10, 2017
150f6d4
sas7bdat: Check if the SAS file has zero variables (#18184)
AbdealiLoKo Nov 10, 2017
276b3c3
DOC: edit whatsnew
jreback Nov 10, 2017
75c1fa0
ENH: allow using '+' sign in the argument to `to_offset()` (#18171)
frexvahi Nov 10, 2017
f12a6dd
DOC: add v0.21.1 to whatsnew display
jreback Nov 10, 2017
9050e38
DOC: add v0.22.0 to whatsnew display
jreback Nov 10, 2017
d8129b4
CLN: replace %s syntax with .format in plotting, stats, tseries (#18010)
corazzon Nov 10, 2017
bbadc81
COMPAT: re-enable dateutil install from master (#18172)
jreback Nov 10, 2017
f68bf25
ENH: improve 'incompatible tolerance' error message in merge_asof (#1…
leifwalsh Nov 10, 2017
b37e4f5
DOC: small whatsnew updates (#18219)
jreback Nov 11, 2017
3493aba
_concat_rangeindex_... now returns an empty RangeIndex for empty rang…
SmokinCaterpillar Nov 11, 2017
b36dab5
PERF: Add cache keyword to to_datetime (#11665) (#17077)
mroeschke Nov 11, 2017
85e6864
DOC: clarfiy sum of empty Series case + matplotlib registering in 0.2…
jorisvandenbossche Nov 11, 2017
96a5274
TST: clean up some tests issues & style (#18232)
jreback Nov 11, 2017
aebe2a9
Remove old warnings (plus some useless code) (#18022)
toobaz Nov 12, 2017
9dc9d80
melt moved into its own module (#18148)
tdpetrou Nov 12, 2017
bd62014
Implement scalar shift_month mirroring tslib.shift_months (#18218)
jbrockmendel Nov 12, 2017
eb39b44
BUG: MultiIndex not raising AttributeError with a million records (#1…
WillAyd Nov 12, 2017
fbe15d0
CI: slightly more robust xfvb starting (#18239)
jreback Nov 12, 2017
40fd6b4
TST: xfail dateutil > 2.6.1 tests (#18240)
jreback Nov 12, 2017
cd80f08
PERF: Vectorized Timedelta property access (#18092) (#18225)
WillAyd Nov 12, 2017
5e553ce
Assert at least one tz arg is always UTC (#18228)
jbrockmendel Nov 12, 2017
9e3ad63
Move normalization funcs up to conversion (#18086)
jbrockmendel Nov 12, 2017
7b5ca80
COMPAT: Warnings (#18247)
jreback Nov 13, 2017
b85db93
CI: move clipboard tests to an allowed-failure test (#18251)
jreback Nov 13, 2017
6b8474a
TST: conform tests for datetutil > 2.6.1 (#18253)
jreback Nov 13, 2017
4c63875
Groupby tuples
toobaz Nov 13, 2017
4292a27
TST: move grouping test to correct location
jreback Nov 13, 2017
c3cfe90
Tslibs resolution (#18034)
jbrockmendel Nov 13, 2017
feaa0d0
DOC: Error msg using Python keyword in numexpr query #18221 (#18248)
WillAyd Nov 13, 2017
cff2842
COMPAT: avoid invalid buffer comparisions (#18252)
jreback Nov 13, 2017
7f4c960
Separate tick tests, use pytest parametrize (#18233)
jbrockmendel Nov 13, 2017
7495e9a
DOC: add docstring for MultiIndex.fillna (#18018) (#18269)
ghasemnaddaf Nov 13, 2017
69472f9
CLN/DEPR: remove setter for MultiIndex levels/labels properties (#18256)
jorisvandenbossche Nov 13, 2017
22fcf43
DOC/DEPR: ensure that @deprecated functions have correct docstring (#…
jorisvandenbossche Nov 14, 2017
7857c68
DOC: updated (Series/DataFrame).combine_first doc strings (#18266)
topper-123 Nov 14, 2017
1e30886
updated (Series/DataFrame).combine doc strings (#18268)
topper-123 Nov 14, 2017
77f10f0
Fix #17965 to allow full comparison of datetimelike objects (#18188)
watercrossing Nov 14, 2017
ef4e30b
ENH: Pass kwargs from read_parquet() to the underlying engines. (#18216)
Nov 14, 2017
63e8527
DOC: clarify idxmax behaviour issue #18206 (#18209)
ghasemnaddaf Nov 14, 2017
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,4 @@ doc/build/html/index.html
doc/tmp.sv
doc/source/styled.xlsx
doc/source/templates/
doc/source/savefig/
24 changes: 12 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ matrix:
- dist: trusty
env:
- JOB="3.5" TEST_ARGS="--skip-slow --skip-network" COVERAGE=true
addons:
apt:
packages:
- xsel
- dist: trusty
env:
- JOB="3.6" TEST_ARGS="--skip-slow --skip-network" PANDAS_TESTING_MODE="deprecate" CONDA_FORGE=true
Expand All @@ -66,7 +62,11 @@ matrix:
# In allow_failures
- dist: trusty
env:
- JOB="2.7_BUILD_TEST" TEST_ARGS="--skip-slow" BUILD_TEST=true
- JOB="3.6_BUILD_TEST" TEST_ARGS="--skip-slow" BUILD_TEST=true
addons:
apt:
packages:
- xsel
# In allow_failures
- dist: trusty
env:
Expand All @@ -75,17 +75,17 @@ matrix:
- dist: trusty
env:
- JOB="3.6_DOC" DOC=true
addons:
apt:
packages:
- xsel
allow_failures:
- dist: trusty
env:
- JOB="2.7_SLOW" SLOW=true
- dist: trusty
env:
- JOB="2.7_BUILD_TEST" TEST_ARGS="--skip-slow" BUILD_TEST=true
- JOB="3.6_BUILD_TEST" TEST_ARGS="--skip-slow" 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"
Expand All @@ -102,8 +102,6 @@ before_install:
- uname -a
- git --version
- git tag
- ci/before_install_travis.sh
- export DISPLAY=":99.0"

install:
- echo "install start"
Expand All @@ -114,6 +112,8 @@ install:

before_script:
- ci/install_db_travis.sh
- export DISPLAY=":99.0"
- ci/before_script_travis.sh

script:
- echo "script start"
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include MANIFEST.in
include LICENSE
include RELEASE.md
include README.rst
include README.md
include setup.py
include pyproject.toml

Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ clean_pyc:
build: clean_pyc
python setup.py build_ext --inplace

lint-diff:
git diff master --name-only -- "*.py" | grep "pandas" | xargs flake8

develop: build
-python setup.py develop

Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ environment:
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
CONDA_PY: "36"
CONDA_NPY: "112"
CONDA_NPY: "113"

- CONDA_ROOT: "C:\\Miniconda3_64"
PYTHON_VERSION: "2.7"
Expand Down Expand Up @@ -59,7 +59,7 @@ install:

# install our build environment
- cmd: conda config --set show_channel_urls true --set always_yes true --set changeps1 false
# - cmd: conda update -q conda
- cmd: conda update -q conda
- cmd: conda config --set ssl_verify false

# add the pandas channel *before* defaults to have defaults take priority
Expand Down
9 changes: 9 additions & 0 deletions asv_bench/benchmarks/categoricals.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def setup(self):
self.datetimes = pd.Series(pd.date_range(
'1995-01-01 00:00:00', periods=10000, freq='s'))

self.values_some_nan = list(np.tile(self.categories + [np.nan], N))
self.values_all_nan = [np.nan] * len(self.values)

def time_concat(self):
concat([self.s, self.s])

Expand All @@ -46,6 +49,12 @@ def time_constructor_datetimes_with_nat(self):
t.iloc[-1] = pd.NaT
Categorical(t)

def time_constructor_with_nan(self):
Categorical(self.values_some_nan)

def time_constructor_all_nan(self):
Categorical(self.values_all_nan)


class Categoricals2(object):
goal_time = 0.2
Expand Down
19 changes: 19 additions & 0 deletions asv_bench/benchmarks/index_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,22 @@ def time_min(self):

def time_min_trivial(self):
self.idx_inc.min()


class IndexOps(object):
goal_time = 0.2

def setup(self):
N = 10000
self.ridx = [RangeIndex(i * 100, (i + 1) * 100) for i in range(N)]
self.iidx = [idx.astype(int) for idx in self.ridx]
self.oidx = [idx.astype(str) for idx in self.iidx]

def time_concat_range(self):
self.ridx[0].append(self.ridx[1:])

def time_concat_int(self):
self.iidx[0].append(self.iidx[1:])

def time_concat_obj(self):
self.oidx[0].append(self.oidx[1:])
16 changes: 16 additions & 0 deletions asv_bench/benchmarks/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,19 @@ def setup(self):

def time_subset(self):
self.p.ix[(self.inds, self.inds, self.inds)]


class IndexerLookup(object):
goal_time = 0.2

def setup(self):
self.s = Series(range(10))

def time_lookup_iloc(self):
self.s.iloc

def time_lookup_ix(self):
self.s.ix

def time_lookup_loc(self):
self.s.loc
43 changes: 43 additions & 0 deletions asv_bench/benchmarks/timedelta.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,46 @@ def setup(self):

def test_add_td_ts(self):
self.td + self.ts


class TimedeltaProperties(object):
goal_time = 0.2

def setup(self):
self.td = Timedelta(days=365, minutes=35, seconds=25, milliseconds=35)

def time_timedelta_days(self):
self.td.days

def time_timedelta_seconds(self):
self.td.seconds

def time_timedelta_microseconds(self):
self.td.microseconds

def time_timedelta_nanoseconds(self):
self.td.nanoseconds


class DatetimeAccessor(object):
goal_time = 0.2

def setup(self):
self.N = 100000
self.series = pd.Series(
pd.timedelta_range('1 days', periods=self.N, freq='h')
)
def time_dt_accessor(self):
self.series.dt

def time_timedelta_dt_accessor_days(self):
self.series.dt.days

def time_timedelta_dt_accessor_seconds(self):
self.series.dt.seconds

def time_timedelta_dt_accessor_microseconds(self):
self.series.dt.microseconds

def time_timedelta_dt_accessor_nanoseconds(self):
self.series.dt.nanoseconds
41 changes: 38 additions & 3 deletions asv_bench/benchmarks/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,17 +346,22 @@ class ToDatetime(object):

def setup(self):
self.rng = date_range(start='1/1/2000', periods=10000, freq='D')
self.stringsD = Series((((self.rng.year * 10000) + (self.rng.month * 100)) + self.rng.day), dtype=np.int64).apply(str)
self.stringsD = Series(self.rng.strftime('%Y%m%d'))

self.rng = date_range(start='1/1/2000', periods=20000, freq='H')
self.strings = [x.strftime('%Y-%m-%d %H:%M:%S') for x in self.rng]
self.strings_nosep = [x.strftime('%Y%m%d %H:%M:%S') for x in self.rng]
self.strings = self.rng.strftime('%Y-%m-%d %H:%M:%S').tolist()
self.strings_nosep = self.rng.strftime('%Y%m%d %H:%M:%S').tolist()
self.strings_tz_space = [x.strftime('%Y-%m-%d %H:%M:%S') + ' -0800'
for x in self.rng]

self.s = Series((['19MAY11', '19MAY11:00:00:00'] * 100000))
self.s2 = self.s.str.replace(':\\S+$', '')

self.unique_numeric_seconds = range(10000)
self.dup_numeric_seconds = [1000] * 10000
self.dup_string_dates = ['2000-02-11'] * 10000
self.dup_string_with_tz = ['2000-02-11 15:00:00-0800'] * 10000

def time_format_YYYYMMDD(self):
to_datetime(self.stringsD, format='%Y%m%d')

Expand All @@ -381,6 +386,36 @@ def time_format_exact(self):
def time_format_no_exact(self):
to_datetime(self.s, format='%d%b%y', exact=False)

def time_cache_true_with_unique_seconds_and_unit(self):
to_datetime(self.unique_numeric_seconds, unit='s', cache=True)

def time_cache_false_with_unique_seconds_and_unit(self):
to_datetime(self.unique_numeric_seconds, unit='s', cache=False)

def time_cache_true_with_dup_seconds_and_unit(self):
to_datetime(self.dup_numeric_seconds, unit='s', cache=True)

def time_cache_false_with_dup_seconds_and_unit(self):
to_datetime(self.dup_numeric_seconds, unit='s', cache=False)

def time_cache_true_with_dup_string_dates(self):
to_datetime(self.dup_string_dates, cache=True)

def time_cache_false_with_dup_string_dates(self):
to_datetime(self.dup_string_dates, cache=False)

def time_cache_true_with_dup_string_dates_and_format(self):
to_datetime(self.dup_string_dates, format='%Y-%m-%d', cache=True)

def time_cache_false_with_dup_string_dates_and_format(self):
to_datetime(self.dup_string_dates, format='%Y-%m-%d', cache=False)

def time_cache_true_with_dup_string_tzoffset_dates(self):
to_datetime(self.dup_string_with_tz, cache=True)

def time_cache_false_with_dup_string_tzoffset_dates(self):
to_datetime(self.dup_string_with_tz, cache=False)


class Offsets(object):
goal_time = 0.2
Expand Down
1 change: 1 addition & 0 deletions ci/before_install_travis.sh → ci/before_script_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ echo "inside $0"

if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sh -e /etc/init.d/xvfb start
sleep 3
fi

# Never fail because bad things happened here.
Expand Down
14 changes: 14 additions & 0 deletions ci/environment-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pandas-dev
channels:
- defaults
- conda-forge
dependencies:
- Cython
- NumPy
- moto
- pytest
- python-dateutil
- python=3
- pytz
- setuptools
- sphinx
4 changes: 2 additions & 2 deletions ci/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $MINICONDA_URL = "http://repo.continuum.io/miniconda/"

function DownloadMiniconda ($python_version, $platform_suffix) {
$webclient = New-Object System.Net.WebClient
$filename = "Miniconda3-4.3.21-Windows-" + $platform_suffix + ".exe"
$filename = "Miniconda3-latest-Windows-" + $platform_suffix + ".exe"
$url = $MINICONDA_URL + $filename

$basedir = $pwd.Path + "\"
Expand Down Expand Up @@ -85,7 +85,7 @@ function UpdateConda ($python_home) {

function main () {
InstallMiniconda "3.5" $env:PYTHON_ARCH $env:CONDA_ROOT
# UpdateConda $env:CONDA_ROOT
UpdateConda $env:CONDA_ROOT
InstallCondaPackages $env:CONDA_ROOT "conda-build jinja2 anaconda-client"
}

Expand Down
6 changes: 2 additions & 4 deletions ci/install_circle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@ echo "[Using clean Miniconda install]"
rm -rf "$MINICONDA_DIR"

# install miniconda
# wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -q -O miniconda.sh || exit 1
# Pin miniconda
wget https://repo.continuum.io/miniconda/Miniconda2-4.3.21-Linux-x86_64.sh -q -O miniconda.sh || exit 1
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -q -O miniconda.sh || exit 1
bash miniconda.sh -b -p "$MINICONDA_DIR" || exit 1

export PATH="$MINICONDA_DIR/bin:$PATH"

echo "[update conda]"
conda config --set ssl_verify false || exit 1
conda config --set always_yes true --set changeps1 false || exit 1
# conda update -q conda
conda update -q conda

# add the pandas channel to take priority
# to add extra packages
Expand Down
10 changes: 3 additions & 7 deletions ci/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,9 @@ fi

# install miniconda
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
# temporarily pin miniconda
# time wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh || exit 1
time wget https://repo.continuum.io/miniconda/Miniconda2-4.3.21-MacOSX-x86_64.sh -O miniconda.sh || exit 1
time wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -q -O miniconda.sh || exit 1
else
# temporarily pin miniconda
# time wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh || exit 1
time wget https://repo.continuum.io/miniconda/Miniconda2-4.3.21-Linux-x86_64.sh -O miniconda.sh || exit 1
time wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -q -O miniconda.sh || exit 1
fi
time bash miniconda.sh -b -p "$MINICONDA_DIR" || exit 1

Expand All @@ -52,7 +48,7 @@ echo
echo "[update conda]"
conda config --set ssl_verify false || exit 1
conda config --set quiet true --set always_yes true --set changeps1 false || exit 1
# conda update -q conda
conda update -q conda

echo
echo "[add channels]"
Expand Down
Loading