1
0
forked from tdwojak/Python2018
This commit is contained in:
s327689 2018-06-03 12:34:25 +02:00
parent 02c198ef0a
commit 91a014aa96
2 changed files with 9 additions and 4 deletions

View File

@ -2,13 +2,18 @@
# -*- coding: utf-8 -*-
def wczytaj_dane():
pass
import pandas as pd
dane = pd.read_csv("labs06/mieszkania.csv")
dane.head()
def most_common_room_number(dane):
pass
dane['Rooms'].value_counts().idxmax()
def cheapest_flats(dane, n):
pass
def find_borough(desc):
dzielnice = ['Stare Miasto',

View File

@ -92,4 +92,4 @@ data['diff'] = data['Longitude'] + data['Latitude']
równe NYPD.
"""
p = data[data['Agency'] == 'NYPD']
p.City.value_counts()
p.Descriptor.value_counts()