How to display the entire output and not shortened versions
Alternatively to Marce's answer, you can display all the rows without finding N by using:

with pd.option_context("display.max_rows", -1):
    display(train.isnull().sum())