mspu.pandas.create_empty_df#
- mspu.pandas.create_empty_df(col_types: dict[str, str], ind_types: dict[str, str] = None) DataFrame[source]#
Create an empty df with specified index and column types.
- Parameters:
- col_typesdict[str, str]
Column name and type.
- ind_typesdict[str, str], optional
Index level name and type.
- Returns:
- pd.DataFrame
An empty DataFrame with the specified index and column types.