python报错ValueError: supplied range of [-inf, 5.572154032177765] is not finite
数据分布不均匀时,采用log变换处理数据,plt.hist(np.log(df_train['cycle'].values), orientation = 'vertical',histtype = 'bar', color ='skyblue') plt.show()"""ValueError: supplied range of [-inf, 5.572154032177765] is not finite"""这是因为你的数据中有