For a given dataframe with a datetime column (2018-09-09 06:15:00), I would like to find all the rows that match a given date "2018-01-08".
I have tried something like this:
def get_connections(df, mydate):
connections = df.loc[(df['dates']) == mydate]
return connections