I have read this link: Check which columns in DataFrame are Categorical
I have a dataframe where salaries are mentioned with a $ prepended to it. It is also being shown as categorical data.
Moreover suppose my nominal data is not in form of strings such as 'F','M' etc. Then how do we classify which columns are numeric, categorical (with strings) and nominal?
Say my data looks like this:
ID Gender Salary HasPet
1 M $250 0
2 F $5000 0
3 M $4500 1
df.dtypesordf.info()?