I imported standardscaler for a code:
from sklearn.preprocessing import standardscaler
It shows like
cannot import name 'standardscaler' from 'sklearn.preprocessing'
How to solve the error?
Names in Python are case-sensitive.
Try:
from sklearn.preprocessing import StandardScaler