Skip to content

Change Tm to Team. #38

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
46 changes: 23 additions & 23 deletions python/pandas_exploratory_data_analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2819,7 +2819,7 @@
" <th>Player</th>\n",
" <th>Pos</th>\n",
" <th>Age</th>\n",
" <th>Tm</th>\n",
" <th>Team</th>\n",
" <th>G</th>\n",
" <th>GS</th>\n",
" <th>MP</th>\n",
Expand Down Expand Up @@ -25509,7 +25509,7 @@
"</div>"
],
"text/plain": [
" Player Pos Age Tm G ... STL BLK TOV PF PTS\n",
" Player Pos Age Team G ... STL BLK TOV PF PTS\n",
"0 Álex Abrines SG 25 OKC 31 ... 0.5 0.2 0.5 1.7 5.3\n",
"1 Quincy Acy PF 28 PHO 10 ... 0.1 0.4 0.4 2.4 1.7\n",
"2 Jaylen Adams PG 22 ATL 34 ... 0.4 0.1 0.8 1.3 3.2\n",
Expand Down Expand Up @@ -26293,7 +26293,7 @@
" <th>Player</th>\n",
" <th>Pos</th>\n",
" <th>Age</th>\n",
" <th>Tm</th>\n",
" <th>Team</th>\n",
" <th>G</th>\n",
" <th>GS</th>\n",
" <th>MP</th>\n",
Expand Down Expand Up @@ -26680,7 +26680,7 @@
"</div>"
],
"text/plain": [
" Player Pos Age Tm G GS ... AST STL BLK TOV PF PTS\n",
" Player Pos Age Team G GS ... AST STL BLK TOV PF PTS\n",
"0 Álex Abrines SG 25 OKC 31 2 ... 0.6 0.5 0.2 0.5 1.7 5.3\n",
"1 Quincy Acy PF 28 PHO 10 0 ... 0.8 0.1 0.4 0.4 2.4 1.7\n",
"2 Jaylen Adams PG 22 ATL 34 1 ... 1.9 0.4 0.1 0.8 1.3 3.2\n",
Expand Down Expand Up @@ -26736,7 +26736,7 @@
"Player object\n",
"Pos object\n",
"Age int64\n",
"Tm object\n",
"Team object\n",
"G int64\n",
" ... \n",
"STL float64\n",
Expand Down Expand Up @@ -27219,7 +27219,7 @@
" <th></th>\n",
" <th>Player</th>\n",
" <th>Pos</th>\n",
" <th>Tm</th>\n",
" <th>Team</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
Expand Down Expand Up @@ -27295,7 +27295,7 @@
"</div>"
],
"text/plain": [
" Player Pos Tm\n",
" Player Pos Team\n",
"0 Álex Abrines SG OKC\n",
"1 Quincy Acy PF PHO\n",
"2 Jaylen Adams PG ATL\n",
Expand Down Expand Up @@ -27392,7 +27392,7 @@
" <th>Player</th>\n",
" <th>Pos</th>\n",
" <th>Age</th>\n",
" <th>Tm</th>\n",
" <th>Team</th>\n",
" <th>G</th>\n",
" <th>GS</th>\n",
" <th>MP</th>\n",
Expand Down Expand Up @@ -27458,7 +27458,7 @@
"</div>"
],
"text/plain": [
" Player Pos Age Tm G GS ... AST STL BLK TOV PF PTS\n",
" Player Pos Age Team G GS ... AST STL BLK TOV PF PTS\n",
"267 James Harden PG 29 HOU 78 78 ... 7.5 2.0 0.7 5.0 3.1 36.1\n",
"\n",
"[1 rows x 29 columns]"
Expand Down Expand Up @@ -27496,7 +27496,7 @@
},
"source": [
"PlayerMaxPoints = df[df.PTS == df.PTS.max()]\n",
"PlayerMaxPoints.Tm"
"PlayerMaxPoints.Team"
],
"execution_count": 0,
"outputs": [
Expand All @@ -27505,7 +27505,7 @@
"data": {
"text/plain": [
"267 HOU\n",
"Name: Tm, dtype: object"
"Name: Team, dtype: object"
]
},
"metadata": {
Expand Down Expand Up @@ -27658,7 +27658,7 @@
" <th>Player</th>\n",
" <th>Pos</th>\n",
" <th>Age</th>\n",
" <th>Tm</th>\n",
" <th>Team</th>\n",
" <th>G</th>\n",
" <th>GS</th>\n",
" <th>MP</th>\n",
Expand Down Expand Up @@ -28045,7 +28045,7 @@
"</div>"
],
"text/plain": [
" Player Pos Age Tm G ... STL BLK TOV PF PTS\n",
" Player Pos Age Team G ... STL BLK TOV PF PTS\n",
"7 LaMarcus Aldridge C 33 SAS 81 ... 0.5 1.3 1.8 2.2 21.3\n",
"19 Giannis Antetokounmpo PF 24 MIL 72 ... 1.3 1.5 3.7 3.2 27.7\n",
"47 Bradley Beal SG 25 WAS 82 ... 1.5 0.7 2.7 2.8 25.6\n",
Expand Down Expand Up @@ -28119,7 +28119,7 @@
" <th>Player</th>\n",
" <th>Pos</th>\n",
" <th>Age</th>\n",
" <th>Tm</th>\n",
" <th>Team</th>\n",
" <th>G</th>\n",
" <th>GS</th>\n",
" <th>MP</th>\n",
Expand Down Expand Up @@ -28185,7 +28185,7 @@
"</div>"
],
"text/plain": [
" Player Pos Age Tm G GS ... AST STL BLK TOV PF PTS\n",
" Player Pos Age Team G GS ... AST STL BLK TOV PF PTS\n",
"159 Stephen Curry PG 30 GSW 69 69 ... 5.2 1.3 0.4 2.8 2.4 27.3\n",
"\n",
"[1 rows x 29 columns]"
Expand Down Expand Up @@ -28249,7 +28249,7 @@
" <th>Player</th>\n",
" <th>Pos</th>\n",
" <th>Age</th>\n",
" <th>Tm</th>\n",
" <th>Team</th>\n",
" <th>G</th>\n",
" <th>GS</th>\n",
" <th>MP</th>\n",
Expand Down Expand Up @@ -28315,7 +28315,7 @@
"</div>"
],
"text/plain": [
" Player Pos Age Tm G GS ... AST STL BLK TOV PF PTS\n",
" Player Pos Age Team G GS ... AST STL BLK TOV PF PTS\n",
"675 Russell Westbrook PG 30 OKC 73 73 ... 10.7 1.9 0.5 4.5 3.4 22.9\n",
"\n",
"[1 rows x 29 columns]"
Expand Down Expand Up @@ -28356,7 +28356,7 @@
"colab": {}
},
"source": [
"LAL = df.groupby('Tm').get_group('LAL')"
"LAL = df.groupby('Team').get_group('LAL')"
],
"execution_count": 0,
"outputs": []
Expand Down Expand Up @@ -28402,7 +28402,7 @@
" <th>Player</th>\n",
" <th>Pos</th>\n",
" <th>Age</th>\n",
" <th>Tm</th>\n",
" <th>Team</th>\n",
" <th>G</th>\n",
" <th>GS</th>\n",
" <th>MP</th>\n",
Expand Down Expand Up @@ -28468,7 +28468,7 @@
"</div>"
],
"text/plain": [
" Player Pos Age Tm G GS ... AST STL BLK TOV PF PTS\n",
" Player Pos Age Team G GS ... AST STL BLK TOV PF PTS\n",
"332 LeBron James SF 34 LAL 55 55 ... 8.3 1.3 0.6 3.6 1.7 27.4\n",
"\n",
"[1 rows x 29 columns]"
Expand Down Expand Up @@ -28742,7 +28742,7 @@
" <th>Player</th>\n",
" <th>Pos</th>\n",
" <th>Age</th>\n",
" <th>Tm</th>\n",
" <th>Team</th>\n",
" <th>G</th>\n",
" <th>GS</th>\n",
" <th>MP</th>\n",
Expand Down Expand Up @@ -29129,7 +29129,7 @@
"</div>"
],
"text/plain": [
" Player Pos Age Tm G GS ... AST STL BLK TOV PF PTS\n",
" Player Pos Age Team G GS ... AST STL BLK TOV PF PTS\n",
"0 Álex Abrines SG 25 OKC 31 2 ... 0.6 0.5 0.2 0.5 1.7 5.3\n",
"1 Quincy Acy PF 28 PHO 10 0 ... 0.8 0.1 0.4 0.4 2.4 1.7\n",
"2 Jaylen Adams PG 22 ATL 34 1 ... 1.9 0.4 0.1 0.8 1.3 3.2\n",
Expand Down Expand Up @@ -31800,4 +31800,4 @@
"outputs": []
}
]
}
}