News for hackers. Stuff that matters.
Re:YAML: The Norway Problem (2022) by whacko_quacko on Sunday April 13, 2025 @05:47AM (#43671504)
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 =(

Re:YAML: The Norway Problem (2022) by trueismywork on Sunday April 13, 2025 @08:03AM (#43672147)
How?
Re:YAML: The Norway Problem (2022) by whacko_quacko on Monday April 14, 2025 @11:07AM (#43682139)
For example when reading a CSV. Try using `read_csv` on a file that contains two letter country codes including NA.
Re:YAML: The Norway Problem (2022) by orangewindies on Sunday April 13, 2025 @08:39AM (#43672342)
That's a Namibia problem, Nigeria is NG.
Re:YAML: The Norway Problem (2022) by whacko_quacko on Monday April 14, 2025 @10:36AM (#43681796)
Damn, you're right ^^' Thanks for pointing that out