Skip to main content
View source on Github Arize method to log inferences within a dataframe to Arize via a POST request.
Client.log() returns a requests.models.Response object. You can check its http status code to ensure successful delivery of records.
This API uses fast serialization to the file system from Python and followed up by a fast client to server upload. It does require storage in the file system for the file being uploaded.
Arize expects the DataFrame’s index to be sorted and begin at 0. If you perform operations that might affect the index prior to logging data, reset the index as follows:

Code Example