Remove all external rows and columns that contains only nans. If internal is set, return the internal crop (largest internal rectangle without nans on the frame).
remove_nan_frame()