captest.capdata.CapData.rep_cond_freq
- CapData.rep_cond_freq(irr_bal=False, percent_filter=20, front_poa='poa', w_vel=None, inplace=True, func=None, freq=None, grouper_kwargs={}, rc_kwargs={})
Calculate frequency-grouped reporting conditions.
Like
rep_condbut aggregates within groups defined byfreq(e.g.'MS'for month-start,'60D'for 60-day). Used for seasonal or monthly reporting tests.- Parameters:
irr_bal (bool, default False) – See
rep_cond.percent_filter (int, default 20) – See
rep_cond.front_poa (str, default 'poa') – See
rep_cond.w_vel (numeric or None) – See
rep_cond.inplace (bool, default True) – When True writes the multi-row RC DataFrame to
self.rc; when False returns the DataFrame.func (dict, str, callable, or None, default None) – See
rep_cond.freq (str or None) – Pandas offset alias.
Nonefalls back to single-rowrep_condbehavior.grouper_kwargs (dict) – Passed to
pandas.Grouper.rc_kwargs (dict) – Passed to
ReportingIrradiancewhenirr_balis True.
- Returns:
Multi-row DataFrame of per-group reporting conditions when
inplace=False. Otherwise stores onself.rcand returnsNone.- Return type:
DataFrame or None