I have a excel dump which has 50+ columns with either dates or blank cells. When I read these excels in python they appear as dates with time stamp. Thus I tried to split every cell and convert into a string using a for loop -
for all in df2:
df2['all'] = df2['all'].astype(str).str[0:10]
however this is not working - any suggestions how to go about.