get_plot_df

WorktimeCalculator.get_plot_df(rule='D', date_time_column='start') DataFrame[source]

Return a Dataframe prepared for plotting.

Dataframe with a DateTimeIndex, columns named by occupation and containing the worked time of that occupation for the given samplingrate

Parameters

rule (str) – Resampling rule see pandas.DataFrame.resample

Returns

Dataframe with a DateDimeIndex, columns named by occupation and containing the worktime of that occupation for the samplingrate

Return type

pandas.DataFrame