-
Notifications
You must be signed in to change notification settings - Fork 21
Data Docs #320
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
base: main
Are you sure you want to change the base?
Data Docs #320
Conversation
##### Restaurant Tips Template | ||
|
||
 | ||
[See the code](https://shiny.posit.co/py/templates/dashboard-tips/) |
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.
Let's migrate this template and the model-scoring
templates to polars. Feel free to keep just the AWS example under pandas (ideally, we'll migrate most/all of our own templates/examples to polars eventually)
…shiny-site into feat/new-data-docs
|
||
|
||
```{.python filename="app.py"} | ||
import polars as pl |
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.
You can put this code in a app-{name}.py
file, e.g. app-polars-full.py
, next to this qmd or in a subfolder somewhere.
And then in this code chunk you can use {{< include path/to/app-polars-full.py >}}
Quarto shortcode to inline the app code e.g.
```{.python filename="app.py"}
{{< include app-polars-full.py >}}
```
No description provided.