Re:Comprehensive Guide on Data Visualization with Pandas
by disgruntledphd2 on Monday September 16, 2019 @11:22AM
(#20984962)
pandas has a terrible API (IMO obviously). It looks like a weird mixture of Numpy and pre-2010 R code.
Like it has great fucntionality, but I waste so much time trying to figure out how to do something with pandas.
And I can remember the R-API's, which are even more annoying ;)
Re:Comprehensive Guide on Data Visualization with Pandas
by luckydata on Monday September 16, 2019 @12:30PM
(#20985771)
re: weird mixture of Numpy and pre-2010R
It does because it is.
Pandas was written by someone that was just starting out with Python at the time and was coming from programming in R.
Re:Comprehensive Guide on Data Visualization with Pandas
by EForEndeavour on Monday September 16, 2019 @02:20PM
(#20987021)
Pandas was extensively rewritten since its first few versions, and its GitHub repo has 1500+ contributors now, so I doubt that Wes McKinney's initial lack of python experience had much to do with the API rough spots of modern pandas. "Pre-2010 R" doesn't mean much to me, but I can confidently point out that pandas "looks like a weird mixture of numpy" because it is based heavily on numpy.
Re:Comprehensive Guide on Data Visualization with Pandas
by disgruntledphd2 on Tuesday September 24, 2019 @10:03AM
(#21060256)
It basically means pre-tidyverse R. pandas looks like a weird hybrid of Numpy and R. It's such a shame, as python has marvellous abstraction facilities, and yet they aren't used in pandas (__methods__ etc).
If you're only an occasional user, this will be your life forever. My experience with pandas is that if you use it heavily for 3 months, then things start to "stick" and you need to look it up less often.
Unfortunately I changed jobs and have forgotten most of pandas, so I'm back to looking things up again.