Skip to content

Commit 3653e23

Browse files
committed
minor fix
1 parent 567c82f commit 3653e23

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/module2/module2-07-name_that_argument.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ import pandas as pd
6161
6262
# Read in the data from the csv file using the full pathway
6363
# Save it as pokemon_sample
64-
# Only load in the first 100 rows and only load in columns name, total_bs, type
64+
# Only load in the first 100 rows and only load in columns: name, total_bs, type
6565
____ = ____(____,
6666
____,
6767
____)
@@ -108,7 +108,7 @@ import pandas as pd
108108
109109
# Read in the data from the csv file using the full pathway
110110
# Save it as pokemon_sample
111-
# Only load in the first 100 rows and only load in columns name, total_bs, type
111+
# Only load in the first 100 rows and only load in columns: name, total_bs, type
112112
pokemon_sample = pd.read_csv('data/pokemon.csv',
113113
nrows=100,
114114
usecols=['name', 'total_bs', 'type'])

modules/module2/module2-10-column_editing_questions.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pokemon = pd.read_csv('data/pokemon.csv')
9393
9494
# Rename the column sp_attack to special_a and
9595
# sp_defense to special_d using df.rename() once
96-
# Save the new dataframe as `pokemon_special`
96+
# Save the new dataframe as pokemon_special
9797
____ = ____
9898
9999
# Display the first 5 rows of the dataframe
@@ -139,7 +139,7 @@ pokemon = pd.read_csv('data/pokemon.csv')
139139
140140
# Rename the column sp_attack to special_a and
141141
# sp_defense to special_d using df.rename() once
142-
# Save the new dataframe as `pokemon_special`
142+
# Save the new dataframe as pokemon_special
143143
pokemon_special = pokemon.rename(columns={'sp_attack':'special_a',
144144
'sp_defense':'special_d'})
145145

0 commit comments

Comments
 (0)