Answers for "creating a new dataframe in pandas giving column name"

2

initialize pandas dataframe with column names

column_names = ["a", "b", "c"]
df = pd.DataFrame(columns = column_names)
Posted by: Guest on October-19-2020

Code answers related to "creating a new dataframe in pandas giving column name"

Python Answers by Framework

Browse Popular Code Answers by Language