Upload New File

parent b7299ec8
#REFERENCE BOXPLOT: https://www.geeksforgeeks.org/box-plot-in-python-using-matplotlib/
#REFERENCE EXCEL: https://stackabuse.com/reading-and-writing-excel-files-in-python-with-the-pandas-library/
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
#immporting csv file
df = pd.read_csv (r'csv\csv_eyediap_n_detector\1_A_FT_M_DnE.csv')
print (df)
detector_x_error = df['eyediap_center_x'] - df['center_x']
detector_y_error = df['eyediap_center_y'] - df['center_y']
print('detector_x_error',detector_x_error, 'detector_y_error', detector_y_error)
#plotting bocplot graph
# Creating dataset
# np.random.seed(10)
# data = np.random.normal(y.x1, 20, 200)
# fig = plt.figure(figsize =(10, 7))
# # Creating plot
# plt.boxplot(data)
# # show plot
# plt.show()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment