The official documentation for the Nextmv Python SDKs has been moved to this site. This page is not being updated anymore.
Write the output data after a run is completed.
JSON outputs
Work with JSONoutput.
The solution property of the output is a dictionary that represents the output data. The statistics property can be a nextmv.Statistics object, or a dictionary.
CSV output
Work with one, or multiple, CSV files. In the solution property of the output, the keys are the filenames and the values are the dataframes, represented as a list of dictionaries.
Similarly to the JSON output, the statistics property can be a nextmv.Statistics object, or a dictionary.
Assets
A run in Nextmv Cloud can include custom assets, such as those used in custom visualization.
You can use the assets property of the output to include these assets.
Example
You can create a simple plot, which consists of a Plotly bar chart with radius and distance for a planet.
This list of assets can be included in the output.
The assets can be a list of nextmv.Asset objects, or a list of dictionaries that comply with the custom assets and custom visualization schemas, whichever the case may be.