How to make row 1 as variable with SAS coding (No proc SQL)

问题描述 投票:0回答:0

用proc import从excel导入数据集后,我还用了getnames。 这是我得到的桌子,

    A             B           C          D               E    
Black Coal    Oil Source   Biomass    Wind Source    Solar PV

我想将第 2 行(黑煤、石油资源、生物质、风能、太阳能光伏)设置为变量,并删除带有 (_) 的空格。谁能帮我写代码。

我希望我能得到代码的直接答案。

sas var proc
© www.soinside.com 2019 - 2024. All rights reserved.