text_html_output_1.png
import pandas as pd

articles_data = pd.read_csv('/kaggle/input/h-and-m-personalized-fashion-recommendations/articles.csv')
customers_data = pd.read_csv('/kaggle/input/h-and-m-personalized-fashion-recommendations/customers.csv')
submission_data = pd.read_csv('/kaggle/input/h-and-m-personalized-fashion-recommendations/sample_submission.csv')
trans_data = pd.read_csv('/kaggle/input/h-and-m-personalized-fashion-recommendations/transactions_train.csv')

customers_data_new = customers_data[customers_data['club_member_status'] == 'ACTIVE']

customers_data_new.drop(labels=['FN', 'Active', 'club_member_status', 'fashion_news_frequency'], axis=1, inplace=True)
customers_data_new.reset_index(drop=True, inplace=True)