In my local Honda dealership, the mechanics work on alternate weekly schedules: Monday, Tuesday, Saturday and Sunday this week, and Wednesday through Friday the next week. Yet I had to count the number of particular operator’s shifts in a period of time.Īnd finally, an offbeat problem. To get the call center statistics, I did not need the business day calendar. They work in shifts of varying length, and one shift in followed by three shifts out. Then there were operators in the call center, and my anxiety swung the other way. So, I could turn a business day into a day off, but not the other way round. Pandas’s business day calendar supports only one-way amendments for holiday observations. For example, you have to come to work on a Saturday in February to be reimbursed with a free Monday preceding a holiday Tuesday somewhere in May. They swap weekdays with Saturdays or Sundays to fill gaps between holidays and weekends. The Russian business calendar is cumbersome. Pandas would handle it in a sec, I thought. To obtain a headcount I had to calculate the number of business days each employee has spent with the company within the year. I had already been writing Python scripts, so I was not intimidated. Our company introduced KPIs involving the revenue per employee, so we needed to know the average annual headcount of each team. You can build standard business day calendars as well as a variety of other schedules, simple or complex. Timeboard is a Python library that creates schedules of work periods and performs calendar calculations over them. By Maxim Mamaev Make your complex scheduling simple with timeboard, a Python library
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |