I'm trying to print out data values extracted from excel file using pandas but the dates are coming with hours values as well
the code:
import pandas as pd
df = pd.read_excel(r'C:\gits\PCIv1.xlsm',sheet_name=9,names=None)
df = df.dropna()
print(df)
the output
Unnamed: 0 Unnamed: 1 Unnamed: 2
0 ID Loja Data
6 19 B019 BOMPREÇO PIEDADE 2020-05-17 00:00:00
I want to eliminate the '00:00:00' and keep only the day/month in format DD/MM
Any help?
Tks