1
votes

This question is very similar to mine:

numpy array: replace nan values with average of columns

However, I was wondering if there is a way to do this with a CSV file that has columns and rows without importing pandas and numpy?

(Sorry, I am currently learning Python)

The best way to learn is to do, make mistakes, and try to understand where you went wrong and how to fix it. "Wondering if there is a way" will get you nowhere. Did you do a web search for how to read a csv file without pandas and numpy? What did you learn from that? Did you try writing any code? What (if anything) went wrong there?Pranav Hosangadi