text: import numpy as np
  import matplotlib.pyplot as plt
  import pandas as pd
  
  dataset = pd.read_csv('Position_Salaries.csv')
  X = dataset.iloc[:,1:-1]
  Y = dataset.iloc[:,-1]
  
  
  from sklearn.preprocessing import PolynomialFeatures
  poly_reg = PolynomialFeatures(degree = 2)
  X_poly = poly_reg.fit_transform(X)
   