Skip to content

Error using Lin_kk function #11

@daleduncan

Description

@daleduncan

Running the ex4.Lin_KK(legend='potential') function in the tutorial gives me the following error:

   ~\anaconda3\lib\site-packages\PyEIS\PyEIS.py", line 2639, in Lin_KK
     self.KK_rr_re.append(residual_real(re=self.df[i].re, fit_re=self.KK_circuit_fit[i].real, fit_im=-self.KK_circuit_fit[i].imag)) #relative residuals for the real part
 
   ~\anaconda3\lib\site-packages\pandas\core\generic.py", line 5139, in __getattr__
     return object.__getattribute__(self, name)
 
 AttributeError: 'Series' object has no attribute 'real'

I am able to successful run all previous tutorial examples.
Has anyone experienced a similar issue and discovered a solution?
I am running Python 3.8.3 on Windows 10. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions