image_output_1.png
import pandas as pd

df_cust = pd.read_csv('../input/customer-segmentation-dataset/Mall_Customers.csv')

df_genre = pd.DataFrame({'Genre': ['Female', 'Male'], 'Genre_code': [0, 1]})

df_genre.head()