text_html_output_1.png
import pandas as pd

data = pd.read_csv('/kaggle/input/loan-data-set/loan_data_set.csv')

data = data.dropna()

data_encoded = pd.get_dummies(data, columns=['Property_Area'])

data_encoded.head(10)