Skip to content

Commit 06fa9e3

Browse files
committed
add 403 on pandas
1 parent f216f8b commit 06fa9e3

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

notebooks/4-03-pandas-nb.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
jupytext:
3+
text_representation:
4+
extension: .md
5+
format_name: myst
6+
kernelspec:
7+
name: python3
8+
display_name: Python 3 (ipykernel)
9+
language: python
10+
language_info:
11+
name: python
12+
pygments_lexer: ipython3
13+
nbconvert_exporter: python
14+
---
15+
16+
# Pandas DataFrame
17+
18+
for this one it seems we're better off executing at build-time
19+
20+
```{code-cell} ipython3
21+
from string import ascii_uppercase as letters
22+
23+
import numpy as np
24+
import pandas as pd
25+
26+
df = pd.DataFrame(np.random.randint(0, 100, size=(100, len(letters))), columns=list(letters))
27+
df
28+
```
29+
30+
## same DataFrame with no scroll
31+
32+
with scrolled output (`:scrolled: true`) - does not change anything
33+
34+
```{code-cell} ipython3
35+
:scrolled: true
36+
37+
df
38+
```
39+
40+
## itables ?
41+
42+
```{code-cell} ipython3
43+
%pip install itables
44+
```
45+
46+
```{code-cell} ipython3
47+
import itables
48+
itables.init_notebook_mode()
49+
```
50+
51+
```{code-cell} ipython3
52+
53+
df
54+
```

0 commit comments

Comments
 (0)