Skip to content

Commit 6c0cfff

Browse files
funnycrabTomAugspurger
authored andcommitted
DOC: Fix typos in doc style.ipynb (pandas-dev#15968)
1 parent fbbcc10 commit 6c0cfff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/style.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"cell_type": "markdown",
100100
"metadata": {},
101101
"source": [
102-
"*Note*: The `DataFrame.style` attribute is a propetry that returns a `Styler` object. `Styler` has a `_repr_html_` method defined on it so they are rendered automatically. If you want the actual HTML back for further processing or for writing to file call the `.render()` method which returns a string.\n",
102+
"*Note*: The `DataFrame.style` attribute is a property that returns a `Styler` object. `Styler` has a `_repr_html_` method defined on it so they are rendered automatically. If you want the actual HTML back for further processing or for writing to file call the `.render()` method which returns a string.\n",
103103
"\n",
104104
"The above output looks very similar to the standard DataFrame HTML representation. But we've done some work behind the scenes to attach CSS classes to each cell. We can view these by calling the `.render` method."
105105
]
@@ -512,7 +512,7 @@
512512
},
513513
"outputs": [],
514514
"source": [
515-
"# Compreess the color range\n",
515+
"# Compress the color range\n",
516516
"(df.loc[:4]\n",
517517
" .style\n",
518518
" .background_gradient(cmap='viridis', low=.5, high=0)\n",
@@ -637,7 +637,7 @@
637637
"cell_type": "markdown",
638638
"metadata": {},
639639
"source": [
640-
"## Other options\n",
640+
"## Other Options\n",
641641
"\n",
642642
"You've seen a few methods for data-driven styling.\n",
643643
"`Styler` also provides a few other options for styles that don't depend on the data.\n",

0 commit comments

Comments
 (0)