Question #130   Submitted by Answiki on 08/31/2020 at 12:00:02 PM UTC

How to create an empty dataframe with Pandas / Python?

Answer   Submitted by Answiki on 08/31/2020 at 12:03:08 PM UTC

In Python, to create an empty dataframe with Pandas simply call pd.DataFrame() :

import pandas as pd
my_Dataframe = pd.DataFrame()

2 events in history
Answer by Answiki on 08/31/2020 at 12:03:08 PM

In Python, to create an empty dataframe with Pandas simply call pd.DataFrame() :

import pandas as pd
my_Dataframe = pd.DataFrame()

Question by Answiki 08/31/2020 at 12:00:02 PM
How to create an empty dataframe with Pandas / Python?
# ID Query URL Count

Icons proudly provided by Friconix.