i try to find a value using timestamp like under data.
date foo bar
2019-01-26 22:22:12 1 100
2018-11-07 13:12:26 1 100
2019-01-20 06:30:39 1 100
2018-11-05 21:21:29 0 80
2018-11-06 09:01:39 0 100
when i use under code, Series not supported it.
tmp = df[df.date.day == 20]
so i using loop that every rows readed and pharsing data.
for i in range(len(df)):
if df.date[i].day == 20:
.
.
.
but i think it too long to finish my all data.
Is there a way to find a value using a timestamp?