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
DM-43043: Add AuxTel slew analysis plotting #30
Conversation
1f9e034
to
7efd744
Compare
7efd744
to
90bc5bb
Compare
postPadding=postPadding, | ||
warn=False # most commands will not be issue so we expect many empty queries | ||
) | ||
if not data.empty: |
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.
Do you need this if
? Won't the iterrows()
below just execute the body zero times if empty? ("I think it is more clear this way" is an acceptable answer, since performance impact is clearly negligible.)
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.
No no, you're exactly right - I don't pandas
all that often, and there was a place where I did need to check, because I was merging dataframes, and if it was empty then the merge would fail due to the missing columns to merge on, and I'd just mis-extrapolated from that.
|
||
This function plots the mount position data for the entire time range of | ||
the exposures, regardless of whether the exposures are contiguous or not. | ||
The exposures are be shaded in the plot to indicate the time range for each |
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.
grammo "are be"
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.
LGTM -- couple very minor comments left
90bc5bb
to
ddf0e7d
Compare
ddf0e7d
to
2803eae
Compare
No description provided.