5 Minute Guide to Detecting Holidays in Python

This article was first published on Python – Better Data Science , and kindly contributed to python-bloggers. (You can report issue about the content on this page here)
Want to share your content on python-bloggers? click here.

If you decide to dive deep into data analysis and want to, for example, analyze purchasing trends, you’ll probably want to construct a new attribute in your dataset having only two possible outcomes — 0 or 1 — is a holiday, isn’t a holiday. Take a moment to think about why this derived variable might be useful. You probably won’t uncover a greater volume of purchases on holidays itself, but how did the sales do in the week leading to the holiday? A whole another animal, isn’t it? Anyway, in today’s rather quick post I want to discuss one Python library I’ve found some […]

The post 5 Minute Guide to Detecting Holidays in Python appeared first on Better Data Science.

To leave a comment for the author, please follow the link and comment on their blog: Python – Better Data Science .

Want to share your content on python-bloggers? click here.