Celemony - Melodyne Editor 2.1.0.45 Standalone. VST.VST3 x86 x64.
Celemony - Melodyne Editor 2.1.0.45. Standalone.VST.VST3 x86 x64 [11.06.2012] ::
[譁€譁ー] [www.furumu.com] :: [譁€譁ー] [譁€譁ー] [www.furumu.com] Celemony - Melodyne Editor 2.1.0.45 STANDALONE.VST.VST3 x86 x64
Celemony - Melodyne Editor 2.1.0.45 Standalone.VST.VST3 x86 x64.
. Celemony - Melodyne Editor 2.1.0.45 Standalone.VST.VST3 x86 x64.
Q:
Pandas "groupby" and sum / average / multiply based on list
I am trying to group my data by a set of IDs, and then sum / average / multiply by a list of numbers, and have it return the result to a different column.
For instance:
data = pd.DataFrame([['r1', 10], ['r1', 15], ['r1', 20], ['r2', 10], ['r2', 20], ['r2', 30]], columns=['id', 'x'])
id x
0 r1 10
1 r1 15
2 r1 20
3 r2 10
4 r2 20
5 r2 30
I want it to return:
id x be359ba680
Related links:
Comments