I'm very beginner with wandb , so this is very basic question. I have dataframe which has my x features and y values. I'm tryin to follow this tutorial to train model from my pandas dataframe . However, when I try to create wandb table from my pandas dataframe, I get an error:
wandb.init(project='my-xgb', config={'lr': 0.01})
#the log didn't work so I haven't run it at the moment (the log 'loss')
#wandb.log({'loss': loss, ...})
# Create a W&B Table with your pandas dataframe
table = wandb.Table(df1)
AssertionError: columns argument expects a
list
object
I have no idea why is this happen, and why it excpect a list. In the tutorial it doesn't look like the dataframe is list.
My end goal - to be able to create wandb table.