date | open |
2015/5/29 | 4839.53 |
2015/5/28 | 5174.1 |
2015/5/27 | 5216.17 |
2015/5/26 | 5140.8 |
2015/5/25 | 4949.11 |
2015/5/22 | 4895.93 |
2015/5/21 | 4768.69 |
2015/5/20 | 4751.57 |
2015/5/19 | 4577.64 |
2015/5/18 | 4582.06 |
2015/5/15 | 4690.76 |
2015/5/14 | 4717.96 |
2015/5/13 | 4746.71 |
2015/5/12 | 4692.12 |
2015/5/11 | 4582.09 |
2015/5/8 | 4515.55 |
2015/5/7 | 4520.82 |
2015/5/6 | 4626.23 |
2015/5/5 | 4785.19 |
2015/5/4 | 4757.64 |
读入数据的SAS程序为:
Data exp;
Infile 'C:\Users\dell\Desktop\hs300zs.csv' delimiter = '09'x Missover Dsd lrecl=32767 firstobs=2 ;
Format Date YYMMDD10.;
Format open best32.;
Informat Date YYMMDD10.; /*specify the format of the original data in txt for sas to read */
informat open best32.;
Input
Date open ;
run;
proc print data=exp;
run;
但是出来的结果open是读不出来的不知道为什么。。
结果如下:
ObsDateopen
12015-05-29.
22015-05-28.
32015-05-27.
42015-05-26.
52015-05-25.
62015-05-22.
72015-05-21.
82015-05-20.
92015-05-19.
102015-05-18.
请问有大神能够帮帮忙吗??
不知道为什么open就是读不出来,
也查过csv里面了,
数据是数值型。