question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Non-standard Calendar Support

See original GitHub issue

The current datetime64 API only supports the standard Gregorian calendar. In the climate science community (and presumably others), a number of other calendars systems are used, for example:

I’d like to propose adding calendar support to the datetime64 API with the hope that changes here will trickle down into pandas and xray.

I’m not sure exactly how I’d like to see the API and would like to hear from those familiar with datetime64 on how it could be done. Of course, the default calendar behavior should remain the Gregorian calendar.

xref: https://github.com/xray/xray/issues/521, https://github.com/xray/xray/pull/523, https://github.com/pydata/pandas/issues/7307 cc: @shoyer @rabernat @ocefpaf

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:1
  • Comments:23 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
akturnercommented, Mar 10, 2016

👍 This would be very useful in the climate modeling community. Several IPCC class models need this functionality to analyze output.

0reactions
njsmithcommented, Apr 15, 2016

@CommonClimate:

Being relatively new at Python, it’s not something that I could do myself, but I am good at finding funding for important projects, and this is very high priority for me. PM me.

I don’t think github has any PM facility and your profile’s pretty anonymous, but if you want to talk offline you can reach me at njs@berkeley.edu

Read more comments on GitHub >

github_iconTop Results From Across the Web

Year To Date Sales For Non Standard Calendar Tables
In this example for non-standard calendars, I'm going to show you how ... Related Support Forums **** YTD & PYTD With April As...
Read more >
Solved: Power BI Non Standard Calendar Previous Year
Solved: I am working with a floating fiscal year calendar. Each period is 28 days; however if 12/31 falls on a saturday then...
Read more >
Time Comparison For Non Standard Date Tables In Power BI
In this article, I showcase how you can do a time comparison, comparing one time period to another time period based on a...
Read more >
Calendar Year vs. Non-Standard Fiscal Year | Community
There is an option in Master Financial Calendar: checkbox “User-Defined Periods” that may help you. From the Acumatica Help: User-Defined ...
Read more >
Academic Years, Academic Calendars, Payment Periods, and ...
In a standard term or nonstandard term academic calendar, a term is generally a ... Because of Pell Grant and Iraq and Afghanistan...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found