import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn.preprocessing import StandardScaler # Load the dataset with a different encoding url = '/kaggle/input/sample-sales-data/sales_data_sample.csv' df = pd.read_csv(url, encoding='ISO-8859-1') # Adjust encoding if need # Display the first few rows of the dataset print(df.head()) # Check for missing values print("\nMissing values in each column:") print(df.isnull().sum())
\ 0 897 Long Airport Avenue NaN NYC NY 1 59 rue de l'Abbaye NaN Reims NaN 2 27 rue du Colonel Pierre Avia NaN Paris NaN 3 78934 Hillside Dr. NaN Pasadena CA 4 7734 Strong St. NaN San Francisco CA
POSTALCODE COUNTRY TERRITORY CONTACTLASTNAME CONTACTFIRSTNAME DEALS
IZE 0 10022 USA NaN Yu Kwai Sm all 1 51100 France EMEA Henriot Paul Sm all 2 75508 France EMEA Da Cunha Daniel Med ium 3 90003 USA NaN Young Julie Med ium 4 NaN USA NaN Brown Julie Med ium
Instant ebooks textbook (Ebook) Structural Restoration of Masonry Monuments: Arches, Domes and Walls by George G. Penelis, Gregory G. Penelis ISBN 9780367109479, 0367109476 download all chapters