Skip to main content
This page shows you how to export the data in a W&B Table to a pandas DataFrame and then to a CSV file, so that you can analyze or process the data outside of W&B.

Convert a table to an artifact

To work with a logged table as a Table object, add the table to an artifact, log the artifact, then retrieve the table from the artifact:
  1. Add the table to an artifact with artifact.add(table, "my_table"), then log the artifact:
  2. Retrieve the table with wandb.Artifact.get("my_table"):

Convert the artifact to a DataFrame

With the table retrieved from the artifact, convert it into a pandas DataFrame:

Export data

With your data in a pandas DataFrame, you can export it using any method that pandas supports. For example, the following exports the data to a CSV file:

Next steps

For more information, see the following resources: