text_plain_output_1.png
import pandas as pd

import seaborn as sns

sales = pd.read_csv('../input/sales-store-product-details/Salesstore.csv')

sales.columns

sales.shape

sales_id = sales['Order_ID']
sales_pname = sales['Product_Name']
sales = sales.drop(columns='Order_ID')
sales = sales.drop(columns='Product_Name')
sales.columns

num_cols = sales._get_numeric_data().columns
cont_cols = []
for i in num_cols:
    if len(sales[i].unique()) > int(sales.shape[0] / 25):
        cont_cols.append(i)

cat_cols = list(set(sales.columns) - set(cont_cols))
cat_cols

sns.countplot(sales.Ship_Mode)
sales.Ship_Mode.value_counts()