


cs95
-
Member for 8 years, 4 months
-
Last seen more than a month ago
-
GitHub
-
At an ipython shell near you
Stats
381,771
reputation
139k
reached
56
answers
46
questions
Loading…
About
Hi Magi the pirate
My pandas canonicals ⬅ please critique!
and/or buy me a drink ;-)
When asking a question here, please describe the problem you are trying to solve, rather than asking about the method you think is the solution to that problem. This is known as the XY problem and can easily be averted if you ask the right questions. This will make it easy for us to understand what you're trying to do, and help you arrive at the best solution for your problem even sooner.
Rep = participation
Badges = quality
1 like = 1 prayer 1 upvote = 1 thanks
(Actively Maintained) Pandas Canonicals
The full list is on GitHub.
- Pandas Merging 101: Everything you ever wanted to know about merging and more
- How to iterate over a DataFrame. Spoler alert: don't!
- How to convert a DataFrame to NumPy array: from 0.24, use
df.to_numpy()
- The Right Way to create an empty DataFrame and fill it: Use a list to grow your data, not a DataFrame
- Don't use
inplace=True
!
Other Posts I'm Proud Of
- Pandas Merging 101 (see above)
- Best way to interleave two lists
- How do "and" and "or" act with non-boolean values?
- So you think you know recursion?
In addition to this, some of my answers that use perfplot
are worth a read.
236th awardee of the Legendary badge.
Thanks, Stack Overflow! I love the shirt :-)
&
[SPACE RESERVED FOR 250k SWAG]
Badges
View all badges
58
silver badges
-
GeneralistJun 8, 2019
-
BoosterDec 13, 2019
-
PunditNov 1, 2017
84
bronze badges
-
discussionMay 20, 2018
-
DisciplinedJun 23, 2020
-
ExplainerNov 28, 2017
Top tags
View all tags
1,119
Score
72
Posts
71
Posts %
136
Score
9
Posts
9
Posts %
118
Score
25
Posts
25
Posts %
112
Score
12
Posts
12
Posts %
109
Score
6
Posts
6
Posts %
60
Score
7
Posts
7
Posts %