读取PPG脉搏波并使用matplot绘图

import matplotlib.pyplot as plt
import pandas as pd
import numpy as np

path = './case26/uq_case26_01.csv'
df = pd.read_csv(path)
ppg = df.PPG
ppgv = ppg.values
ppgv2 = ppgv[0:200]
print(ppgv2)
plt.plot(ppgv2)
plt.show()
# print(df)
#
# dfCut = df[0:400]
# print(dfCut)
#
# # ppg = df.PPG
# # ppg_value = ppg.values
# # print(ppg_value)
# # plt.plot(ppg_value)
# plt.show()


你可能感兴趣的:(python)