Tabular data
Logging tabular data#
You can generally log CSV or DataFrame files and display them as HTML in the Neptune app.
Logging CSV files#
Neptune displays a CSV file as an interactive table.
To record a CSV file, use the upload()
method:
The CSV file is displayed in the All metadata section of the run view.
- To adjust the number of displayed rows in the preview, use the drop-down menu in the bottom-right corner.
- By switching to the Raw data tab, you can view and copy the raw contents of the file.
Logging pandas DataFrame files#
Neptune displays a pandas DataFrame as a table.
To display the DataFrame as HTML, use File.as_html()
together with the upload()
method: