Skip to content
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

Adding tables (dataframes) below graphs #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

odscrachel
Copy link
Contributor

Related to #21

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Comment on lines +901 to +902
"df = pd.DataFrame(project_status)\n",
"df"
Copy link
Contributor

Choose a reason for hiding this comment

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

The %%sql magic's autopandas config is set to True in the setup cell so it already returns Pandas DataFrames rather than regular resultsets.

As such, you can just use the name of the dataframe to display the table:

Suggested change
"df = pd.DataFrame(project_status)\n",
"df"
"project_status"

The same applies to the other changes in this PR.

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