Resolved: Python AttributeError: module 'scipy.stats' has no attribute 'plobplot'
AttributeError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_13000/2480442556.py in <module>
----> 1 scipy.stats.plobplot(df_comp.spx,plot=pylab)
2 pylab.show()
AttributeError: module 'scipy.stats' has no attribute 'plobplot'
Please help to resove
1 answers ( 1 marked as helpful)
Hey Prachi,
The attribute instructor was talking about is `probplot`.
Your code should look like,
import scipy.stats
import pylab
scipy.stats.probplot(df_comp['spx'], plot = pylab)
pylab.show()
Thank You.