x*****i 发帖数: 112 | 1 Sorry, I cannot type Chinese using this computer.
-------------------------------------------------
Suppose I have a table with three columns
1st column is the date, for example 20150903, 20150904, 20150910, ......
2nd column is the name of stocks, for example, AAPL, IBM, FB, ......
3rd column is the daily return of the stock
The table is used to record 1200 most active stocks' return on each day (no
holiday, no weekend).In the first column, the date is from 20130101 to
20150831 ( each date will be repeated 1200 times), since we have 1200 stocks
each day.
Now, I want to subset the BIG table into SMALL tables for each day. One
table
for 20130101, one table for 20130102, one table for 20130103, ......
What is the fast way to do that without using for-loop?
Thanks! |