You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Igor Yastrebov (JIRA)" <ji...@apache.org> on 2019/08/08 11:02:00 UTC

[jira] [Created] (ARROW-6173) [Python] error loading csv submodule

Igor Yastrebov created ARROW-6173:
-------------------------------------

             Summary: [Python] error loading csv submodule
                 Key: ARROW-6173
                 URL: https://issues.apache.org/jira/browse/ARROW-6173
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
    Affects Versions: 0.14.1
         Environment: Windows 7, conda 4.7.11
            Reporter: Igor Yastrebov


When I create a new environment in conda:

 
{code:java}
conda create -n pyarrow-test python=3.7 pyarrow=0.14.1
{code}
 

and try to read a csv file:

 
{code:java}
import pyarrow as pa
pa.read_csv('test.csv'){code}
it fails with an error:

 

 
{code:java}
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'pyarrow' has no attribute 'csv'
{code}
However, loading it directly works:

 

 
{code:java}
import pyarrow.csv as pc
table = pc.read_csv('test.csv')
{code}
 

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



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)