We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run the biplot function it raises an error when creating the label.
biplot
Python 3.10.12
pandas==2.0.3
ufunc 'add' did not contain a loop with signature matching types
This happens in this line of code:
https://github.com/erdogant/pca/blob/bc14fb7954272e02600dd370f3df5130219bc552/pca/pca.py#L1512C9-L1512C76
To resolve this issue, I slightly changed the string format to this:
label = f"{getfeat} ({topfeat['loading'].iloc[i]:.3g})"
I can create a PR for this fix.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I run the
biplot
function it raises an error when creating the label.Python 3.10.12
pandas==2.0.3
ufunc 'add' did not contain a loop with signature matching types
.This happens in this line of code:
https://github.com/erdogant/pca/blob/bc14fb7954272e02600dd370f3df5130219bc552/pca/pca.py#L1512C9-L1512C76
To resolve this issue, I slightly changed the string format to this:
I can create a PR for this fix.
The text was updated successfully, but these errors were encountered: