# Parse\_data\_from\_file error

**URL:** <https://community.deeplearning.ai/t/parse-data-from-file-error/172681>\
**Category:** Natural Language Processing in TensorFlow\
**Tags:** week-module-1\
**Created:** [July 29, 2022, 6:23am UTC](https://community.deeplearning.ai/t/parse-data-from-file-error/172681 "2022-07-29T06:23:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Phillips1](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@John\_Phillips1](https://community.deeplearning.ai/u/John_Phillips1)\
**Post date:** [July 29, 2022, 6:23am UTC](https://community.deeplearning.ai/t/parse-data-from-file-error/172681/1 "2022-07-29T06:23:36Z")

</div>

[code removed - moderator]

 ![image](https://global.discourse-cdn.com/dlai/original/3X/b/1/b179b47a1d5508bd0e45ccffcfbab088cbb56f71.png)

Hey guys, Ive used this code for the function, but not getting the expected output. I know that other also had the same issue, but I’m not able to figure this out. Can anyone please help me.

---

<div class="post-metadata">

**Author:** ![balaji.ambresh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/balaji.ambresh/32/128697_2.png) [@balaji.ambresh](https://community.deeplearning.ai/u/balaji.ambresh)\
**Post date:** [July 29, 2022, 9:26am UTC](https://community.deeplearning.ai/t/parse-data-from-file-error/172681/2 "2022-07-29T09:26:53Z")

</div>

Please pay attention to indentation. This is what you should do for each row in the csv file:

1. Add label entry to labels (you’re doing this right)
2. Remove stopwords from the sentence entry.
3. Add this stopword free sentence to `sentences`.
