Skip to content

CLN: de-duplicate paths in tslibs #34400

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 7 commits into from
May 27, 2020

Conversation

jbrockmendel
Copy link
Member

No description provided.

@@ -964,23 +964,8 @@ def dt64arr_to_periodarr(const int64_t[:] dtarr, int freq, tz=None):
"""
cdef:
int64_t[:] out
Py_ssize_t i, l
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we even need this routine any longer? (e.g. just call localize_dt64arr_to_period in the caller)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@@ -28,27 +28,19 @@ cdef:

# ----------------------------------------------------------------------

cpdef resolution(const int64_t[:] stamps, tz=None):
def resolution(const int64_t[:] stamps, tz=None):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not called in cython anylonger?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if it ever was

@jreback jreback added the Period Period data type label May 27, 2020
@jreback jreback added this to the 1.1 milestone May 27, 2020
@jreback jreback merged commit 7c5246c into pandas-dev:master May 27, 2020
@jbrockmendel jbrockmendel deleted the cln-tslibs-0525 branch May 27, 2020 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Period Period data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants