pandas Example of an empty dataframe insert column name
- 2021-01-14 06:06:20
- OfStack
This is as follows:
colum = [' gender ',' age ','M',' Sample type '] + muta_list + ['B']
data1 = pd.DataFrame(columns=colum)
This is as follows:
colum = [' gender ',' age ','M',' Sample type '] + muta_list + ['B']
data1 = pd.DataFrame(columns=colum)