Skip to content

Commit 273eb66

Browse files
authored
Merge pull request #591 from datacarpentry/assorted-typos
assorted typos
2 parents 64fb4bf + 054ebb0 commit 273eb66

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

episodes/05-merging-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ have been repeated. We can reindex the new DataFrame using the `reset_index()` m
125125

126126
### Writing Out Data to CSV
127127

128-
We can use the `to_csv` command to do export a DataFrame in CSV format. Note that the code
128+
We can use the `to_csv` command to export a DataFrame in CSV format. Note that the code
129129
below will by default save the data into the current working directory. We can
130130
save it to a different folder by adding the foldername and a slash to the file
131131
`vertical_stack.to_csv('foldername/out.csv')`. We use the `index=False` so that

episodes/07-visualization-ggplot-python.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ to the color aesthetic:
232232
)
233233
```
234234

235-
![](fig/06_color_plot.png){alt='scatter plot of Hindfoot length vs weight with colors coordinating to specfic species, showing abundance in the mid to lower left side of the plot'}
235+
![](fig/06_color_plot.png){alt='scatter plot of Hindfoot length vs weight with colors coordinating to specific species, showing abundance in the mid to lower left side of the plot'}
236236

237237
Apart from the adaptations of the arguments and settings of the `data`, `aes`
238238
and `geom-*` elements, additional elements can be added as well, using the `+`
@@ -248,7 +248,7 @@ operator:
248248
)
249249
```
250250

251-
![](fig/06_color_label_plot.png){alt='scatter plot of Hindfoot length vs weight (g) with colors coordinating to specfic species, showing abundance in the mid to lower left side of the plot'}
251+
![](fig/06_color_label_plot.png){alt='scatter plot of Hindfoot length vs weight (g) with colors coordinating to specific species, showing abundance in the mid to lower left side of the plot'}
252252

253253
- Defining scale for colors, axes,... For example, a log-version of the x-axis
254254
could support the interpretation of the lower numbers:
@@ -387,7 +387,7 @@ mapping of a variable, `plotnine` will handle the values as category values.
387387

388388
## Plotting time series data
389389

390-
Let's calculate number of counts per year for each species. To do that we need
390+
Let's calculate the number of counts per year for each species. To do that we need
391391
to group data first and count the species (`species_id`) within each group.
392392

393393
```python
@@ -567,7 +567,7 @@ following example of a bar plot with the counts per year.
567567
)
568568
```
569569

570-
![](fig/06_overlap_bars.png){alt='Bar graph of count per year showing ovelapping x-axis labels'}
570+
![](fig/06_overlap_bars.png){alt='Bar graph of count per year showing overlapping x-axis labels'}
571571

572572
Notice that we use the `year` here as a categorical variable by using the
573573
`factor` functionality. However, by doing so, we have the individual year

0 commit comments

Comments
 (0)