Professional Documents
Culture Documents
Big Data
Big Data
# Removing rows where salary is greater than 2500 & height is less than 170
df2 = df[df['salary'] <= 2500]
df2 = df[df['height'] >= 170]
print()
# Make an output of the 2nd DataFrame
print(df2)
print()
# Make an output of the 3rd DataFrame
print(df3)
# Make predictions
predictions = model.predict(X)