Let's talk about Python metaclasses. ๐ฉโจ Many think they are magical things that mere mortals should never use. That's not quite true, although in many cases metaclasses can needlessly complicate things. Beware.
Read the thread! ๐๐๐
Being a programmer means:
* waking up each day to tackle problems
* find workarounds and evaluate tradeoffs
* get yelled at by compilers and tools
* figure out interesting solutions
* feel exhilarated when things seem to work
* then, go to bed thinking I don't know a sh..zzzz
โThe most dangerous poison is the feeling of achievement. The antidote is to every evening think what can be done better tomorrow.โ โ Ingvar Kamprad, @IKEA#MondayMotivation
> import pandas as pd
> False in pd.Series([True, True])
True
> 123 in pd.Series([123, 456])
False
Be aware that `in` operator looks through index, not values!
> False in pd.Series([True, True]).values
False
> 123 in pd.Series([123, 456]).values
True
https://t.co/OrCwVQ3qIl
I find it really enjoyable to:
โ Write out all the function signatures with no implementation
โ Then add comments about what each function will do
โ And finally, have smooth frictionless implementation because you've already answered all the questions during previous steps
https://t.co/aGmzxXL6Kv is a 10-week course that starts tomorrow. It was created with input from a bunch of Kaggle Grandmasters. Starts with manipulating data using Pandas. covers feature engineering, time series forecasting and training using GBMs.
Why studying a bit each day is so much more effective than cramming: New synapses form while we're sleeping, but only so many connections can form in a single night. Becoming an expert requires daily practice.
- @barbaraoakley Mindshift