When using iloc to select data, missing values are preserved in the output. If a selected element is NaN (a missing value), it will be included in the result.