HNHacker News
TopNewBestAskShowJobs

pineapplejuice

6 karma · joined March 18, 2013

Long time lurker
submissionscomments
pineapplejuice··on Loading Data into Pandas: Tips and Tricks You May or May Not Know
My tip is to keep a dict of all the fields and the data types you expect them to be, particularly strings. In my company we have IDs that start with zeros, or are a mix of numbers and letters, and get interpreted as numeric types. I'm frequently pulling data out of the DW with the same fields, so I just have to use the dtype= arg point it to my dict and it takes care of that for me.
pineapplejuice··on Python 3.11 vs 3.10 performance
Thanks!
pineapplejuice··on Python 3.11 vs 3.10 performance
Is there a website which tracks which of the major libraries; pandas, requests, django, etc support each major version? I remember there was one years ago for python 3.6? Been a long time!
pineapplejuice··on How Cults Seduce and What Marketing Can Learn From Them [pdf]
The Organisation as they call it is hierarchical. That's why you have elders, district overseers, governing body, etc. I've seen elders stepped down for not being perfect examples of fathers in their own families, or if one of their children are disassociated. People do get disassociated for challenging the order in the way of not following rules. They also regularly guilt trip their members for their idleness. Not having highlighted the answers in your Watchtower for example before the Sunday meeting must mean you don't do Bible study with your family like good parents. Pioneers (people who door knock full time) must complete so many hours of services per month.