Why is pyplot joining points randomly when I run this code?
def plot_date_value(single_data_frame): date_axis_data = [] value_axis_data = [] date_
It connects the points in the order given. Your dates are not sorted.
Try changing the for loop to:
for
for item in sorted(single_data_frame):