plt.xticks(np.arange(0, len(x) + 1)[::365], x[::365])
plt.plot(dates, CentreLiftEffectiveCurrent)
plt.title('CentreLiftEffectiveCurrent')
I'm getting 1e^38 abnormal values for my variable CentreLiftEffectiveCurrent. how can i remove them and plot the graph again with the desired values
A usually good way to filter "abnormal" values is to filter the outliers, i.e. values that are outside a range around the median values fo your dataset:
you can plot a box plot to see these outliers:
ps: sorry this is q3 and not q2 on the sketch
you can see here also a discussion about this