Model database utilities¶
Common code for data input.
-
item.model.common.concat_versions(dataframes={})[source]¶ Convert a dict of dataframes to a single pd.DataFrame.
The keys of dataframes are saved in a new column ‘version’.
-
item.model.common.data_columns(df)[source]¶ Return a sorted list of non-index columns in pandas.Dataframe df.