Skip to content

Commit c71cb18

Browse files
authored
Merge pull request #509 from ialas/patch-1
improved flow using bold and fixed capitalization
2 parents 0d1b72d + 48f3d08 commit c71cb18

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

_episodes/02-starting-with-data.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ We will be using files from the [Portal Project Teaching Database][pptd].
5454
This section will use the `surveys.csv` file that can be downloaded here:
5555
[https://ndownloader.figshare.com/files/2292172][figshare-ndownloader]
5656

57-
We are studying the species and weight of animals caught in sites in our study
57+
We are studying the **species** and **weight** of animals caught in sites in our study
5858
area. The dataset is stored as a `.csv` file: each row holds information for a
5959
single animal, and the columns represent:
6060

@@ -317,10 +317,10 @@ this case it represents strings (such as 'M' and 'F' in the case of sex).
317317

318318
We'll talk a bit more about what the different formats mean in a different lesson.
319319

320-
### Useful Ways to View DataFrame objects in Python
320+
### Useful Ways to View DataFrame Objects in Python
321321

322322
There are many ways to summarize and access the data stored in DataFrames,
323-
using attributes and methods provided by the DataFrame object.
323+
using **attributes** and **methods** provided by the DataFrame object.
324324

325325
To access an attribute, use the DataFrame object name followed by the attribute
326326
name `df_object.attribute`. Using the DataFrame `surveys_df` and attribute
@@ -329,14 +329,14 @@ with `surveys_df.columns`.
329329

330330
Methods are called in a similar fashion using the syntax `df_object.method()`.
331331
As an example, `surveys_df.head()` gets the first few rows in the DataFrame
332-
`surveys_df` using **the `head()` method**. With a method, we can supply extra
332+
`surveys_df` using the `head()` method. With a method we can supply extra
333333
information in the parens to control behaviour.
334334

335335
Let's look at the data using these.
336336

337337
> ## Challenge - DataFrames
338338
>
339-
> Using our DataFrame `surveys_df`, try out the attributes & methods below to see
339+
> Using our DataFrame `surveys_df`, try out the **attributes** & **methods** below to see
340340
> what they return.
341341
>
342342
> 1. `surveys_df.columns`

0 commit comments

Comments
 (0)