Creating an empty dataframe with the same index and columns as another dataframe:
import pandas as pd
df_copy = pd.DataFrame().reindex_like(df_original)
Creating an empty dataframe with the same index and columns as another dataframe:
import pandas as pd
df_copy = pd.DataFrame().reindex_like(df_original)