1: 15 pm axb'tayev Ilhom, 1-modul ipynb Colaboratory



Yüklə 405,17 Kb.
Pdf görüntüsü
səhifə1/2
tarix21.03.2023
ölçüsü405,17 Kb.
#88909
  1   2
Axb\'tayev Ilhom, 1-modul.ipynb - Colaboratory



3/15/23, 1:15 PM
Axb'tayev Ilhom, 1-modul.ipynb - Colaboratory
https://colab.research.google.com/drive/1_-PcvWccN8nxicLlIxeh4OItWW-_YbkP#scrollTo=dsBUxZq9VSb7&printMode=true
1/8
import numpy as np
import pandas as pd
from google.colab import drive
drive.mount('/content/drive')
Mounted at /content/drive
area
price price_currency status
location
Moshi
1000
3500000
INR
1.0
Lohegaon
6000
15600000
INR
1.0
Hinjawadi
Village
11000
27500000
INR
1.0
Shivaji
Nagar
5500 120000000
INR
1.0
Hinjawadi
Village
1076
2050000
INR
1.0
...
...
...
...
...
Wakad
1079
2100000
INR
NaN
df = pd.read_csv("/content/drive/MyDrive/ml1/output_Pune_plot.csv", index_col=0)
df


3/15/23, 1:15 PM
Axb'tayev Ilhom, 1-modul.ipynb - Colaboratory
https://colab.research.google.com/drive/1_-PcvWccN8nxicLlIxeh4OItWW-_YbkP#scrollTo=dsBUxZq9VSb7&printMode=true
2/8
print(df.shape)
df.columns
(1870, 38)
Index(['area', 'price', 'price_currency', 'status', 'new/resale',
'price_negotiable', 'description', 'security_deposit', 'facing',
'furnished', 'age of property', 'Lift(s)', 'Full Power Backup',
'24 X 7 Security', 'Children's play area', 'Club House', 'Gymnasium',
'Swimming Pool', 'Sports Facility', 'Jogging Track',
'Landscaped Gardens', 'locality_score', 'project_score',
'builder_experience', 'Multipurpose Room', 'Intercom',
'Maintenance Staff', 'Car Parking', 'Rain Water Harvesting',
'Vaastu Compliant', 'Indoor Games', 'Golf Course', 'Cafeteria', 'ATM',
'Hospital', 'School', 'Shopping Mall', 'Staff Quarter'],
dtype='object')
Ustunlar: • area-maydon • price-narxi • price_currency-valyuta_narxi • status-xolat • new/resale-yangi/qayta sotish • price_negotiable-kelishilgan
narx • description-tavsif • facing-korinish • staf_quarter-Xodimlar turar joyi • Shopping_mall-savdo markazi • School-maktab • Hospital-kasalxona
• Golf course-Golf maydoni • indoor games-yopiq oyinlar • Car parking-Avtomobil turar joyi • Maintenance Staf-Texnik xodimlar • project_score-
loyiha bahosi • locality score-mahalliy baho • Landscaped Gardens-Landshaftlangan bog'lar • Jogging Track-yugurish yo'lakchasi • Sports
Facility-Sport inshooti • Swimming Pool-Suzish havzasi • Gymnasium-Gimnaziy
df.rename(columns={'price_currency':'Currency','new/resale':'Resale',})
df=df.reindex(columns=['area', 'price', 'Currency', 'status', 'Resale',
'price_negotiable', 'description', 'security_deposit', 'facing',
'furnished', 'age of property', 'Lift(s)', 'Full Power Backup',
'24 X 7 Security', "Children's play area", 'Club House', 'Gymnasium',
'Swimming Pool', 'Sports Facility', 'Jogging Track',
'Landscaped Gardens', 'locality_score', 'project_score',
'builder_experience', 'Multipurpose Room', 'Intercom',
'Maintenance Staff', 'Car Parking', 'Rain Water Harvesting',
'Vaastu Compliant', 'Indoor Games', 'Golf Course', 'Cafeteria', 'ATM',
'Hospital', 'School', 'Shopping Mall', 'Staff Quarter'])
df


3/15/23, 1:15 PM
Axb'tayev Ilhom, 1-modul.ipynb - Colaboratory
https://colab.research.google.com/drive/1_-PcvWccN8nxicLlIxeh4OItWW-_YbkP#scrollTo=dsBUxZq9VSb7&printMode=true
3/8

Yüklə 405,17 Kb.

Dostları ilə paylaş:
  1   2




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin