curvefit.utils.smoothing.df_to_mat
Convert columns in data frame to matrix
Arguments
df (pandas.DataFrame)
: given data frame.col_val (str)
: value column.col_axis (List[str])
: axis column.return_indices (bool, optional)
: if True, return indices of the original values and the corresponding axis values in the data frame.
Returns
(numpy.ndarray)
: converted matrix