3.6.14.1.4. statsmodels.graphics.utils.get_data_names

statsmodels.graphics.utils.get_data_names(series_or_dataframe)[source]

Input can be an array or pandas-like. Will handle 1d array-like but not 2d. Returns a str for 1d data or a list of strings for 2d data.