楼主: babyfacy90
840 1

[数据管理求助] 为什么我用sort stkcd date 不能实现按日期先后排序呢? [推广有奖]

  • 0关注
  • 0粉丝

大专生

15%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
1.0029
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
892 点
帖子
22
精华
0
在线时间
48 小时
注册时间
2016-2-20
最后登录
2020-11-24

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Example generated by -dataex-. To install: ssc install dataex
clear
input long stkcd str10 date str12 C double(D E F G H) str12(I J K L) str17 M str12 N
1 "1/10/2019" "平安银行"  .016097 1.730e+11 1.730e+11 -.003634 3.0331174 "" "" "" "" "" ""
1 "1/11/2019" "平安银行"  .009901 1.750e+11 1.750e+11  .007389 3.0331174 "" "" "" "" "" ""
1 "1/14/2019" "平安银行" -.008824 1.740e+11 1.740e+11 -.007074 3.0331174 "" "" "" "" "" ""
1 "1/15/2019" "平安银行"  .012859 1.760e+11 1.760e+11  .013637 3.0331174 "" "" "" "" "" ""
1 "1/16/2019" "平安银行"  .023438 1.800e+11 1.800e+11   .00003 3.0331174 "" "" "" "" "" ""
1 "1/17/2019" "平安银行" -.021947 1.760e+11 1.760e+11 -.004196 3.0331174 "" "" "" "" "" ""
1 "1/18/2019" "平安银行"  .017561 1.790e+11 1.790e+11  .014208 3.0331174 "" "" "" "" "" ""
1 "1/2/2019"  "平安银行" -.020256 1.580e+11 1.580e+11  -.01147 3.0331174 "" "" "" "" "" ""
1 "1/21/2019" "平安银行" -.008629 1.780e+11 1.780e+11  .005587 3.0331174 "" "" "" "" "" ""
1 "1/22/2019" "平安银行" -.005803 1.770e+11 1.770e+11   -.0118 3.0331174 "" "" "" "" "" ""
1 "1/23/2019" "平安银行"  .006809 1.780e+11 1.780e+11  .000504 3.0331174 "" "" "" "" "" ""
1 "1/24/2019" "平安银行"  .016425 1.810e+11 1.810e+11  .004142 3.0331174 "" "" "" "" "" ""
1 "1/25/2019" "平安银行"  .045627 1.890e+11 1.890e+11   .00387 3.0331174 "" "" "" "" "" ""
1 "1/28/2019" "平安银行" -.005455 1.880e+11 1.880e+11 -.001824 3.0331174 "" "" "" "" "" ""
1 "1/29/2019" "平安银行"  .005484 1.890e+11 1.890e+11 -.001049 3.0331174 "" "" "" "" "" ""
1 "1/3/2019"  "平安银行"  .009793 1.590e+11 1.590e+11 -.000377 3.0331174 "" "" "" "" "" ""
1 "1/30/2019" "平安银行" -.004545 1.880e+11 1.880e+11   -.0072 3.0331174 "" "" "" "" "" ""
1 "1/31/2019" "平安银行"  .013699 1.910e+11 1.910e+11  .003493 3.0331174 "" "" "" "" "" ""
1 "1/4/2019"  "平安银行"  .050647 1.670e+11 1.670e+11  .020494 3.0331174 "" "" "" "" "" ""
1 "1/7/2019"  "平安银行" -.001026 1.670e+11 1.670e+11  .007245 3.0331174 "" "" "" "" "" ""
end


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝


沙发
babyfacy90 发表于 2020-5-14 14:32:25 |只看作者 |坛友微信交流群
已解决,可是关闭不了帖子!

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-11-6 07:45