Multiple tables

I know how to create a table with a data frame programmatically. However, I have two data frames, and they have different number of rows, so I cannot combine them into a single data frame. How do I upload two different tables to a Weights&Biases project? Somehow, I suspect that the following is not the correct approach:

    train_df = pd.DataFrame({
        'tx':train_x,
        'ty':train_y,
    })
    valid_df = pd.DataFrame({
        'vx':valid_x,
        'vy':valid_y
    })

    # How to add multiple tables

    wandb.log({"table": train_df}, commit=False)
    wandb.log({"table": valid_df}, commit=False)

Any help is greatly appreciated.

Hi @erlebacher , see this document on how to create tables from dataframes and please let me know if you have any questions.

HI @erlebacher , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.