使用扩展库pandas的函数read_excel()读取Excel文件时,可以使用参数index_col指定把哪一列的数据作为DataFrame对象的index
使用扩展库pandas的函数read_excel()读取Excel文件时,可以使用参数index_col指定把哪一列的数据作为DataFrame对象的index
柱状图的绘制,下面说法中对的是() A: import pands as pd,绘制柱状图需要用Pandas,Pandas 是Python第三方库 B: df = pd.read_csv(‘d:/water1.csv’,index_col=0) #语句中index_col=0,表示文件第一列读入index中,否则,读入的index自动赋值为0,1,2,3,4,5,6,7,8,9,10。 C: D: 中文的显示需要用三条语句:from pylab import mplmpl.rcParams['font.sans-serif'] = ['KaiTi']mpl.rcParams['font.serif'] = ['KaiTi']
柱状图的绘制,下面说法中对的是() A: import pands as pd,绘制柱状图需要用Pandas,Pandas 是Python第三方库 B: df = pd.read_csv(‘d:/water1.csv’,index_col=0) #语句中index_col=0,表示文件第一列读入index中,否则,读入的index自动赋值为0,1,2,3,4,5,6,7,8,9,10。 C: D: 中文的显示需要用三条语句:from pylab import mplmpl.rcParams['font.sans-serif'] = ['KaiTi']mpl.rcParams['font.serif'] = ['KaiTi']
读取有标签的数据时,需要在参数中增加_______即可。 A: header=0 B: header=1 C: index_col=0 D: index_col=1
读取有标签的数据时,需要在参数中增加_______即可。 A: header=0 B: header=1 C: index_col=0 D: index_col=1
VLOOKUP函数的格式是( ) A: VLOOKUP(lookup value, table array, range lookup) B: VLOOKUP(lookup value, table array, col index num, range lookup) C: VLOOKUP(range, criteria) D: VLOOKUP(lookup value, table array, row index num, range lookup)
VLOOKUP函数的格式是( ) A: VLOOKUP(lookup value, table array, range lookup) B: VLOOKUP(lookup value, table array, col index num, range lookup) C: VLOOKUP(range, criteria) D: VLOOKUP(lookup value, table array, row index num, range lookup)
常用的内置聚合函数有( ) A: max(col) B: min(col) C: count(*) D: sum(col)
常用的内置聚合函数有( ) A: max(col) B: min(col) C: count(*) D: sum(col)
选项col=4或col="blue"代表蓝色。( )
选项col=4或col="blue"代表蓝色。( )
下列哪些函数功能是对全局表进行修改?( ) A: gettablestr(tablename, row, col) B: settablestr(tablename, row, col, “string”) C: gettablenum(tablename, row, col) D: settablenum(tablename, row, col, value)
下列哪些函数功能是对全局表进行修改?( ) A: gettablestr(tablename, row, col) B: settablestr(tablename, row, col, “string”) C: gettablenum(tablename, row, col) D: settablenum(tablename, row, col, value)
10.Consult _____ for questions about earthquakes. a. the six index b. index six c. sixth index d. index numbering six A: the six index B: index six C: sixth index D: index numbering six
10.Consult _____ for questions about earthquakes. a. the six index b. index six c. sixth index d. index numbering six A: the six index B: index six C: sixth index D: index numbering six
元胞数组A={'上海','北京','上海','广州','天津','上海','南京'}中,查找字符串'上海'在数组 A 中的位置使用的语句为 A: col=A=='上海' B: col=strcmp(A,'上海') C: col=find(strcmp(A,'上海')) D: col=find(A=='上海')
元胞数组A={'上海','北京','上海','广州','天津','上海','南京'}中,查找字符串'上海'在数组 A 中的位置使用的语句为 A: col=A=='上海' B: col=strcmp(A,'上海') C: col=find(strcmp(A,'上海')) D: col=find(A=='上海')
在VBA中,将某个单元格的背景填充为绿色,文字颜色改为蓝色,则正确的是 A: Cells(row, col).Interior.Color = RGB(0, 255, 0):Cells(row, col).Font.Color = RGB(0, 0, 255) B: Cells(row, col).Interior.Color = RGB(0, 0, 255):Cells(row, col).Font.Color = RGB(0, 255, 0) C: Cells(row, col).Interior.Color = RGB(255, 255, 255):Cells(row, col).Font.Color = RGB(0, 0, 255) D: Cells(row, col).Interior.Color = RGB(0, 0, 0):Cells(row, col).Font.Color = RGB(0, 0, 255)
在VBA中,将某个单元格的背景填充为绿色,文字颜色改为蓝色,则正确的是 A: Cells(row, col).Interior.Color = RGB(0, 255, 0):Cells(row, col).Font.Color = RGB(0, 0, 255) B: Cells(row, col).Interior.Color = RGB(0, 0, 255):Cells(row, col).Font.Color = RGB(0, 255, 0) C: Cells(row, col).Interior.Color = RGB(255, 255, 255):Cells(row, col).Font.Color = RGB(0, 0, 255) D: Cells(row, col).Interior.Color = RGB(0, 0, 0):Cells(row, col).Font.Color = RGB(0, 0, 255)