clip_data function

Clip dataframe to the given start and stop time