3 ms·
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 tim
by disgruntledphd2 7y ago
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 ;)
- luckydata 7y agore: 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.
- EForEndeavour 7y agoPandas 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.
- disgruntledphd2 7y agoIt 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).