8000 comments · beernlinux/python_reference@3fccde1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3fccde1

Browse files
committed
comments
1 parent 4edb98e commit 3fccde1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tutorials/things_in_pandas.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:5455ed1ab796c2d7a01bee46d8f4d18de1bbc93ba0257248aff18e7b73a05e0a"
4+
"signature": "sha256:01adffebfb99d8e7a86af443b9d14ca7695efc917465ea85868cc42681d6e96b"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -576,7 +576,8 @@
576576
"cell_type": "code",
577577
"collapsed": false,
578578
"input": [
579-
"# Create a new column\n",
579+
"# Creating a new column\n",
580+
"\n",
580581
"df['team'] = pd.Series('', index=df.index)\n",
581582
"df.tail(3)"
582583
],
@@ -664,7 +665,7 @@
664665
"cell_type": "code",
665666
"collapsed": false,
666667
"input": [
667-
"# process salary column\n",
668+
"# Processing `salary` column\n",
668669
"\n",
669670
"df['salary'] = df['salary'].apply(lambda x: x.strip('$m'))\n",
670671
"df.tail()"
@@ -781,7 +782,7 @@
781782
"cell_type": "code",
782783
"collapsed": false,
783784
"input": [
784-
"# process `player` column\n",
785+
"# Processing `player` column\n",
785786
"\n",
786787
"def process_player_col(text):\n",
787788
" name, rest = text.split('\\n')\n",

0 commit comments

Comments
 (0)
0