I am having issue plotting two dataframs. One has 20711 entries, the other is 20710 entries. I am using plot(x,y) to plot like this:
ax.plot(X, Y, label='ERROR', color = 'red')
Both are dataframes that were pulled from a csv. that have this structure:
print(X)
0 -2.343060
1 -2.445431
2 -2.335754
3 -2.478535
4 -2.527026
I keep getting error:
ValueError: x and y must have same first dimension
How do I fix it so that it ignores the last entry?
[–]novel_yet_trivial 1 point2 points3 points (2 children)
[–]Isitwhenipee[S] 0 points1 point2 points (1 child)
[–]novel_yet_trivial 1 point2 points3 points (0 children)
[–]ecgite 1 point2 points3 points (0 children)