e15190.utilities.dataframe_histogram¶
Functions
|
|
|
|
|
|
|
Invoke Matplotlib's errorbar function. |
|
Invoke Matplotlib's hist function. |
|
|
|
|
|
|
|
Add up multiple dataframes. |
Classes
|
- e15190.utilities.dataframe_histogram._divide_arrays(arr_num, arr_den)¶
Element-wise division of two arrays.
Quotient is set to 0 if denominator is 0.
- e15190.utilities.dataframe_histogram.sum(*dfs: pandas.core.frame.DataFrame) pandas.core.frame.DataFrame¶
Add up multiple dataframes.
- e15190.utilities.dataframe_histogram.errorbar(df, ax=None, **kwargs)¶
Invoke Matplotlib’s errorbar function.
Automatically fill up
x,yandyerrin the errorbar function.- Parameters
df (pandas.DataFrame) – The histogram data stored in a dataFrame.
ax (matplotlib.axes.Axes, default None) – The axes to plot on. If None, the current axes will be used.
**kwargs – Additional keyword arguments to be passed to errorbar. Do not provide
x,y, oryerr.
- Returns
result – Return value of the errorbar function.
- Return type
matplolib.container.ErrorbarContainer
- e15190.utilities.dataframe_histogram.hist(df, ax=None, **kwargs)¶
Invoke Matplotlib’s hist function.
Automatically fill up
x,weights,range, andbinsin the hist function.- Parameters
df (pandas.DataFrame) – The histogram data stored in a dataFrame.
ax (matplotlib.axes.Axes, default None) – The axes to plot on. If None, the current axes will be used.
**kwargs – Additional keyword arguments to be passed to hist. Do not provide
x,weights,range, orbins.
- Returns
result – Return value of the hist function.
- Return type
matplolib.container.HistContainer