2.4 KiB
2.4 KiB
In [24]:
import pandas as pd pv_df = pd.read_csv('data/PV.csv', sep=';') temperature_df = pd.read_csv('data/temper.csv', sep=',') pv_data = pv_df['P_PV_'].apply(lambda x: x.replace(',', '.')).to_numpy(dtype=float) temper = temperature_df['t2m'].to_numpy(dtype=float)
In [25]:
pv_data
Out[25]:
array([0., 0., 0., ..., 0., 0., 0.])
In [26]:
temper -= 273.15 temper
Out[26]:
array([-3.2424931, -3.4571036, -3.5921883, ..., 3.2034465, 1.3242432, 0.3394317])
In [26]: