I have two dataframes: One has company name and date only. Other has only time stamps. Like shown below
creationdate
0 2012-05-01 18:20:27.167000
1 2012-05-01 19:16:08.070000
2 2012-05-01 19:20:07.880000
3 2012-05-01 19:33:02.200000
4 2012-05-01 19:35:09.173000
5 2012-05-01 20:18:55.610000
6 2012-05-01 20:26:27.577000
7 2012-05-01 20:32:34.343000
8 2012-05-01 20:39:31.257000
9 2012-05-01 21:04:50.357000
10 2012-05-01 21:54:18.983000
11 2012-05-02 02:23:53.250000
12 2012-05-02 02:40:27.643000
13 2012-05-02 08:44:28.260000
And
sitename date
0 Google 2012-05-01
1 Google 2012-05-02
2 Google 2012-05-03
3 Google 2012-05-04
4 Google 2012-05-05
5 Google 2012-05-06
6 Google 2012-05-07
7 Google 2012-05-08
8 Google 2012-05-09
9 Google 2012-05-10
How can I efficiently loop through the second dataframe and extract the timestamp from the first dataframe corresponding to each date in the second dataframe.