Log tabular data#
Neptune displays a CSV file as an interactive table.
To log 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 top-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 regular HTML table.
To display the DataFrame, use File.as_html()
together with the upload()
method:
import pandas as pd
from neptune.types import File
sample_df = pd.read_csv(...)
run["data/sample"].upload(File.as_html(sample_df))
Related