eq-python-client
eq-python-client copied to clipboard
Frequency: Allow conversion from pandas-like "M", "Q", "Y", "H" to ISO 8601-style periods
Rationale
Add a conversion function from a string such as "M" to a Frequency.P1M?
# Get a reference to Frequency.P1M
frequency = Frequency.from_str("M")
TODOs
- [ ] Find list of period-symbols in pandas
- [ ] What should the conversion function be called?