self_example/pytorch_example/RUL/otherIdea/adaRNN/dataset/watchData.py

27 lines
412 B
Python

# -*- encoding:utf-8 -*-
'''
@Author : dingjiawen
@Date : 2023/11/16 14:53
@Usage :
@Desc :
'''
import pandas as pd
data_file = 'G:\data\北京多站点空气质量数据集\PRSA_Data_1.pkl'
data = pd.read_pickle(data_file)['Tiantan']
feature, label, label_reg = data
print(data)
import matplotlib.pyplot as plt
# plt.subplot(2,1,1)
# plt.plot(feature)
plt.subplot(2,1,2)
plt.plot(label_reg)
plt.show()