Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Index(['borough', 'neighborhood', 'building_class_category', 'tax_class_at_present', 'block', 'lot', 'ease_ment', 'building_class_at_present', 'address', 'apart_ment_number', 'zip_code', 'residential_units', 'commercial_units', 'total_units', 'land_square_feet', 'gross_square_feet', 'year_built', 'tax_class_at_time_of_sale', 'building_class_at_time_of_sale', 'sale_price', 'sale_date'], dtype='object') Convert the field

Index(['borough', 'neighborhood', 'building_class_category', 'tax_class_at_present', 'block', 'lot', 'ease_ment', 'building_class_at_present', 'address', 'apart_ment_number', 'zip_code', 'residential_units', 'commercial_units', 'total_units', 'land_square_feet', 'gross_square_feet', 'year_built', 'tax_class_at_time_of_sale', 'building_class_at_time_of_sale', 'sale_price', 'sale_date'], dtype='object')

Convert the field sale_price to numeric (it is currently formatted as currency which cannot be used in calculations.) (Hint, you will need to remove the commas and dollar signs.

using Pandas

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions