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

[Python] error loading csv submodule

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 0.12.0, 0.13.0, 0.14.0, 0.14.1
    • None
    • Python
    • Windows 7, conda 4.7.11

    Description

      When I create a new environment in conda:

      conda create -n pyarrow-test python=3.7 pyarrow=0.14.1
      

      and try to read a csv file:

      import pyarrow as pa
      pa.csv.read_csv('test.csv')

      it fails with an error:

      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      AttributeError: module 'pyarrow' has no attribute 'csv'
      

      However, loading it directly works:

      import pyarrow.csv as pc
      table = pc.read_csv('test.csv')
      

      and using pa.csv.read_csv() after loading it directly also works.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Igor Yastrebov Igor Yastrebov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: