IIS_2023_1/kondrashin_mikhail_lab_5/data.py

13 lines
183 B
Python

import pandas as pd
def load(path):
dataset = pd.read_csv(path)
names = ['V1', 'D1', 'RH', 'TI1', 'P']
x = dataset[names]
y = dataset['T']
return x, y, names