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

DOC: proposed fix for #4699: Period() docstring inconsistent with code when freq has a mult != 1 #5057

Merged
merged 2 commits into from
Oct 4, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/tseries/period.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Period(PandasObject):
value : Period or compat.string_types, default None
The time period represented (e.g., '4Q2005')
freq : str, default None
e.g., 'B' for businessday, ('T', 5) or '5T' for 5 minutes
e.g., 'B' for businessday. Must be a singlular rule-code (e.g. 5T is not allowed).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add something like: that this must be a singlular rule-code (e.g. 5T is not allowed)

year : int, default None
month : int, default 1
quarter : int, default None
Expand Down