Fixes #4467 : Updates time_series for pandas deprecation #4530
On Wed, Feb 27, 2019 at 10:41 AM HSR05 ***@***.***> wrote: ref : #4467 <#4467> — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#4530 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AASszP72pKYGFJvIvXs0TfCeoj29Q2lyks5vRtFQgaJpZM4bVMZ2> .
I see a few more uses of the deprecated pandas behavior throughout dask. Do you mind updating those while you're at it?
dask/dataframe/io/tests/test_demo.py 21: assert df.divisions == tuple(pd.DatetimeIndex(start='2000', end='2015', dask/dataframe/io/demo.py 45: index = pd.DatetimeIndex(start=start, end=end, freq=freq, name='timestamp') 90: divisions = list(pd.DatetimeIndex(start=start, end=end, dask/dataframe/tests/test_dataframe.py 1393: ind = pd.DatetimeIndex(start=start, end=end, freq='60s') dask/dataframe/core.py 4296: divisions = pd.DatetimeIndex(start=start, dask/dataframe/utils.py 393: return pd.PeriodIndex(start='1970-01-01', periods=2, freq=idx.freq,
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.