TF1 Course 2 Week 4- Programing Assignment

I was having trouble with completing the get_data() function of the programming assignment. Using the open() function, the file being read as _io.TextIOWrapper and the numpy functions aren’t working. So, can you suggest what should I do. Also, I am facing problem with various functions in the programming assignments so can you suggest something I should do to learn about all the non-tensorflow functions and libraries used in this course.

Hi @HarshulGaba,

To read the CSV file, you have some inspiration here. csv.reader function would make the trick.

Rest of the function code is described perfectly into the comments.

About problems with other functions, would you mind to be a bit more specific? Some basic knowledge on pandas and numpy would help you, I guess.

Good luck!