Skip to content

standalone implementation of ccalendar #18540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Dec 7, 2017
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4e942f5
implement ccalendar. only use it incrementally for profiling
jbrockmendel Nov 26, 2017
6cbb4be
Fix nameerror
jbrockmendel Nov 26, 2017
7f22c6d
fixup signature
jbrockmendel Nov 26, 2017
94557a7
next run with just is_leapyear changed
jbrockmendel Nov 26, 2017
ce8e3d5
then try with just get_days_in_month
jbrockmendel Nov 27, 2017
344252e
fixup typo
jbrockmendel Nov 27, 2017
a084fb3
use all of dayofweek, get_days_in_monht, is_leapyear in fields
jbrockmendel Nov 27, 2017
1b74668
try to avoid re-initializing sakamoto_arr
jbrockmendel Nov 27, 2017
bc4da9e
Merge branch 'master' of https://github.com/pandas-dev/pandas into ts…
jbrockmendel Nov 27, 2017
fdf280e
implement get_week_of_year
jbrockmendel Nov 28, 2017
f8cc945
punctuation
jbrockmendel Nov 28, 2017
0cfd9a4
Merge branch 'master' of https://github.com/pandas-dev/pandas into ts…
jbrockmendel Nov 28, 2017
a29950b
use get_week_of_year
jbrockmendel Nov 28, 2017
3d07a2a
whitesapce fixup
jbrockmendel Nov 28, 2017
b16f443
whitesapce fixup
jbrockmendel Nov 28, 2017
9ec475a
comment
jbrockmendel Nov 28, 2017
b221710
fixup typo
jbrockmendel Nov 28, 2017
d91ec05
fix 12-->13
jbrockmendel Nov 28, 2017
8f78992
flesh out docstring
jbrockmendel Nov 28, 2017
32be4f4
implement ccalendar fastpaths for timestamp properties
jbrockmendel Nov 28, 2017
3fda037
Merge branch 'master' of https://github.com/pandas-dev/pandas into ts…
jbrockmendel Nov 28, 2017
03a854d
Merge branch 'master' of https://github.com/pandas-dev/pandas into ts…
jbrockmendel Nov 29, 2017
d0f8b13
fixup comment typo
jbrockmendel Nov 29, 2017
505fa9e
Merge branch 'master' of https://github.com/pandas-dev/pandas into ts…
jbrockmendel Nov 29, 2017
0add03e
remove monthrange per reviewer request
jbrockmendel Nov 29, 2017
b66caa6
remove monthrange from pxd
jbrockmendel Nov 29, 2017
7cc0824
Merge branch 'master' of https://github.com/pandas-dev/pandas into ts…
jbrockmendel Dec 3, 2017
6b245cf
Merge branch 'master' of https://github.com/pandas-dev/pandas into ts…
jbrockmendel Dec 7, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
whitesapce fixup
  • Loading branch information
jbrockmendel committed Nov 28, 2017
commit 3d07a2ab5b87b4daea01762e30ec8899f77ce384
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/ccalendar.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ cdef int32_t* days_per_month_array = [

cdef int* sakamoto_arr = [0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4]


cdef int32_t* _month_offset = [
0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365,
0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366]
Expand Down