# Read and Decode CSV files

**URL:** <https://discuss.ai.google.dev/t/read-and-decode-csv-files/31235>\
**Category:** General Discussion\
**Tags:** tf-c-api, tfdata\
**Created:** [April 10, 2023, 11:09am UTC](https://discuss.ai.google.dev/t/read-and-decode-csv-files/31235 "2023-04-10T11:09:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harshilp](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/harshilp/32/12050_2.png) [@harshilp](https://discuss.ai.google.dev/u/harshilp)\
**Post date:** [April 10, 2023, 11:09am UTC](https://discuss.ai.google.dev/t/read-and-decode-csv-files/31235/1 "2023-04-10T11:09:04Z")

</div>

Hi, I am new to the Tensorflow C API. I am using Windows 10, Tensorflow V2.11.0

In tensorflow.js, the method `tf.data.csv(csvFilePath, csvConfig)` creates a CSV-Dataset by reading and decoding CSV file(s) from provided URL or local path. How can we do that with C++?

Please let me know.

Thank You.
