E42F Dynamic class creation by "guessing" types · Issue #1191 · docarray/docarray · GitHub
[go: up one dir, main page]

Skip to content

Dynamic class creation by "guessing" types #1191

@JohannesMessner

Description

@JohannesMessner

We already have support for dynamic class creation, but it assumes that the types for all fields are known in advance: #1179

However, it would be nice to be able to dynamically create classes from data alone. We would have to "guess" the types by looking at the data itself (e.g. in the dict).

This would be useful, for example, for loading data from csv without having a schema beforehand. Reference: #1144

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0