[ https://issues.apache.org/jira/browse/ARROW-10565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Loderhose closed ARROW-10565. --------------------------------- Resolution: Cannot Reproduce > [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)