python code to make a column a factor variable code example
Example: how to convert categorical data to binary data in python
MedInc False
HouseAge False
AveRooms False
AveBedrms False
Population False
AveOccup False
Latitude False
Longitude False
Price False
dtype: bool