HackerTrans
トップ新着トレンドコメント過去質問紹介求人

grenoire

no profile record

コメント

grenoire
·3 か月前·議論
I love this movie so much it's _unreal_. What an experience, every single time.

And each time I see an article like this, I simply marvel at the immense love for art and life it has. What an incredibly talented crew, what product of mastery and care.
grenoire
·4 年前·議論
You may wanna check out https://www.mobygames.com/game/gadget-racers
grenoire
·5 年前·議論
Drink some Diet Coke and it shall all be revealed onto you.
grenoire
·5 年前·議論
That looks like an interesting hard-coded check, I wonder what it intended to fix.
grenoire
·5 年前·議論
Verbatim from the docs, on read-csv:

    na_valuesscalar, str, list-like, or dict, default None

    Additional strings to recognize as NA/NaN. If dict passed, specific per-column NA values. By default the following values are interpreted as NaN: ‘’, ‘#N/A’, ‘#N/A N/A’, ‘#NA’, ‘-1.#IND’, ‘-1.#QNAN’, ‘-NaN’, ‘-nan’, ‘1.#IND’, ‘1.#QNAN’, ‘<NA>’, ‘N/A’, ‘NA’, ‘NULL’, ‘NaN’, ‘n/a’, ‘nan’, ‘null’.
You fix it by using `keep_default_na=False`, by the way.
grenoire
·5 年前·議論
I was helping out a friend of mine in the risk department of a Big 4; he was parsing CSV data from a client's portfolio. Once he started parsing it, he was getting random NaNs (pandas' nan type, to be more accurate).

I couldn't get access to the original dataset but the column gave it away. Namibia's 2-letter ISO country code is NA—which happens to be in pandas' default list of NaN equivalent strings.

It was a headache and a half...
grenoire
·5 年前·議論
Man, as a European this confuses the shit out of me. EST/CST and friends are nearly meaningless because I don't even know if the time I'm looking at is or supposed to be DST adjusted...
grenoire
·7 年前·議論
It's the good ol' cheese grater, the case design was known for a while.
grenoire
·7 年前·議論
One thin that people miss for dropdowns is that you can actually type N..E..W.. and it will select New Zealand. Most browsers implement some sort of combo counter for it, such that the entry resets after a while too.

I do agree that search boxes are better in general, and especially so for things that are not standardised such as country or airport 3-letter codes. But it's not the end of the world, even for date inputs you can just type 1984 and it'll select it for you.

EDIT: It does not change the fact that mobile dropdown implementations are horrendous.
grenoire
·7 年前·議論
In the end, it's an arms race, and I don't think either side is giving up on it anytime soon. The only thing that concerns me is that one side has way too much money, while the other side has way too much time.

Let's see who wins.
grenoire
·8 年前·議論
12% of Github's income is 12% of Github's income.