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
Should conform with new PeriodIndex.to_timestamp, add lots of test for annual, quarterly, other frequencies
def start_time(self): return self.to_timestamp(which_end='S') def end_time(self): return self.to_timestamp(which_end='E') def to_timestamp(self, which_end='S'): """ Return the Timestamp at the start/end of the period Parameters ---------- which_end: str, default 'S' (start) 'S', 'E'. Can be aliased as case insensitive 'Start', 'Finish', 'Begin', 'End' Returns ------- Timestamp """ which_end = _validate_end_alias(which_end) new_val = self.asfreq('S', which_end) base, mult = _gfc(new_val.freq) return Timestamp(lib.period_ordinal_to_dt64(new_val.ordinal, base, mult))
The text was updated successfully, but these errors were encountered:
1a35746
No branches or pull requests
Should conform with new PeriodIndex.to_timestamp, add lots of test for annual, quarterly, other frequencies
The text was updated successfully, but these errors were encountered: