9 Getting data from a data frame

This chapter covers

  • Subsetting rows of a data frame
  • Selecting columns of a data frame
  • Creating local linear regression (LOESS) models
  • Visualizing LOESS predictions

In chapter 8, you learned the basic principles of working with data frames in Julia provided by the DataFrames.jl package, and we started to analyze the Lichess chess puzzle data. Recall that our objective was to identify the relationship between puzzle difficulty and popularity.

In section 8.3, we stopped our investigation by concluding that we would like to clean the original data before performing its final analysis (in figure 9.1, I reproduce the histograms we used in chapter 8 to conclude that the original data is significantly skewed). The simplest ...

Get Julia for Data Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.