ax = fig.gca()
pplt.grid(True)
pplt.plot(df['Date'], pivot, label="Pivot")
plt.show()
I'm drawing a graph with their code. df['Date'] returns 160 rows of data. the number from the pivot is still equal to
I want to add one more data to this.
plt.plot(df['Date'], ema, label="EMA", linestyle='dashed')
but the problem is that 160 rows are coming from df['Date'] but 100 rows of data is coming from ema and naturally it gives an error and does not generate the graph. The first 60 lines of ema are nan . what I want to do is pass the first 60 (or how many are empty) blanks and add them to the chart.
How can I do that?
Thanks

