Skip to content

Resampling to unanchored week fails #1327

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

Closed
changhiskhan opened this issue May 28, 2012 · 1 comment
Closed

Resampling to unanchored week fails #1327

changhiskhan opened this issue May 28, 2012 · 1 comment
Labels
Bug Datetime Datetime data dtype
Milestone

Comments

@changhiskhan
Copy link
Contributor

In [16]: ts = tm.makeTimeSeries()

In [17]: ts.resample('W')
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
~/pandas/<ipython-input-17-d49462deed14> in <module>()
----> 1 ts.resample('W')

...


~/pandas/pandas/lib.so in pandas.lib.generate_bins_dt64 (pandas/src/tseries.c:60325)()

ValueError: Values falls after last bin
@wesm
Copy link
Member

wesm commented May 28, 2012

W I think should actually alias to W-SUN. I'll take care of this

@wesm wesm closed this as completed in 383b589 May 28, 2012
yarikoptic added a commit to neurodebian/pandas that referenced this issue Jun 21, 2012
Version 0.8.0 beta 1

* tag 'v0.8.0b1': (703 commits)
  RLS: 0.8.0 beta 1
  RLS: 0.8.0beta
  RLS: release notes
  ENH: add option to use Series.values to interpolate, close pandas-dev#1206
  TST: testing to close pandas-dev#1331
  DOC: groupby drop duplicate index pandas-dev#1312
  ENH: tz_convert for DataFrame pandas-dev#1330
  ENH: add NA handling to scatter_matrix, close pandas-dev#1297
  BUG: display localtime in DatetimeIndex.__repr__, close pandas-dev#1336
  DOC: draft of timeseries section of docs. Added Period related documentation and examples
  DOC: timezone handling and started on Period
  DOC: rough draft of DatetimeIndex, date_range, shifting/resampling etc
  DOC: more ts docs. Need to do resampling then PeriodIndex
  DOC: starting deeper revamp of ts docs for 0.8
  BUG: raise exception for unintellible frequency strings, close pandas-dev#1328
  ENH: construct PeriodIndex from arrays of fields, allow negative ordinals. close pandas-dev#1333 and pandas-dev#1264
  BUG: tsplot fix with business freq pandas-dev#1332
  BUG: DatetimeIndex partial slicing bug, tsplot kludge around pandas-dev#1332
  BUG: alias W to W-SUN, add test for buglet close pandas-dev#1327
  ENH: mix arrays and scalars in DataFrame constructor, close pandas-dev#1329
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Datetime Datetime data dtype
Projects
None yet
Development

No branches or pull requests

2 participants