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

[Python] pyarrow.Array.from_pandas should take a type parameter

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.7.0
    • Component/s: Python
    • Labels:
      None

      Description

      It's convenient to infer the data type so that users can just write pyarrow.Array.from_pandas(arr), however, sometimes users want fine-grained control, e.g., if we have an object type numpy array, whose values are all null. When we convert it to an arrow column vector, we may need a specific type instead of NullType.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wesmckinn Wes McKinney
                Reporter:
                cloud_fan Wenchen Fan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: