toad.plot module¶
-
toad.plot.
badrate_plot
(frame, x=None, target='target', by=None, freq=None, format=None, return_counts=False, return_proportion=False, return_frame=False)[source]¶ plot for badrate
Parameters: - frame (DataFrame) –
- x (str) – column in frame that will be used as x axis
- target (str) – target column in frame
- by (str) – column in frame that will be calculated badrate by it
- freq (str) – offset aliases string by pandas http://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases
- format (str) – format string for time
- return_counts (bool) – if need return counts plot
- return_frame (bool) – if need return frame
Returns: badrate plot Axes: counts plot Axes: proportion plot Dataframe: grouping detail data
Return type: Axes
-
toad.plot.
corr_plot
(frame, figure_size=(20, 15))[source]¶ plot for correlation
Parameters: frame (DataFrame) – frame to draw plot Returns: Axes