我有一個 DataFrame,它有一個我用pd.to_datetime函數創建的 time_stamp 列。date_start | column2 | column3 | column...2018-09-22 12:30:00 x x x當我嘗試遍歷此列時,我無法匹配時間戳。例如,當我嘗試時一無所獲:for i in df['date_start']: if i == user_entry: print('something')即使用戶條目中肯定有匹配值,我也永遠不會得到正確的輸出。有人可以幫忙嗎?
添加回答
舉報
0/150
提交
取消