All values of categorical data are either in categories or np.nan.

TRUE
nan
nan
nan

The correct answer is False.

Categorical data is data that can be classified into categories. For example, the data “gender” can be classified into the categories “male” and “female”. The data “color” can be classified into the categories “red”, “green”, and “blue”.

The values of categorical data are either in categories or np.nan. However, not all values of categorical data are np.nan. For example, the value “male” is a valid value for the data “gender”. The value “red” is a valid value for the data “color”.

Therefore, the statement “All values of categorical data are either in categories or np.nan” is false.

Exit mobile version