News for hackers. Stuff that matters.
Re:Hamilton: A Microframework for Dataframe Generation by asdfgeoff on Tuesday December 07, 2021 @04:29AM (#29470570)
Awesome explanation. When writing pandas code, I tend to make heavy use of method-chaining and lambda functions to achieve something along these lines. But I have never been able to articulate why.

  df.assign(COLUMN_C=lambda x: x['COLUMN_A'] + x['COLUMN_B'])
But looking solely at the wikipedia page for dependency inversion principle… I'm not sure I would have connected the dots here myself.

Can you recommend any noteworthy resources for a data scientist who is interested in learning more about software engineering patterns like this?

There are no comments on this comment yet.