Mathias Schläffer
1 min readOct 31, 2018

--

Super handy overview, thanks for compiling! One comment: for “(16) Apply a function to a data frame” you chose an example in which you multiple each value of the column with a scalar. This can be done easily with something like:

df.height *= 2

as the dataframe columns function like arrays.

For more complex functions “apply” is of course perfect.

BR

--

--

Mathias Schläffer

Economist turned Data Scientist. Creating human mobility insights at Unacast