William Cox

0.0
Network
Score (What’s this?)

Perlu Network score measures the extent of a member’s network on Perlu based on their connections, Packs, and Collab activity.

Kaggle CTO. Helping the world learn from data.

Share
Social Audience 26K
gallamine.com Last Month
  • Moz DA 20
Categories
  • Computing
Highlights
Get index of Pandas Series row when column matches certain value

Say you have a Pandas DataFrame that looks like:If you do a GroupBy operation on a specific column of the DataFrame Pandas returns a Series object. LikeNow if we want to found out which groups had a specific aggregate value - say which groups had a sum == 4, we can do something like:Now the question is, how do we get the *index* name where the row equals 4 (in this example we want `A` since it's value is `True` in the Series)

Python Doesn't Require Commas in Lists .. Sorta

Today I helped a colleague with a subtle Python bug. We have a system that queries for data given a list of IDs

Salary Progression (in Tech)

Averages out to be something like $11,000 per year in increase over the 15 year career so far. Stock options / RSUs tend to skew things and lend a high degree of variability to compensation. At higher levels it isn't uncommon for a large portion of your total compensation to be in RSUs. Additionally, if you're working for dope cash but miserable it's hard to see that as a net positive.

Join Perlu And Let the Influencers Come to You!

Submit