Skip to content

Commit b308330

Browse files
authored
Fix type in python-pandas dataframe exdample
1 parent 45d3350 commit b308330

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python-pandas.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ In most cases, data will be read in with the `pd.read_csv()` function, however,
295295
For example using a nested list, were each row in the datafram is a list `[]`.
296296

297297
```{.python eval=False}
298-
df = pd.Dataframe([[5,6], [8,4]], colums=["A", "B"])
298+
df = pd.DataFrame([[5,6], [8,4]], columns=["A", "B"])
299299
df
300300
```
301301
::: {.callout-note collapse="true"}
@@ -1527,4 +1527,4 @@ To delete the conda environment
15271527

15281528
```bash
15291529
conda remove --name python-pandas --all -y
1530-
```
1530+
```

0 commit comments

Comments
 (0)