Also, many data analysis problems are solved best using functional style. This leads you down the right thinking path, regardless of what language you learn or use.
Its a little funny though. I learnt programming first and maths later. SO when I encountered functions in maths at school, I thought "oh I already know this stuff".