Pandas

This integration lets you log pandas dataframes to Neptune.

Log pandas Dataframe

Follow these steps:

Create a run

import neptune.new as neptune
run = neptune.init(project='my_workspace/my_project')

Create pandas DataFrame object

import pandas as pd
iris_df = pd.read_csv('https://raw.githubusercontent.com/mwaskom/seaborn-data/master/iris.csv',
nrows=100)

Log DataFrame

run['data/iris-df'].upload(neptune.types.File.as_html(iris_df))

Stop logging

Once you are done logging, you should stop tracking the run using the stop() method. This is needed only while logging from a notebook environment. While logging through a script, Neptune automatically stops tracking once the script has completed execution.

run.stop()

Explore the results in the Neptune