Blame view

code/drafts/.ipynb_checkpoints/sample_analysis-checkpoint.jl 299 Bytes
3e0f9b8a   Francisco Coelho   back to work?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using CSV
using DataFrames
using Latexify
using Plots
using StatsPlots

data = CSV.read("sample.csv", DataFrame)
groups = groupby(data, :event)
totals = combine(groups, :event => length => :count)

x = -π:0.1:π
y = sin.(x)
@df totals plot(:event, :count)
println("Press ENTER to exit.")
readline()