pyform.analysis.returns.
table_calendar_return
Create calendar like monthly return table
return_series – A return series. Should be of minimum monthly frequency
use_month_abbr – Whether to use 3 letter month abbreviations instead of numerical month. Defaults to True.
DataFrame with columns: Year, Jan, Feb, …, Dec, Total
pd.DataFrame