python pandas库中DataFrame对行和列的操作实例讲解 用pandas中的DataFrame时选取行或列:importnumpyasnpimportpandasaspdfrompandasimportSereis,DataFrameser=Series(n 行和列