DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+6 =
Submit