python-pandas 0.17.1-3ubuntu2 bug in functionality
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pandas (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The .apply() function does not work for resample function in this release.
Here a code sample to reproduce the error:
#### Code
import numpy as np
import pandas as pd
from pandas.io import sql
rng = pd.date_
df2 = pd.DataFrame(
x=df2.resample(
print x.shape
y=df2.resample(
print y.shape
z=df2.resample(
print z.shape
print z
print('stop')
#### Output
(37, 1)
(37, 1)
(1,)
The function how='median' is deprecate and .apply(
On other systems the usage of how=xxx and .apply(xxx) is equivalent.
affects: | ubuntu-mate → pandas (Ubuntu) |
Fixed in Disco (0.23.3) and probably earlier.