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

parametrization tutorial updates #570

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Conversation

neelasha23
Copy link

@neelasha23 neelasha23 commented Jun 5, 2023

Describe your changes

Added more details in the parametrization tutorial

Issue number

Closes #288

Checklist before requesting a review


📚 Documentation preview 📚: https://jupysql--570.org.readthedocs.build/en/570/

Copy link

@edublancas edublancas left a comment

Choose a reason for hiding this comment

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

let's add a final example showing how to use a for loop to run a parametrized query multiple times:

for island in ("Torgersen", "Biscoe", "Dream"):
    %sql create table {{island}} as (select * from penguins.csv where island = '{{island}}')

doc/user-guide/template.md Outdated Show resolved Hide resolved
cgangelog

review comments
@neelasha23
Copy link
Author

let's add a final example showing how to use a for loop to run a parametrized query multiple times:

for island in ("Torgersen", "Biscoe", "Dream"):
    %sql create table {{island}} as (select * from penguins.csv where island = '{{island}}')

Added this
@edublancas

@edublancas edublancas changed the title Parametrization tutorial parametrization tutorial updates Jun 6, 2023
@edublancas edublancas merged commit 56f7938 into ploomber:master Jun 6, 2023
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.

improving the parametrization tutorial
2 participants