Re: Re: Re: Re: Re: Untitled

From Paltry Earthworm, 1 Year ago, written in Python, viewed 163 times. This paste is a reply to Re: Re: Re: Re: Untitled from Thundering Echidna - view diff
URL http://codebin.org/view/5e422584 Embed
Download Paste or View Raw
  1. top_10_adv = data.pivot_table(index='locality_name', values='price_per_meter',aggfunc=['mean', 'count'])
  2. top_10_adv.columns=['price_per_meter_mean', 'price_per_meter_count']
  3. top_10_adv.sort_values(by=['price_per_meter_mean'], ascending = False, inplace=True)
  4. display(top_10_adv.sort_values(by='locality_name').head(10))
  5.  

Reply to "Re: Re: Re: Re: Re: Untitled"

Here you can reply to the paste above