Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import pandas as pd
|
|
4 |
import numpy as np
|
5 |
def greet(year,co2_emission,No2_emission,so2_emission,Global_Warming,Methane_emission):
|
6 |
data1=pd.read_excel("FINAL_DATASET.xlsx")
|
|
|
7 |
x=df1.iloc[:,1:].values
|
8 |
y=df1.iloc[:,0].values
|
9 |
np.reshape(y,(-1,1))
|
|
|
4 |
import numpy as np
|
5 |
def greet(year,co2_emission,No2_emission,so2_emission,Global_Warming,Methane_emission):
|
6 |
data1=pd.read_excel("FINAL_DATASET.xlsx")
|
7 |
+
df1 = data1.drop(['YEAR'], axis=1)
|
8 |
x=df1.iloc[:,1:].values
|
9 |
y=df1.iloc[:,0].values
|
10 |
np.reshape(y,(-1,1))
|