Last answered:

05 Nov 2022

Posted on:

24 Aug 2022

0

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)
Posted on:

05 Nov 2022

1

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.

Submit an answer