encode all non numeric columns in pandas 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