News for hackers. Stuff that matters.
Re:Scikit-Learn Version 1.0 by bttger on Tuesday September 14, 2021 @05:37PM (#28531703)
> Fully agree on Pandas. R's native data frame + tidyverse is world's easier. Pandas' overly complex indexing system is a persistent source of annoyance no matter how much I use that library.

Is it just the syntax/readability that annoys you, or are there actually problems that need like n steps more to do the same with Pandas?

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.
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.