Anybody have ideas why my bar plot is coming out with multiple vertical lines like this? The plot should look like the second one. But I was trying to fix some other errors and produced new problems instead.
Code: plot = = data.resample('YE').count().to_period('Y').plot.bar(legend=False, rot=0, grid=True, figsize=(12,6))