Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10565

[Python] Table.from_batches and Table.from_pandas have argument Schema_schema in documentation instead of schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 2.0.0
    • 3.0.0
    • Python
    • None

    Description

      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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            timlod Tim Loderhose
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified