Professional Documents
Culture Documents
Con Altos Erraticos Phi Rocktype 1,2,4 - Jupyter Notebook
Con Altos Erraticos Phi Rocktype 1,2,4 - Jupyter Notebook
Con Altos Erraticos Phi Rocktype 1,2,4 - Jupyter Notebook
In [1]:
import numpy as np
import pandas as pd
import os
In [3]:
path=os.getcwd()
filename=path+"\phiAE.csv"
print(filename)
C:\Users\usuario\PC1\phiAE.csv
In [4]:
fldata=pd.read_csv(filename)
fldata.head()
Out[4]:
Phi
0 0.30351
1 0.30213
2 0.31142
3 0.33880
4 0.20281
In [5]:
fldata.describe()
Out[5]:
Phi
count 12861.000000
mean 0.283131
std 0.077175
min 0.010100
25% 0.224030
50% 0.311690
75% 0.343490
max 0.438520
In [6]:
fldata['Phi'].describe(percentiles=[0.25,.50,.75,0.95,0.98])
Out[6]:
count 12861.000000
mean 0.283131
std 0.077175
min 0.010100
25% 0.224030
50% 0.311690
75% 0.343490
95% 0.368440
98% 0.377568
max 0.438520
In [7]:
fldata.hist(column=['Phi'])
Out[7]:
array([[<AxesSubplot:title={'center':'Phi'}>]], dtype=object)
In [8]:
ax.grid(True)
ax.set_xlabel('ley de Phi(%)')
ax.set_ylabel('Probabilidad de ocurrencia')
y = np.array(fldata['Phi'],order='K')
In [9]:
fldata.boxplot(column=['Phi'])
Out[9]:
<AxesSubplot:>
In [ ]: