Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

creating empty data frame pandas

import pandas as pd

col_names =  ['A', 'B', 'C']
my_df  = pd.DataFrame(columns = col_names)
my_df
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #creating #empty #data #frame #pandas
ADD COMMENT
Topic
Name
1+8 =