Пул
Объем
1
103,3
1
103,3
1
103,3
2
77,5
2
77,5
2
77,5
2
77,5
3
62
3
62
3
62
3
62
362
Я пробовал:< /p>
Код: Выделить всё
df["Volume"] = 310 / pool.get_group(1).value_counts()
Подробнее здесь: https://stackoverflow.com/questions/784 ... one-column
Код: Выделить всё
df["Volume"] = 310 / pool.get_group(1).value_counts()