Skip to content
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

infer_freq on a series #6274

Closed
jseabold opened this issue Feb 5, 2014 · 1 comment · Fixed by #6275
Closed

infer_freq on a series #6274

jseabold opened this issue Feb 5, 2014 · 1 comment · Fixed by #6275
Labels
Bug Frequency DateOffsets

Comments

@jseabold
Copy link
Contributor

jseabold commented Feb 5, 2014

Somewhat related to #6273 . I'm fairly certain though not positive that this also used to work on 0.12.x.

df = pd.DataFrame(np.random.rand(5,3))
df['date'] = ['1-1-1990', '2-1-1990', '3-1-1990', '4-1-1990', '5-1-1990']
pd.infer_freq(df['date'])

Raises Series has no attribute is_monotonic. I guess infer_freq now expects either an Index or ....?

[22]: pd.version.version
[22]: '0.13.0-472-g9109812'
@jreback
Copy link
Contributor

jreback commented Feb 5, 2014

#6275 will close this as well (its the same issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frequency DateOffsets
Projects
None yet
2 participants