Scott Sanderson
9cc2ecf8d5
BUG: Remove set_trace and add test coverage.
2016-09-20 17:46:27 -04:00
Scott Sanderson
c28ac1a4a5
MAINT: Bump blaze.
2016-09-20 17:12:09 -04:00
Scott Sanderson
c5936b86d6
MAINT: Silence bad perf warning from pandas.
2016-09-20 17:12:09 -04:00
Scott Sanderson
ab9a5d7060
MAINT: Use randint instead of random_integers.
2016-09-20 17:12:09 -04:00
Scott Sanderson
6e3bfe2d78
MAINT: Rebuild example data.
2016-09-20 17:12:09 -04:00
Scott Sanderson
2522ca28ae
BUG: Don't fail on integral floats in event rules.
...
Coerce and warn instead.
2016-09-20 17:12:08 -04:00
Scott Sanderson
467a4f8225
MAINT: Bump blaze.
2016-09-20 17:12:08 -04:00
Scott Sanderson
5370948196
MAINT: Use sort_values instead of sort().
2016-09-20 17:12:08 -04:00
Scott Sanderson
ce76acce46
MAINT: Use df.resample().apply().
2016-09-20 17:12:08 -04:00
Scott Sanderson
ec89402a3e
MAINT: Fix PerformanceWarning import.
2016-09-20 17:12:08 -04:00
Scott Sanderson
918de6ad26
MAINT: Use explicit floats in np.full.
2016-09-20 17:12:08 -04:00
Scott Sanderson
f77892240a
MAINT: Use specific versions in appveyor.yml.
2016-09-20 17:12:08 -04:00
Scott Sanderson
ddef107fa1
BLD: Downgrade to scipy 0.17.
...
Anaconda doesn't have windows builds for scipy 0.18 (nor does
conda-forge.)
2016-09-20 17:12:08 -04:00
Scott Sanderson
46cf54b180
MAINT: Remove outdated compat code.
2016-09-20 17:12:07 -04:00
Scott Sanderson
c6dc1db1f2
BLD: Update appveyor.yml for new pandas/numpy.
2016-09-20 17:12:07 -04:00
Scott Sanderson
6aeba11176
STY: Fix flake8 failures.
2016-09-20 17:12:07 -04:00
Scott Sanderson
ebbd79c7db
MAINT: Put scipy back in travis reqs.
2016-09-20 17:12:07 -04:00
Scott Sanderson
9e517691bb
BLD: Remove old numpy/pandas versions from travis.
2016-09-20 17:12:07 -04:00
Scott Sanderson
48a44f321a
DOC: Note where cleanup happens.
2016-09-20 17:12:07 -04:00
Scott Sanderson
4ba064dae7
MAINT: Don't make datetime64 from tz-aware Timestamp.
...
It's slow and deprecated.
2016-09-20 17:12:07 -04:00
Scott Sanderson
f24db9c30c
DOC: Typo in comment.
2016-09-20 17:12:07 -04:00
Scott Sanderson
b639555404
MAINT: Use errors='coerce'.
...
coerce=True is deprecated.
2016-09-20 17:12:07 -04:00
Scott Sanderson
493e18252d
MAINT: Temporarily ignore pandas warnings in categoricals.
...
Pandas 0.18 doesn't like having null-ish values in categoricals. Fixing
this properly requires re-thinking the semantics for missing_value on
pipeline terms, so we're punting on that until after we've upgraded to
0.18.
2016-09-20 17:12:07 -04:00
Scott Sanderson
a9c02935c6
Revert "MAINT: Remove support for custom string Column missing values."
...
This reverts commit 1b1e842e2339d6d0ee40cdfe34dcd27b4e4a7c0c.
2016-09-20 17:12:07 -04:00
Scott Sanderson
ed365dc5fe
MAINT: Remove support for custom string Column missing values.
...
Pandas 0.18 deprecated passing "null-ish" values to pd.categorical. The
expectation, instead, is that you use categorical's native support for
missing data, which means the user will always get NaN's for missing
entries of the categorical.
A follow-up to this change should probably drop support for custom
missing values entirely and to use LabelArray/categorical for integer
data.
2016-09-20 17:12:07 -04:00
Scott Sanderson
da8ed8919e
MAINT: Pandas compat for rolling_*.
2016-09-20 17:12:07 -04:00
Scott Sanderson
52166e9958
MAINT: Pass float to np.full explicitly.
2016-09-20 17:12:07 -04:00
Scott Sanderson
4c3c2fd13c
MAINT: Don't use convert_objects().
...
It's not necessary, and it's deprecated.
2016-09-20 17:12:07 -04:00
Scott Sanderson
a1273cd669
MAINT: Fix warnings from numpy labelarray methods.
2016-09-20 17:12:07 -04:00
Scott Sanderson
af5f4be17c
MAINT: Fix warnings from numpy on NaT comparison.
2016-09-20 17:12:07 -04:00
Scott Sanderson
9bd6cab115
MAINT: Pass float explicitly.
2016-09-20 17:12:07 -04:00
Scott Sanderson
b9c2e8c1c6
MAINT: Use sort_values instead of sort().
...
Sort is deprecated.
2016-09-20 17:12:07 -04:00
Scott Sanderson
9aa866e434
MAINT: Use sort_values() instead of sort().
...
pd.DataFrame.sort() is deprecated.
2016-09-20 17:12:07 -04:00
Scott Sanderson
f30fc28b5c
MAINT: Pass float explicitly to numpy.
2016-09-20 17:12:07 -04:00
Scott Sanderson
ef88dfdad2
MAINT: Use dataframe.iteritems instead of iterkv.
...
iterkv is deprecated.
2016-09-20 17:12:07 -04:00
Scott Sanderson
74277490d5
BUG: Use arrays for week/month group calculations.
...
In pandas 0.18, the behavior of ``nth()`` changed so that Grouper no
longer can be easily used to recover group labels.
Instead of using the built-in grouper behavior, we use a groupby on two
arrays we build ourselves. This recovers the original behavior, and is
about 2x faster as a bonus.
2016-09-20 17:12:07 -04:00
Scott Sanderson
f8734e8721
MAINT/TEST: Clarify test_events.
...
- Refer to ``sessions`` instead of periods.
- Use ``toolz.concat`` instead of an O(N ** 2) sequence of appends.
2016-09-20 17:12:07 -04:00
Scott Sanderson
259f10a2d9
MAINT: Pass float to np.full explicitly.
2016-09-20 17:12:07 -04:00
Scott Sanderson
434d7c69d3
TEST/MAINT: Silence no_checkpoints warning.
2016-09-20 17:12:07 -04:00
Scott Sanderson
905df55a2d
MAINT: Use float in np.full.
2016-09-20 17:12:07 -04:00
Scott Sanderson
c4e114c28f
MAINT: Pass explicit dtype to np.full.
2016-09-20 17:12:07 -04:00
Scott Sanderson
dafe49fcca
MAINT: Fix failures/warnings in test_api_shim.py
...
- Fixes a warning on indexing with a float that ultimately came from
pd.Timedelta.total_seconds(). Adds ``timedelta_to_integral_seconds``
and ``timedelta_to_integral_minutes()`` functions and replaces various
usages of ``int(delta.total_seconds())`` with them.
- Fixes a warnings triggered in ``_create_daily_stats`` from
passing tz-aware datetimes to np.datetime64.
2016-09-20 17:12:07 -04:00
Scott Sanderson
e43a3e8b1b
MAINT: Use arange instead of rolling_count.
...
It's faster, and rolling_count is deprecated.
2016-09-20 16:24:55 -04:00
Scott Sanderson
e33c42b3a9
MAINT: Update fetcher for pandas 0.18.
...
- Remove support for usecols=[].
- Use sort_values instead of sort().
- Use errors='coerce' instead of coerce=True.
2016-09-20 16:24:55 -04:00
Scott Sanderson
61a56492e6
ENH: Make INT_DTYPES_BY_SIZE_BYTES ordered.
2016-09-20 16:24:55 -04:00
Scott Sanderson
fc3eac36aa
DOC: Update LabelArray docstring.
2016-09-20 16:24:55 -04:00
Scott Sanderson
b06ef66f44
DOC: Remove out of date comment.
2016-09-20 16:24:55 -04:00
Scott Sanderson
0d8e99956e
MAINT: Fix numpy deprecation warnings.
2016-09-20 16:24:55 -04:00
Scott Sanderson
be30c0072d
MAINT: Explicitly use float64 in test.
2016-09-20 16:24:54 -04:00
Scott Sanderson
d2f0632101
MAINT: Don't use .loc with integers.
2016-09-20 16:24:54 -04:00