Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
whacko_quacko
on April 13, 2025
|
parent
|
context
|
favorite
| on:
YAML: The Norway Problem (2022)
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 =(
orangewindies
on April 13, 2025
|
next
[–]
That's a Namibia problem, Nigeria is NG.
whacko_quacko
on April 14, 2025
|
parent
|
next
[–]
Damn, you're right ^^' Thanks for pointing that out
trueismywork
on April 13, 2025
|
prev
[–]
How?
whacko_quacko
on April 14, 2025
|
parent
[–]
For example when reading a CSV. Try using `read_csv` on a file that contains two letter country codes including NA.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
It's not that bad, because you can explicitly turn that behavior off, but ask me how I know =(