-
Notifications
You must be signed in to change notification settings - Fork 162
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
Static Typing profilers/column profile #661
Static Typing profilers/column profile #661
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one comment around imports
@@ -209,9 +218,9 @@ def _merge_order( | |||
) or order == "random": | |||
piecewise = False | |||
|
|||
return order, first_value, last_value, piecewise | |||
return order, cast(int, first_value), cast(int, last_value), piecewise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be casted or is optional an acceptable output arg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think first_value
and last_value
are always not None because one of the conditionals on lines 205 to 213 will run.
#608