diff --git a/02-data-structures.Rmd b/02-data-structures.Rmd index 5b00cfa..47d4db1 100644 --- a/02-data-structures.Rmd +++ b/02-data-structures.Rmd @@ -196,3 +196,7 @@ metadata.iloc[5:, [1, 10, 21]] This is a great way to start thinking about subsetting your dataframes for analysis, but this way of of subsetting can lead to some inconsistencies in the long run. For instance, suppose your collaborator added a new cell line to the metadata and changed the order of the column. Then your code to subset the last 5 rows and the columns will get you a different answer once the spreadsheet is changed. The second way is to subset by the column name, and this is much more preferred in data analysis practice. You will learn about it next week! + +## Exercises + +Exercise for week 2 can be found [here](https://colab.research.google.com/drive/1oIL3gKEZR2Lq16k6XY0HXIhjYl34pEjr?usp=sharing).