Extracting insights with descriptive statistics
In this section, we’ll use two tools to generate descriptive statistics for us based on our data and see what insights they can provide.
Using DataFrame.Description to generate descriptive statistics
Let’s start by using the DataFrame
class to see how its Description
method can be applied to an entire dataset. First, we need to load up the final dataset from the last chapter into a new DataFrame
. This time around, we’re going to do this in F# instead of C#. This is because many of the data visualization libraries in .NET were designed specifically for F# due to F#’s popularity in the scientific community as a functional programming language.
Want to work with C#?
While most of what we’re covering in this chapter is possible using C#, it typically isn’t quite as easy to do as it is in F# or requires an additional wrapper library that doesn’t have all of the features of the F...