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

[Python] Choose string column encoding in csv reader

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Python
    • Labels:
      None

      Description

      I was wondering whether there is a possibility to provide a different encoding for string columns in the parse option of the csv reader in pyarrow. I saw that there is a check whether or not a column is utf8 encoded. The default seems to be that if that turns out to be false the column is interpreted as binary.

      Is there any way to have a fallback option, meaning if the check_utf8 is false then maybe try latin-1 before turning to binary?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              saschahofmann Sascha Hofmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: