Skip to content

tickets/SP-3204-review-for-release - #185

Open
sgreenstreet wants to merge 4 commits into
mainfrom
tickets/SP-3204
Open

tickets/SP-3204-review-for-release#185
sgreenstreet wants to merge 4 commits into
mainfrom
tickets/SP-3204

Conversation

@sgreenstreet

Copy link
Copy Markdown
Contributor

Add 201 series notebooks for current_identifications and numbered_identifications tables.

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@sgreenstreet
sgreenstreet requested a review from jeffcarlin July 27, 2026 23:54
@@ -0,0 +1,758 @@
{

@jeffcarlin jeffcarlin Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Be sure to update the link to point to DP2 docs (it's currently dp1).

Also, pipelines version should be r30.0.10.


Reply via ReviewNB

@@ -0,0 +1,758 @@
{

@jeffcarlin jeffcarlin Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't forget to remove the "NEED TO UPDATE" note!


Reply via ReviewNB

@@ -0,0 +1,758 @@
{

@jeffcarlin jeffcarlin Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Update to reflect actual imports.


Reply via ReviewNB

@@ -0,0 +1,758 @@
{

@jeffcarlin jeffcarlin Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't forget to remove "NEED TO UPDATE..." note!


Reply via ReviewNB

@@ -0,0 +1,758 @@
{

@jeffcarlin jeffcarlin Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is there a need to retrieve the full table? You could use "SELECT TOP 10..." or something to demonstrate the query, and it would be much faster.


Reply via ReviewNB

@@ -0,0 +1,648 @@
{

@jeffcarlin jeffcarlin Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I only see 9 columns?


Reply via ReviewNB

@@ -0,0 +1,648 @@
{

@jeffcarlin jeffcarlin Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Remove the "NEED TO UPDATE" reminder.


Reply via ReviewNB

@@ -0,0 +1,648 @@
{

@jeffcarlin jeffcarlin Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Probably no need to get the entire table? Maybe use "SELECT TOP N...".

Also, "ORDER BY" probably makes this query much slower. I think sorting after returning results would be better (though maybe check our TAP tutorials for advice on this).


Reply via ReviewNB

@@ -0,0 +1,648 @@
{

@jeffcarlin jeffcarlin Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

As noted before, can use results.table.to_pandas(). 


Reply via ReviewNB

@@ -0,0 +1,648 @@
{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

See my comments on NB 201_15 about (a) returning the entire table from your query (is it needed?), (b) using pandas to join (could do it in the query), and (c) counting (can do via TAP).

I would rewrite this section with those changes in mind.


Reply via ReviewNB

@jeffcarlin jeffcarlin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Left comments in ReviewNB. The main thing is that I think we should avoid queries that return full tables. Demonstrating to users how to query tables doesn't need the whole thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants