You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/11/12 15:24:00 UTC
[jira] [Updated] (ARROW-10565) [Python] Table.from_batches and
Table.from_pandas have argument Schema_schema in documentation instead of
schema
[ https://issues.apache.org/jira/browse/ARROW-10565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney updated ARROW-10565:
---------------------------------
Fix Version/s: (was: 2.0.1)
3.0.0
> [Python] Table.from_batches and Table.from_pandas have argument Schema_schema in documentation instead of schema
> ----------------------------------------------------------------------------------------------------------------
>
> Key: ARROW-10565
> URL: https://issues.apache.org/jira/browse/ARROW-10565
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 2.0.0
> Reporter: Tim Loderhose
> Priority: Minor
> Fix For: 3.0.0
>
> Original Estimate: 1m
> Remaining Estimate: 1m
>
> The functions `pyarrow.Table.from_batches` and `pyarrow.Table.from_pandas` both allow for passing of `Schema` objects.
> Both methods currently take in an argument called `Schema_schema`, whereas the documentation describes it should be `schema`, of type `Schema`.
> The other `.from_XX` methods correctly take the argument as just `schema`.
>
> Fixing this just involves changing these two keyword arguments.
>
> Edit:
> I find that I only had type errors, the compiled function that is called already expects the argument to be called `schema`. Thus this is only a documentation issue.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)