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.