假设我有一列显示日期
DoCmd.OutputTo acOutputReport, "reportname", acFormatPDF, _
"path" & rptReportName & "_" & rptReportCode & ".pdf"
我要根据上一行完成import pandas as pd
import numpy as np
dates = np.asanyarray(['2000-01-29','2000-01-29',np.nan,np.nan,'2000-02-05',np.nan])
dates = pd.to_datetime(dates)
df = pd.DataFrame(dates)
Out:
0
0 2000-01-29
1 2000-01-29
2 NaT
3 NaT
4 2000-02-05
5 NaT
NaT
我该怎么做?