Re:Scikit-Learn Version 1.0
by chaps on Tuesday September 14, 2021 @06:30PM
(#28532386)
I spend more time working around panda's strange isms than it takes me to write vanilla python that does the same thing. The index problems are not just a small annoyances, and sometimes can waste hours because of its awkward defaults. For example, its default in df.to_csv to write an index (without a column name..)! It doesn't make any sense to me whatsoever that reading a csv, then writing the csv would add a new column. I'm really tired of rerunning pandas code after I forget to turn that stupid default index setting off. Is that a small thing? Sure. But it had tons of small things like that.
[ Parent
| on HN ]
Re:Scikit-Learn Version 1.0
by _Wintermute on Tuesday September 14, 2021 @06:38PM
(#28532467)
It's funny you complain about the index being saved in csv files, which is the default behaviour in R.
Re:Scikit-Learn Version 1.0
by disgruntledphd2 on Wednesday September 15, 2021 @03:53AM
(#28536444)
Not in tidyverse, but yeah indexes in pandas are a souped up version of rownames in base R.