Code py2
Code py2
import numpy as np
input_path = r'C:\Users\alire\Downloads\Logan\converted_data5.xlsx'
xls = pd.ExcelFile(input_path)
plt.figure(figsize=(10, 6))
plt.plot(filtered_data['SQRT_Time'], filtered_data['(P_initial -
BHP)/Downhole_Rate'], marker='o', linestyle='', color='b', label='All Data')