# import numpy library as np
import numpy as np

# import pandas library as pd
import pandas as pd

# List of Tuples
staff = [('xyz', 22, 'Up', 'Geu'),
		('abc', np.NaN, 'Delhi', np.NaN),
		('stu', 16, 'Tokyo', 'Abes'),
		('cgh', 41, 'Delhi', 'Gehu'),
		('hsk', np.NaN, 'Delhi', 'Geu'),
		('hsy', 35, 'Mumbai', np.NaN ),
		('pqr', 35, np.NaN, 'Geu'),
		(np.NaN, 35, 'Uk', 'Geu'),
		('upq', 35, 'Guj', 'Gehu'),
		(np.NaN, np.NaN, np.NaN, np.NaN)

# Create a DataFrame object from
# list of tuples with columns
# and indices.
details = pd.DataFrame(staff, columns =['Name', 'Age',
										'Place', 'College'],
						index =['a', 'b', 'c', 'd', 'e',
								'f', 'g', 'i', 'j', 'k'])

# show the boolean dataframe			
print(" \nshow the boolean Dataframe : \n\n", details.isnull())

# Count total NaN in a DataFrame
print(" \nCount total NaN in a DataFrame : \n\n",