python数据处理的一个问题 (转载)# DataSciences - 数据科学
s*n
1 楼
【 以下文字转载自 Programming 讨论区 】
发信人: sallen (keep looking), 信区: Programming
标 题: python数据处理的一个问题
发信站: BBS 未名空间站 (Mon Feb 1 21:08:36 2016, 美东)
我有数据格式如下,
date time product value1 value2 value3
..
..
..
..
there are 10 different type of product. we call it P1, P2, P3, P4,....P10
I want to calculate Min/Max, mean, std of value1/2/3 for given product
in a range of datetime.
so my input is,
dataset, $product, $begin_datetime, $end_datetime
output is,
min/max, mean, std
Thanks for your help!
发信人: sallen (keep looking), 信区: Programming
标 题: python数据处理的一个问题
发信站: BBS 未名空间站 (Mon Feb 1 21:08:36 2016, 美东)
我有数据格式如下,
date time product value1 value2 value3
..
..
..
..
there are 10 different type of product. we call it P1, P2, P3, P4,....P10
I want to calculate Min/Max, mean, std of value1/2/3 for given product
in a range of datetime.
so my input is,
dataset, $product, $begin_datetime, $end_datetime
output is,
min/max, mean, std
Thanks for your help!