[
https://issues.apache.org/jira/browse/ARROW-7654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17025018#comment-17025018
]
Joris Van den Bossche commented on ARROW-7654:
----------------------------------------------
That can indeed be clarified in the docs.
Would you be interested in doing a pull request for this?
> [Python] Ability to Set column_types to a Schema in csv.ConvertOptions is
> Undocumented
> --------------------------------------------------------------------------------------
>
> Key: ARROW-7654
> URL: https://issues.apache.org/jira/browse/ARROW-7654
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.12.0, 0.15.1
> Environment: N/A, documentation issue.
> Reporter: Tim Lantz
> Priority: Minor
> Labels: CSV
>
> Originally mentioned in: [https://github.com/apache/arrow/issues/6243]
> High level description:
> * As of [this
> commit|https://github.com/apache/arrow/commit/df54da211448b5202aa08ed2b245eb78cfd1e50c]
> support to supply a Schema to ConvertOptions in the csv module module was
> added (I'll add, extremely useful!). Marked as affected in at least 0.12.0
> based on the commit history, as well as 0.15.1 (I cannot verify anything
> between but would assume it is true over the whole version range).
> * As of 0.15.1 the [published
> documentation|https://arrow.apache.org/docs/python/generated/pyarrow.csv.ConvertOptions.html#pyarrow.csv.ConvertOptions]
> only explains that a dictionary from field name to DataType can be supplied.
> Minimal reproduction: N/A, see link.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)