validate(check_obj, head=None, tail=None, sample=None, random_state=None, lazy=False)¶
Validate DataFrameSchema or SeriesSchema Index.
pandas DataFrame of Series containing index to validate.
int]) – validate the first n rows. Rows overlapping with tail or sample are de-duplicated.
int]) – validate the last n rows. Rows overlapping with head or sample are de-duplicated.
int]) – validate a random sample of n rows. Rows overlapping with head or tail are de-duplicated.
int]) – random seed for the
- Return type
validated DataFrame or Series.