Skip to content

Commit 520261e

Browse files
committed
updated cheat sheet
1 parent 9f3ded1 commit 520261e

File tree

3 files changed

+62
-2
lines changed

3 files changed

+62
-2
lines changed

.Rhistory

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
install.packages("choroplethr")
2+
q()

pandas/.ipynb_checkpoints/PandasCheatSheet-checkpoint.ipynb

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2022,6 +2022,14 @@
20222022
"[[back to top](#top)]"
20232023
]
20242024
},
2025+
{
2026+
"cell_type": "markdown",
2027+
"metadata": {},
2028+
"source": [
2029+
"Filtering by label name: [[loc](#loc)]<br>\n",
2030+
"Filtering by index row and/or column: [[iloc](#iloc)]"
2031+
]
2032+
},
20252033
{
20262034
"cell_type": "markdown",
20272035
"metadata": {},
@@ -2255,13 +2263,27 @@
22552263
],
22562264
"prompt_number": 3
22572265
},
2266+
{
2267+
"cell_type": "markdown",
2268+
"metadata": {},
2269+
"source": [
2270+
"<a id='loc'></a>"
2271+
]
2272+
},
22582273
{
22592274
"cell_type": "markdown",
22602275
"metadata": {},
22612276
"source": [
22622277
"### Slicing based on column labels/names using loc"
22632278
]
22642279
},
2280+
{
2281+
"cell_type": "markdown",
2282+
"metadata": {},
2283+
"source": [
2284+
"[[view df](#slicing)]"
2285+
]
2286+
},
22652287
{
22662288
"cell_type": "code",
22672289
"collapsed": false,
@@ -2393,6 +2415,13 @@
23932415
],
23942416
"prompt_number": 5
23952417
},
2418+
{
2419+
"cell_type": "markdown",
2420+
"metadata": {},
2421+
"source": [
2422+
"<a id='iloc'></a>"
2423+
]
2424+
},
23962425
{
23972426
"cell_type": "markdown",
23982427
"metadata": {},
@@ -2404,7 +2433,7 @@
24042433
"cell_type": "markdown",
24052434
"metadata": {},
24062435
"source": [
2407-
"[[view df](#df)]"
2436+
"[[view df](#slicing)]"
24082437
]
24092438
},
24102439
{

pandas/PandasCheatSheet.ipynb

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2022,6 +2022,14 @@
20222022
"[[back to top](#top)]"
20232023
]
20242024
},
2025+
{
2026+
"cell_type": "markdown",
2027+
"metadata": {},
2028+
"source": [
2029+
"Filtering by label name: [[loc](#loc)]<br>\n",
2030+
"Filtering by index row and/or column: [[iloc](#iloc)]"
2031+
]
2032+
},
20252033
{
20262034
"cell_type": "markdown",
20272035
"metadata": {},
@@ -2255,13 +2263,27 @@
22552263
],
22562264
"prompt_number": 3
22572265
},
2266+
{
2267+
"cell_type": "markdown",
2268+
"metadata": {},
2269+
"source": [
2270+
"<a id='loc'></a>"
2271+
]
2272+
},
22582273
{
22592274
"cell_type": "markdown",
22602275
"metadata": {},
22612276
"source": [
22622277
"### Slicing based on column labels/names using loc"
22632278
]
22642279
},
2280+
{
2281+
"cell_type": "markdown",
2282+
"metadata": {},
2283+
"source": [
2284+
"[[view df](#slicing)]"
2285+
]
2286+
},
22652287
{
22662288
"cell_type": "code",
22672289
"collapsed": false,
@@ -2393,6 +2415,13 @@
23932415
],
23942416
"prompt_number": 5
23952417
},
2418+
{
2419+
"cell_type": "markdown",
2420+
"metadata": {},
2421+
"source": [
2422+
"<a id='iloc'></a>"
2423+
]
2424+
},
23962425
{
23972426
"cell_type": "markdown",
23982427
"metadata": {},
@@ -2404,7 +2433,7 @@
24042433
"cell_type": "markdown",
24052434
"metadata": {},
24062435
"source": [
2407-
"[[view df](#df)]"
2436+
"[[view df](#slicing)]"
24082437
]
24092438
},
24102439
{

0 commit comments

Comments
 (0)