text_plain_output_1.png
import pandas as pd

data = pd.read_csv('../input/IMDB-Movie-Data.csv')

data.rename({'Runtime (Minutes)': 'Duration', 'Revenue (Millions)': 'Revenue'}, axis='columns', inplace=True)

print('The dataset contains NaN values: ', data.isnull().values.any())
print('Missing values in the dataset : ', data.isnull().values.sum())
for col in data.columns:
    nans = pd.value_counts(data[col].isnull())
    if len(nans) > 1:
        print('Column: ', col, ' , Missing values: ', nans[1])