Skip to content

Instantly share code, notes, and snippets.

@tmastny
Created May 29, 2020 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmastny/8073b0bc40e774036068040d23471a46 to your computer and use it in GitHub Desktop.
Save tmastny/8073b0bc40e774036068040d23471a46 to your computer and use it in GitHub Desktop.
---
title: "test"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{test}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
```{python}
x = [1, 10]
```
```{python}
x
```
```{python}
import pandas as pd
```
```{python}
df = pd.DataFrame({"x": [1, 2, 3], "y": [3, 4, 5]})
df.head()
```
```{python}
df.plot("x", "y")
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment