03 Random number list to run experiment
03 Random number list to run experiment#
%%html
<iframe width="700" height="400" src="https://www.youtube.com/embed/2AVLfSRpmfg/" frameborder="0" allowfullscreen></iframe>
import numpy as np
import pandas as pd
from pandas import Series, DataFrame
import matplotlib.pyplot as plt
import seaborn as sns
from scipy import stats
df = DataFrame({
'Experiment': [1, 2, 3],
'# of boxes': [8, 17, 10]
})
df
Experiment | # of boxes | |
---|---|---|
0 | 1 | 8 |
1 | 2 | 17 |
2 | 3 | 10 |
df['# of boxes'].mean()
11.666666666666666