Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 8 How many houses have not been remodeled, but were over the averege age of home remodels when it was sold? Hints: Create
Question
How many houses have not been remodeled, but were over the averege age of home remodels when it was sold?
Hints:
Create a new DataFrame with the opposite filter from Question the remodeled age equals meaning it has never been remodeled.
Add a new column to represent the age of the house when lit was sold by subtracting the YearBustt column from the Vrsold column.
Filter the DataFrame where the age of the house when it was sold is greater than the value from Question
Print out the resulting number of rows
Answer here
Question
Write the rows of all the houses in the previous question to a CSV file named "needsaremodel.csV
Hints:
pdDatarrame,to csv method
# Answer here
tableasabds in
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started