Skip to content

Better error message if passed in a column name instead of a list of column names into custom_data #2177

Closed
@chriddyp

Description

@chriddyp

custom_data is unlike most other px properties in that it accepts a list of columns instead of just a single column.

It would be helpful if we said something like "Looks like you supplied a single column name, you should supply a list of columns."

Here's the current error:

ValueError: Value of 'custom_data_0' is not the name of a column in 'data_frame'. Expected one of ['uid', 'from_uid', 'dropout', 'embedding_size', 'epoch', 'lr', 'train f1', 'valid ppl'] but received: 19751736_1

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions