Skip to content
New issue

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

ValueError: could not convert string to float: 'dur' in #18

Open
liheyong opened this issue Aug 17, 2021 · 1 comment
Open

ValueError: could not convert string to float: 'dur' in #18

liheyong opened this issue Aug 17, 2021 · 1 comment

Comments

@liheyong
Copy link

dear author

when i run this code
arise an error:
ValueError: could not convert string to float: 'dur' in
scaler = Normalizer().fit(X)
Is there any solution??

thanks!!

@PrivateALun
Copy link

Check your input data, it must be 'float', instead of 'string'.
it may be solved by one of the methods:

  • Modify the argument in the 'iloc' method.
  • Remove the headers of your csv file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants