data是DataFrame类型的对象,与data['visits']语句的功能相同的语句是( )。
A: data.iloc[1:3]
B: 其它均正确
C: data. visits
D: data.iloc['visits']
A: data.iloc[1:3]
B: 其它均正确
C: data. visits
D: data.iloc['visits']
举一反三
- 选取data第一行第一列的数据 A: data.loc[:1] B: data[1] C: data.iloc[1:2,1:2] D: data[1:2]
- data是DataFrame类型的对象,下列语句中能实现的data做描述统计的语句是( )。 A: data.min() B: data.show() C: data.describe() D: data.T()
- The data collected by the statistical survey can be original data or secondary data. The relationship between the original data and secondary data is ( ) A: The original data comes from the grass-roots units, and the secondary data comes from the superior units B: Secondary data is processed from original data C: There is no necessary connection between the original data and the secondary data D: There is no difference between primary data and secondary data
- 以下定义,使p指向data和a域的赋值语句是( ) struct stuclent {int a;float b;}data,*p; A: p=&a; B: p=data; C: *p=data; D: p=&data;
- 有如下程序#include [stdio.h] int change(int* data){ *data= *data % 2; return (*data)+ 1; } void main(){ int data = 12; change(&data); printf("%d,", data); data = change(&data); printf("%d,",data); }程序运行后的输出结果是( )。 A: 0,0, B: 1,2, C: 12,13, D: 0,1,