geost.accessor.GeostFrame.validate#

GeostFrame.validate(return_result: bool = False)[source]#

Validate the DataFrame by checking for the presence of crucial information, data types and consistency of the data.

Parameters:

return_result (bool, optional) – If True, the validation result object will be returned. The default is False.

Returns:

  • pd.DataFrame – The validated DataFrame, which may have been modified by the validation process according to the validation configuration (e.g. invalid data may have been dropped or flagged).

  • ValidationResult – If return result is True, returns the result of the validation, which is a ValidationResult object.