text_html_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

train = pd.read_csv('/kaggle/input/rossmann-store-sales/train.csv')
test = pd.read_csv('/kaggle/input/rossmann-store-sales/test.csv')
store = pd.read_csv('/kaggle/input/rossmann-store-sales/store.csv')

print('Sample having 0 sales :', train[train['Sales'] <= 0].shape, '\n')
print('Store Open : 1,', 'Store Closed : 0')
print(train['Open'].value_counts(), '\n')
print('Sample having closed store and sale is 0 :', train[(train['Sales'] <= 0) & (train['Open'] == 0)].shape)