Question about apply() application
Why we didin`t use the same apply() approach to extract months to separate column?
1 answers ( 0 marked as helpful)
Hi Aleksey!
Thanks for reaching out.
Great question!
Actually, we could have used the .apply() function to create the "Day of the Week" column, too. However, simply for teaching purposes, we decided to diversify and show how to achieve the same result by using a for- loop, which is another technique that professionals may prefer using in a similar scenario.
Hope this helps.
Best,
Martin