Skip to content

Display local time instead of UTC in DatetimeIndex.__repr__ #1336

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
wesm opened this issue May 29, 2012 · 0 comments
Closed

Display local time instead of UTC in DatetimeIndex.__repr__ #1336

wesm opened this issue May 29, 2012 · 0 comments
Labels
Bug Datetime Datetime data dtype
Milestone

Comments

@wesm
Copy link
Member

wesm commented May 29, 2012

In [33]: rng
Out[33]: 
<class 'pandas.tseries.index.DatetimeIndex'>
[2010-04-13 00:00:00, ..., 2012-03-06 00:00:00]
Length: 100, Freq: W-TUE, Timezone: None

In [34]: rng.tz_localize('US/Eastern')
Out[34]: 
<class 'pandas.tseries.index.DatetimeIndex'>
[2010-04-13 04:00:00, ..., 2012-03-06 05:00:00]
Length: 100, Freq: W-TUE, Timezone: US/Eastern
@wesm wesm closed this as completed in a53cfa9 May 29, 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

1 participant