Hacker News new | ask | show | jobs
by whacko_quacko 426 days ago
Pandas has a Nigeria problem, where NA -> NaN.

It's not that bad, because you can explicitly turn that behavior off, but ask me how I know =(

2 comments

That's a Namibia problem, Nigeria is NG.
Damn, you're right ^^' Thanks for pointing that out
How?
For example when reading a CSV. Try using `read_csv` on a file that contains two letter country codes including NA.