#Dataframe.drop function help in python
1 messages · Page 1 of 1 (latest)
Yep now it runs but I think this tutorial has a lot of different things its not showing
Might be outdated compared to the package used ¯_(ツ)_/¯
the tutorial also has a df.convert_objects(convert_numeric=True) function as well which doesnt exist but im gonna have to find another one thanks though
its crazy bc this is the resource given to me by instructor lol
For you to actually learn and understand why you need to name the parameter.
There's positional, and keyword parameters in python.
Given dataframe.drop's signature being:
DataFrame.drop(labels=None, *, axis=0, index=None, columns=None, level=None, inplace=False, errors='raise')
The * in the parameter list marks the end of positional parameters, everything after that is forced as a keyword parameter and needs to be named to be passed.
okay gotcha thanks
Would you by chance know a good resource i can use to implement a supervised and unsupervised program?
I have no idea what you mean by either of those, so no