import numpy as np
import pandas as pd
from matplotlib import pyplot as plt
def calpercent(data):#计算0和1占比cnt01=sum(data==0)+sum(data==1)return cnt01/data.size
data_Mete=pd.read_csv('./data/Mete_FR-Gri.csv')data_VI=pd.read_csv('./data/VI_FR-Gri.csv')#M表的时间戳类型转