Open
Description
X = (Column1=[1, 2, 3, 4, 5],
Column2=["a", "b", "c", "d", "e"],
Column3=["a", "b", "c", "d", "e"],
Column4=[1.0, 2.0, 3.0, 4.0, 5.0]
)
y = [1, 2, 3, 4, 5]
X = Tables.columntable(X)
# coerce first column to multiclass and last column to continuous
# second and third column to text
X = coerce(X, :Column1=>Multiclass, :Column2=>Textual, :Column3=>Textual, :Column4=>Continuous)
In particular, running this example yields
ScientificTypes.CoercionError("Coercion of eltype `String` to element scitype `Textual` is not supported. ")
Shouldn't this be a no-op?
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
priority low / straightforward