Viewing a single comment thread. View all comments

SAint7579 t1_itvint1 wrote

Pandas .apply() and .to_datetime(). Pandas as a whole is a work of art!

3

-xylon t1_itycq7h wrote

.pipe() is another game changer, along with .assign(). I recently discovered you can pass callables to almost ANYTHING in pandas. Things like df.assign(newcolumn= lambda df: ... or better yet df[lambda x:....] and df.loc[lambda x:].

2