otp.Source.show_data_quality#
- Source.show_data_quality(inplace=False)#
This method shows data quality events within the interval of the query.
- Parameters
- Return type
Source
orNone
Examples
By default data quality events are not showed, use this method to see them:
>>> data = otp.Ticks({'A': [1, 2, 3]}) >>> data = data.insert_data_quality_event('OK') >>> data = data.show_data_quality() >>> otp.run(data) Time DATA_QUALITY_TYPE DATA_QUALITY_NAME 0 2003-12-01 00:00:00.000 0 OK 1 2003-12-01 00:00:00.001 0 OK 2 2003-12-01 00:00:00.002 0 OK
See also