Announcing the winners & finalists of the Dataiku Frontrunner Awards 2021! Read their inspiring stories

PCA Jupyter Notebook Error

UserBird
Dataiker
Dataiker
PCA Jupyter Notebook Error
AttributeError: 'float' object has no attribute 'decode'

Any suggestions?
0 Kudos
1 Reply
UserBird
Dataiker
Dataiker
Author
Hi,

'decode' is only available for strings :

try to convert your filed you want to apply 'decode' to in string before applying this method and you won't have this issue anymore.



Julien
0 Kudos
Labels (3)
A banner prompting to get Dataiku DSS