Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
153 B
0
Indexable
Never
data['floor_type'] = data['floors_total'].apply (lambda x: 'первый' if x == 1 'последний' elif 1 < x < 'floors_total' else 'другой')