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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.7.0
    • Python
    • 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

              wesm Wes McKinney
              cloud_fan Wenchen Fan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: