Skip to content

CLN: assorted cleanups #33297

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 5 commits into from
Apr 7, 2020
Merged

CLN: assorted cleanups #33297

merged 5 commits into from
Apr 7, 2020

Conversation

jbrockmendel
Copy link
Member

Mostly annotations

@simonjayhawkins simonjayhawkins added this to the 1.1 milestone Apr 5, 2020
@@ -308,7 +313,7 @@ cdef inline int64_t cast_from_unit(object ts, object unit) except? -1:
int64_t m
int p

m, p = precision_from_unit(unit)
m, p = precision_from_unit(unit or "ns")
Copy link
Contributor

Choose a reason for hiding this comment

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

is this hit? (the ns)

@@ -5516,9 +5516,9 @@ def ensure_index(index_like, copy=False):
# clean_index_list does the equivalent of copying
# so only need to do this if not list instance
if copy:
from copy import copy
from copy import copy as copy_func
Copy link
Contributor

Choose a reason for hiding this comment

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

this should be at the top of the file

Copy link
Member Author

Choose a reason for hiding this comment

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

updated

@WillAyd WillAyd merged commit 45c13a9 into pandas-dev:master Apr 7, 2020
@WillAyd
Copy link
Member

WillAyd commented Apr 7, 2020

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the collect-typs branch April 7, 2020 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants