import pandas as pd
from pandas import DataFrame
from datetime import date

# df = pd.read_csv('attendance.csv')
# today = ""+str(date.today())

raw_data = {'date':['abc','def'],'val':[1,2]}
print(raw_data)

df = pd.DataFrame(raw_data)
df.to_csv('test.csv',index=False)


# date = pd.DataFrame(raw_data,columns = ["abc"])
# date.to_csv('test.csv')

# df = pd.concat([df,date],axis=1)

# df.to_csv('attendance.csv',index=False)


88fb8b524d6ac26189c89b8b4898d38d0109c8fd
<mask token>

<mask token>
print(raw_data)
<mask token>
df.to_csv('test.csv', index=False)

<mask token>
raw_data = {'date': ['abc', 'def'], 'val': [1, 2]}
print(raw_data)
df = pd.DataFrame(raw_data)
df.to_csv('test.csv', index=False)

import pandas as pd
from pandas import DataFrame
from datetime import date
raw_data = {'date': ['abc', 'def'], 'val': [1, 2]}
print(raw_data)
df = pd.DataFrame(raw_data)
df.to_csv('test.csv', index=False)

import pandas as pd
from pandas import DataFrame
from datetime import date

# df = pd.read_csv('attendance.csv')
# today = ""+str(date.today())

raw_data = {'date':['abc','def'],'val':[1,2]}
print(raw_data)

df = pd.DataFrame(raw_data)
df.to_csv('test.csv',index=False)


# date = pd.DataFrame(raw_data,columns = ["abc"])
# date.to_csv('test.csv')

# df = pd.concat([df,date],axis=1)

# df.to_csv('attendance.csv',index=False)

