Re: Re: Re: Untitled

From Gamboge Capybara, 2 Months ago, written in Plain Text, viewed 95 times. This paste is a reply to Re: Re: Untitled from Sloppy Parrot - view diff
URL Embed
Download Paste or View Raw
  1. def categorize_purpose(row):
  3.     if 'автом' in row['purpose']:            
  4.         return 'операции с автомобилем'
  5.     if 'недвиж' in row['purpose']:
  6.         return 'операции с недвижимостью'
  7.     if 'свадьб' in row['purpose']:
  8.         return 'проведение свадьбы'
  9.     if 'образов' in row['purpose']:
  10.         return 'получение образования'
  11. data['purpose_category'] = data.apply(categorize_purpose, axis=1)

Replies to Re: Re: Re: Untitled rss

Title Name Language When
Re: Re: Re: Re: Untitled Gamboge Iguana text 2 Months ago.

Reply to "Re: Re: Re: Untitled"

Here you can reply to the paste above