-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
Odd behaviour of resample+mean+interpolate on int64 series #16361
Milestone
Comments
Thanks for the report! It looks like the in the first case the internal data structures are getting into an invalid state.
|
@jreback I think this blocker for 0.20.2? I can take a look tomorrow if you don't have time. |
hmm did this work on 0.19.2? |
I think so In [6]: pd.__version__
Out[6]: '0.19.2'
In [7]: df = {"a": [1,3,1,4]}
...: df = pd.DataFrame(df, index=pd.date_range("2017-01-01", "2017-01-04"))
...:
In [8]: df.resample("H").mean()["a"]._data.blocks[0]
Out[8]: FloatBlock: 73 dtype: float64 |
jreback
added a commit
to jreback/pandas
that referenced
this issue
May 31, 2017
jreback
added a commit
to jreback/pandas
that referenced
this issue
May 31, 2017
jreback
added a commit
that referenced
this issue
May 31, 2017
TomAugspurger
pushed a commit
to TomAugspurger/pandas
that referenced
this issue
Jun 1, 2017
…andas-dev#16549) closes pandas-dev#16361 (cherry picked from commit e437ad5)
TomAugspurger
pushed a commit
that referenced
this issue
Jun 4, 2017
Kiv
pushed a commit
to Kiv/pandas
that referenced
this issue
Jun 11, 2017
stangirala
pushed a commit
to stangirala/pandas
that referenced
this issue
Jun 11, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this issue is present on the latest stable release (as well as latest master at the time of this writing). for frames with only
int64
values, the following has strange behaviourmy workaround is more than enough for me but i figured i'd report it anyway...
pandas: 0.21.0.dev+31.g0ea0f25bf
pytest: 3.0.7
pip: 9.0.1
setuptools: 35.0.2
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.19.0
xarray: None
IPython: 6.0.0
sphinx: None
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2017.2
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 2.0.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999999999
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.9.6
s3fs: None
pandas_gbq: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: