# Not able to read CSV in pandas

**URL:** <https://discourse.nodered.org/t/not-able-to-read-csv-in-pandas/35183>\
**Category:** General\
**Created:** [2 November 2020 01:53 UTC](https://discourse.nodered.org/t/not-able-to-read-csv-in-pandas/35183 "2020-11-02T01:53:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![varunyc](https://avatars.discourse-cdn.com/v4/letter/v/8dc957/32.png) [@varunyc](https://discourse.nodered.org/u/varunyc)\
**Post date:** [2 November 2020 01:53 UTC](https://discourse.nodered.org/t/not-able-to-read-csv-in-pandas/35183/1 "2020-11-02T01:53:22Z")

</div>

Dear All,

I am reading CSV file using panda in python. I am executing the code using exec node in node red.

When I tested it in windows machine using CSV file panda is able to read and it is working fine,

But same file when I read it using panda in exec node red I am getting an error.

"ile "/home/ubuntu/.local/lib/python2.7/site-packages/pandas/io/parsers.py", line 429, in \_read  
parser = TextFileReader(filepath\_or\_buffer, \*\*kwds)  
File "/home/ubuntu/.local/lib/python2.7/site-packages/pandas/io/parsers.py", line 895, in **init**  
self.\_make\_engine(self.engine)  
File "/home/ubuntu/.local/lib/python2.7/site-packages/pandas/io/parsers.py", line 1122, in \_make\_engine  
self.\_engine = CParserWrapper(self.f, \*\*self.options)  
File "/home/ubuntu/.local/lib/python2.7/site-packages/pandas/io/parsers.py", line 1853, in **init**  
self.\_reader = parsers.TextReader(src, \*\*kwds)  
File "pandas/\_libs/parsers.pyx", line 387, in pandas.\_libs.parsers.TextReader. **cinit**  
File ..."

Can any one know how to resolve this issue.

Thanks & Regards  
Varun

---

<div class="post-metadata">

**Author:** ![varunyc](https://avatars.discourse-cdn.com/v4/letter/v/8dc957/32.png) [@varunyc](https://discourse.nodered.org/u/varunyc)\
**Post date:** [2 November 2020 05:15 UTC](https://discourse.nodered.org/t/not-able-to-read-csv-in-pandas/35183/2 "2020-11-02T05:15:46Z")

</div>

Issue is resolved, It is a path issue which I am referring inside to read the CSV file

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 November 2020 05:15 UTC](https://discourse.nodered.org/t/not-able-to-read-csv-in-pandas/35183/3 "2020-11-16T05:15:49Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
