introduction-to-deep-learning/Le Deep Learning de A a Z/Annexe - Data_Preprocessing.../data_preprocessing_template.py

11 lines
240 B
Python

# Data Preprocessing
# Importing the libraries
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
# Importing the dataset
dataset = pd.read_csv('Data.csv')
X = dataset.iloc[:, :-1].values
y = dataset.iloc[:, -1].values