Skip to content

Commit

Permalink
Merge pull request guipsamora#4 from jeffcarey/master
Browse files Browse the repository at this point in the history
Fixed typos
  • Loading branch information
guipsamora authored Nov 30, 2016
2 parents 5867f6f + 4334d5d commit 6c5947f
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@
"# create a list of prices\n",
"prices = [float(value[1:-1]) for value in chipo.item_price] # strip the dollar sign and trailing space\n",
"\n",
"total = sum(prices) #sum the itens\n",
"total = sum(prices) #sum the items\n",
"\n",
"\n",
"print(\"The revenue of the period was: \" + \"${0:.2f}\".format(total))"
Expand Down Expand Up @@ -563,7 +563,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 16 How many different itens are sold?"
"### Step 16 How many different items are sold?"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion 01_Getting_&_Knowing_Your_Data/Chipotle/Exercises.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 16. How many different itens are sold?"
"### Step 16. How many different items are sold?"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion 01_Getting_&_Knowing_Your_Data/Chipotle/Solutions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 16 How many different itens are sold?"
"### Step 16 How many different items are sold?"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion 04_Apply/US_Crime_Rates/Exercises_with_solutions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 16. How many different itens are sold?"
"### Step 16. How many different items are sold?"
]
},
{
Expand Down
16 changes: 8 additions & 8 deletions 07_Visualization/Chipotle/Exercise_with_Solutions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 5. Create a histogram of the top 5 itens bought"
"### Step 5. Create a histogram of the top 5 items bought"
]
},
{
Expand Down Expand Up @@ -245,16 +245,16 @@
"# convert the dictionary to a DataFrame\n",
"df = pd.DataFrame.from_dict(letter_counts, orient='index')\n",
"\n",
"# sort the values from the top to the least value and slice the first 5 itens\n",
"# sort the values from the top to the least value and slice the first 5 items\n",
"df = df[0].sort_values(ascending = True)[45:50]\n",
"\n",
"# create the plot\n",
"df.plot(kind='bar')\n",
"\n",
"# Set the title and labels\n",
"plt.xlabel('Itens')\n",
"plt.xlabel('Items')\n",
"plt.ylabel('Price')\n",
"plt.title('Most ordered Chipotle\\'s Itens')\n",
"plt.title('Most ordered Chipotle\\'s Items')\n",
"\n",
"# show the plot\n",
"plt.show()"
Expand All @@ -264,8 +264,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 6. Create a scatterplot with the number of itens orderered per order price\n",
"#### Hint: Price should be in the X-axis and Itens ordered in the Y-axis"
"### Step 6. Create a scatterplot with the number of items orderered per order price\n",
"#### Hint: Price should be in the X-axis and Items ordered in the Y-axis"
]
},
{
Expand Down Expand Up @@ -309,8 +309,8 @@
"\n",
"# Set the title and labels\n",
"plt.xlabel('Order Price')\n",
"plt.ylabel('Itens ordered')\n",
"plt.title('Number of itens ordered per order price')\n",
"plt.ylabel('Items ordered')\n",
"plt.title('Number of items ordered per order price')\n",
"plt.ylim(0)"
]
},
Expand Down
6 changes: 3 additions & 3 deletions 07_Visualization/Chipotle/Exercises.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 5. Create a histogram of the top 5 itens bought"
"### Step 5. Create a histogram of the top 5 items bought"
]
},
{
Expand All @@ -93,8 +93,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 6. Create a scatterplot with the number of itens orderered per order price\n",
"#### Hint: Price should be in the X-axis and Itens ordered in the Y-axis"
"### Step 6. Create a scatterplot with the number of items orderered per order price\n",
"#### Hint: Price should be in the X-axis and Items ordered in the Y-axis"
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions 07_Visualization/Chipotle/Solutions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 5. Create a histogram of the top 5 itens bought"
"### Step 5. Create a histogram of the top 5 items bought"
]
},
{
Expand All @@ -235,8 +235,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Step 6. Create a scatterplot with the number of itens orderered per order price\n",
"#### Hint: Price should be in the X-axis and Itens ordered in the Y-axis"
"### Step 6. Create a scatterplot with the number of items orderered per order price\n",
"#### Hint: Price should be in the X-axis and Items ordered in the Y-axis"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
}
],
"source": [
"# sort the values from the top to the least value and slice the first 5 itens\n",
"# sort the values from the top to the least value and slice the first 5 items\n",
"df = titanic.Fare.sort_values(ascending = False)\n",
"df\n",
"\n",
Expand Down

0 comments on commit 6c5947f

Please sign in to comment.