add histogram
This commit is contained in:
parent
24022893ba
commit
f48c121324
1 changed files with 5 additions and 1 deletions
|
@ -4,9 +4,13 @@ using CSV
|
||||||
using DataFrames
|
using DataFrames
|
||||||
using Plots
|
using Plots
|
||||||
|
|
||||||
puzzles = CSV.read("puzzles.csv", DataFrame);
|
puzzlespath = joinpath("data", "puzzles.csv");
|
||||||
|
|
||||||
|
puzzles = CSV.read(puzzlespath, DataFrame);
|
||||||
|
|
||||||
show(describe(puzzles))# use to show summary stats
|
show(describe(puzzles))# use to show summary stats
|
||||||
|
|
||||||
# 8.3.4 Quick Histogram
|
# 8.3.4 Quick Histogram
|
||||||
|
|
||||||
|
plot([histogram(puzzles[!,col]; label = col) for
|
||||||
|
col in ["Rating", "RatingDeviation", "Popularity", "NbPlays"]]...)
|
Loading…
Reference in a new issue