Skip to content

DOC: Fix typos in doc style.ipynb #15968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/source/style.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"*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",
"*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",
"\n",
"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."
]
Expand Down Expand Up @@ -512,7 +512,7 @@
},
"outputs": [],
"source": [
"# Compreess the color range\n",
"# Compress the color range\n",
"(df.loc[:4]\n",
" .style\n",
" .background_gradient(cmap='viridis', low=.5, high=0)\n",
Expand Down Expand Up @@ -637,7 +637,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Other options\n",
"## Other Options\n",
"\n",
"You've seen a few methods for data-driven styling.\n",
"`Styler` also provides a few other options for styles that don't depend on the data.\n",
Expand Down