Skip to content

Commit 789d16f

Browse files
committed
Add example code
1 parent 4809746 commit 789d16f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

web/pandas/getting_started.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,20 @@
33
## Try it online
44

55
You can try `pandas` online with the following interactive shell
6-
without installing anything on your computer:
6+
without installing anything on your computer.
7+
8+
For example you can use the following code snippet to interact with the `iris`
9+
dataset:
10+
11+
```python
12+
import pandas as pd
13+
14+
# load the dataset
15+
df = pd.read_csv('iris.csv')
16+
17+
# display the DataFrame
18+
df
19+
```
720

821
<iframe
922
src="https://jtpio.github.io/pandas-repl/repl/index.html?toolbar=1&kernel=python&code=import pandas as pd"

0 commit comments

Comments
 (0)