- MultiIndex.__call__(dataframe, head=None, tail=None, sample=None, random_state=None, lazy=False, inplace=False)#
dataframe (pd.DataFrame) – the dataframe to be validated.
head (int) – validate the first n rows. Rows overlapping with tail or sample are de-duplicated.
tail (int) – validate the last n rows. Rows overlapping with head or sample are de-duplicated.
bool) – if True, lazily evaluates dataframe against all validation checks and raises a
SchemaErrors. Otherwise, raise
SchemaErroras soon as one occurs.
bool) – if True, applies coercion to the object of validation, otherwise creates a copy of the data.