evalml.utils.pad_with_nans

evalml.utils.pad_with_nans(pd_data, num_to_pad)[source]

Pad the beginning num_to_pad rows with nans.

Parameters

pd_data (pd.DataFrame or pd.Series) – Data to pad.

Returns

pd.DataFrame or pd.Series