Skip to content

Commit a7f8b20

Browse files
committed
DOC: Table Visualization gets Error for cell pandas-dev#49874
1 parent 16b4e53 commit a7f8b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/style.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"source": [
7777
"# Hidden cell to just create the below example: code is covered throughout the guide.\n",
7878
"s = df.style\\\n",
79-
" .hide_columns([('Random', 'Tumour'), ('Random', 'Non-Tumour')])\\\n",
79+
" .hide([('Random', 'Tumour'), ('Random', 'Non-Tumour')], axis='columns')\\\n",
8080
" .format('{:.0f}')\\\n",
8181
" .set_table_styles([{\n",
8282
" 'selector': '',\n",

0 commit comments

Comments
 (0)