Skip to content

More examples of how to construct Arrays #301

@alamb

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Imagine a user who wants to make a StringArray. They go to the docs, and find StringArray
And now what?

Screen Shot 2021-05-16 at 7 42 57 AM

Describe the solution you'd like
Adding an example (or a pointer to such an example) to each of the Array types (e.g things that implement Array of how to construct them (from iterators) such as

let array = StringArray::from(vec![Some("foo"), None, Some("bar")]);

(and taking inspiration from the examples in the main docs https://docs.rs/arrow/4.0.0/arrow/index.html)

would probably be super helpful.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions