We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
The following code
dates = ["2013/12/29", "2013/12/30", "2013/12/31"] dates = pandas.DatetimeIndex(dates, tz="Europe/Brussels") print dates.weekofyear print [d.weekofyear for d in dates]
gives
[52 1 1] [52, 52, 1]
i.e. calling weekofyear on the datetimeindex directly or iterating on the different dates of the datetimeindex gives different results.
Notice that if we remove the tz in the DatetimeIndex, the results are consistant.
Sébastien
The text was updated successfully, but these errors were encountered:
seems some kind of bug in the cython-code. want to dig in? (and no real tests of this in any event) https://github.com/pydata/pandas/blob/master/pandas/tslib.pyx#L2212
this takes input of the UTC i8 representation (e.g. the nanoseconds from epoch), like Timestamp(....).value) but as an array of dtype 'i8'
Timestamp(....).value
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hello,
The following code
gives
i.e. calling weekofyear on the datetimeindex directly or iterating on the different dates of the datetimeindex gives different results.
Notice that if we remove the tz in the DatetimeIndex, the results are consistant.
Sébastien
The text was updated successfully, but these errors were encountered: