由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - load data to a dictionary in R
相关主题
R中By函数是什么意思 (转载)[合集] 终于等到brett jiu的书
Algorithm Question请教citadel quant research电话面试?
interview questions (brainteaser)Please recommend some business/finance books
问几个老题GMO
高盛私募基金香港VP level opening,有意者请发简历is it possible for CS master to do quant in NYC?
[合集] Your Suggestion Is Highly Appreciated哪里可以找到historical cap/swap price?
[合集] Suggestion on 'Probability' readings?请教EBAY Interview question(26b)
Advice appreciated: where should my career go?[合集] 问一道brainteaser的题目
相关话题的讨论汇总
话题: dictionary话题: data话题: load话题: region话题: country
进入Quant版参与讨论
1 (共1页)
m******t
发帖数: 273
1
I need to load data from a .csv file and then save it in a dictionary in R.
The data format:
country,region,value
Each row may have different country and region.
I need to save the value with the same country and region together.
Any help would be appreciated.
D********n
发帖数: 978
2
兄弟,R里面就木有dictonary这个东西啊?您.NET出身?

【在 m******t 的大作中提到】
: I need to load data from a .csv file and then save it in a dictionary in R.
: The data format:
: country,region,value
: Each row may have different country and region.
: I need to save the value with the same country and region together.
: Any help would be appreciated.

r***6
发帖数: 401
3
Use data frame and tapply.
Python or perl is better for these kinda tasks.

★ 发自iPhone App: ChineseWeb 7.8

【在 D********n 的大作中提到】
: 兄弟,R里面就木有dictonary这个东西啊?您.NET出身?
D********n
发帖数: 978
4
R里面有environment还有个package叫hash的,和.NET里面的dictionary比较类似。

【在 r***6 的大作中提到】
: Use data frame and tapply.
: Python or perl is better for these kinda tasks.
:
: ★ 发自iPhone App: ChineseWeb 7.8

1 (共1页)
进入Quant版参与讨论
相关主题
[合集] 问一道brainteaser的题目高盛私募基金香港VP level opening,有意者请发简历
A probability question[合集] Your Suggestion Is Highly Appreciated
Series 7,63,,86 and 87, how to get those certificates[合集] Suggestion on 'Probability' readings?
on-site quantitative testAdvice appreciated: where should my career go?
R中By函数是什么意思 (转载)[合集] 终于等到brett jiu的书
Algorithm Question请教citadel quant research电话面试?
interview questions (brainteaser)Please recommend some business/finance books
问几个老题GMO
相关话题的讨论汇总
话题: dictionary话题: data话题: load话题: region话题: country