1
0
forked from tdwojak/Python2018

zadanie domowe

This commit is contained in:
Magda Zganiacz 2018-06-22 15:59:02 +02:00
parent 7f64a03469
commit 56f654961c

View File

@ -13,7 +13,7 @@ def most_common_room_number(dane):
return mode(dane.Rooms) return mode(dane.Rooms)
def cheapest_flats(dane, n): def cheapest_flats(dane, n):
return dane.sort_values(by=["Expected"]).head(n) return dane.sort_values(by="Expected").head(n)
def find_borough(desc): def find_borough(desc):
dzielnice = ['Stare Miasto', dzielnice = ['Stare Miasto',