Skip to content

Commit 6c5947f

Browse files
authored
Merge pull request guipsamora#4 from jeffcarey/master
Fixed typos
2 parents 5867f6f + 4334d5d commit 6c5947f

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

01_Getting_&_Knowing_Your_Data/Chipotle/Exercise_with_Solutions.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@
495495
"# create a list of prices\n",
496496
"prices = [float(value[1:-1]) for value in chipo.item_price] # strip the dollar sign and trailing space\n",
497497
"\n",
498-
"total = sum(prices) #sum the itens\n",
498+
"total = sum(prices) #sum the items\n",
499499
"\n",
500500
"\n",
501501
"print(\"The revenue of the period was: \" + \"${0:.2f}\".format(total))"
@@ -563,7 +563,7 @@
563563
"cell_type": "markdown",
564564
"metadata": {},
565565
"source": [
566-
"### Step 16 How many different itens are sold?"
566+
"### Step 16 How many different items are sold?"
567567
]
568568
},
569569
{

01_Getting_&_Knowing_Your_Data/Chipotle/Exercises.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
"cell_type": "markdown",
246246
"metadata": {},
247247
"source": [
248-
"### Step 16. How many different itens are sold?"
248+
"### Step 16. How many different items are sold?"
249249
]
250250
},
251251
{

01_Getting_&_Knowing_Your_Data/Chipotle/Solutions.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@
516516
"cell_type": "markdown",
517517
"metadata": {},
518518
"source": [
519-
"### Step 16 How many different itens are sold?"
519+
"### Step 16 How many different items are sold?"
520520
]
521521
},
522522
{

04_Apply/US_Crime_Rates/Exercises_with_solutions.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@
897897
"cell_type": "markdown",
898898
"metadata": {},
899899
"source": [
900-
"### Step 16. How many different itens are sold?"
900+
"### Step 16. How many different items are sold?"
901901
]
902902
},
903903
{

07_Visualization/Chipotle/Exercise_with_Solutions.ipynb

+8-8
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
"cell_type": "markdown",
215215
"metadata": {},
216216
"source": [
217-
"### Step 5. Create a histogram of the top 5 itens bought"
217+
"### Step 5. Create a histogram of the top 5 items bought"
218218
]
219219
},
220220
{
@@ -245,16 +245,16 @@
245245
"# convert the dictionary to a DataFrame\n",
246246
"df = pd.DataFrame.from_dict(letter_counts, orient='index')\n",
247247
"\n",
248-
"# sort the values from the top to the least value and slice the first 5 itens\n",
248+
"# sort the values from the top to the least value and slice the first 5 items\n",
249249
"df = df[0].sort_values(ascending = True)[45:50]\n",
250250
"\n",
251251
"# create the plot\n",
252252
"df.plot(kind='bar')\n",
253253
"\n",
254254
"# Set the title and labels\n",
255-
"plt.xlabel('Itens')\n",
255+
"plt.xlabel('Items')\n",
256256
"plt.ylabel('Price')\n",
257-
"plt.title('Most ordered Chipotle\\'s Itens')\n",
257+
"plt.title('Most ordered Chipotle\\'s Items')\n",
258258
"\n",
259259
"# show the plot\n",
260260
"plt.show()"
@@ -264,8 +264,8 @@
264264
"cell_type": "markdown",
265265
"metadata": {},
266266
"source": [
267-
"### Step 6. Create a scatterplot with the number of itens orderered per order price\n",
268-
"#### Hint: Price should be in the X-axis and Itens ordered in the Y-axis"
267+
"### Step 6. Create a scatterplot with the number of items orderered per order price\n",
268+
"#### Hint: Price should be in the X-axis and Items ordered in the Y-axis"
269269
]
270270
},
271271
{
@@ -309,8 +309,8 @@
309309
"\n",
310310
"# Set the title and labels\n",
311311
"plt.xlabel('Order Price')\n",
312-
"plt.ylabel('Itens ordered')\n",
313-
"plt.title('Number of itens ordered per order price')\n",
312+
"plt.ylabel('Items ordered')\n",
313+
"plt.title('Number of items ordered per order price')\n",
314314
"plt.ylim(0)"
315315
]
316316
},

07_Visualization/Chipotle/Exercises.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"cell_type": "markdown",
7878
"metadata": {},
7979
"source": [
80-
"### Step 5. Create a histogram of the top 5 itens bought"
80+
"### Step 5. Create a histogram of the top 5 items bought"
8181
]
8282
},
8383
{
@@ -93,8 +93,8 @@
9393
"cell_type": "markdown",
9494
"metadata": {},
9595
"source": [
96-
"### Step 6. Create a scatterplot with the number of itens orderered per order price\n",
97-
"#### Hint: Price should be in the X-axis and Itens ordered in the Y-axis"
96+
"### Step 6. Create a scatterplot with the number of items orderered per order price\n",
97+
"#### Hint: Price should be in the X-axis and Items ordered in the Y-axis"
9898
]
9999
},
100100
{

07_Visualization/Chipotle/Solutions.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
"cell_type": "markdown",
209209
"metadata": {},
210210
"source": [
211-
"### Step 5. Create a histogram of the top 5 itens bought"
211+
"### Step 5. Create a histogram of the top 5 items bought"
212212
]
213213
},
214214
{
@@ -235,8 +235,8 @@
235235
"cell_type": "markdown",
236236
"metadata": {},
237237
"source": [
238-
"### Step 6. Create a scatterplot with the number of itens orderered per order price\n",
239-
"#### Hint: Price should be in the X-axis and Itens ordered in the Y-axis"
238+
"### Step 6. Create a scatterplot with the number of items orderered per order price\n",
239+
"#### Hint: Price should be in the X-axis and Items ordered in the Y-axis"
240240
]
241241
},
242242
{

07_Visualization/Titanic_Desaster/Exercises_code_with_solutions.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
}
526526
],
527527
"source": [
528-
"# sort the values from the top to the least value and slice the first 5 itens\n",
528+
"# sort the values from the top to the least value and slice the first 5 items\n",
529529
"df = titanic.Fare.sort_values(ascending = False)\n",
530530
"df\n",
531531
"\n",

0 commit comments

Comments
 (0)