Skip to content

Instantly share code, notes, and snippets.

@manmohan24nov
Created October 20, 2020 16:07
Show Gist options
  • Save manmohan24nov/3b29ff214d0c8d4944af93f051507866 to your computer and use it in GitHub Desktop.
Save manmohan24nov/3b29ff214d0c8d4944af93f051507866 to your computer and use it in GitHub Desktop.
In [1]: import pandas as pd
...: import numpy as np
...: import matplotlib.pyplot as plt
...: import seaborn as sns
...: from collections import Counter
In [2]: sales_data = pd.read_csv('sales_data_set.csv')
In [3]: sales_data
Out[3]:
Store Dept Date Weekly_Sales IsHoliday
0 1 1 05/02/2010 24924.50 False
1 1 1 12/02/2010 46039.49 True
2 1 1 19/02/2010 41595.55 False
3 1 1 26/02/2010 19403.54 False
4 1 1 05/03/2010 21827.90 False
... ... ... ... ... ...
421565 45 98 28/09/2012 508.37 False
421566 45 98 05/10/2012 628.10 False
421567 45 98 12/10/2012 1061.02 False
421568 45 98 19/10/2012 760.01 False
421569 45 98 26/10/2012 1076.80 False
[421570 rows x 5 columns]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment