I have two data.frame, the first one is the date frame,the second one is the city frame ,and I am trying to merge the two frame into one.
the date frame:
date
2018/7/7
2018/7/8
2018/7/9
the city frame:
area
beijing
shanghai
guangzhou
The result I want is:
date area
2018/7/7 beijing
2018/7/7 shanghai
2018/7/7 guangzhou
2018/7/8 beijing
2018/7/8 shanghai
2018/7/8 guangzhou
2018/7/9 beijing
2018/7/9 shanghai
2018/7/9 guangzhou
Thanks in advance!