• 2022-05-31
    If you want to get the axis like following figure, how to set the axis?[img=570x508]17de94b382954af.png[/img]
    A: axis( [ 0 10 15 -10 ] );
    B: axis( [ -10 15 0 10 ] );
    C: axis( [ 0 10 -10 15 ] );
    D: axis( [ 0 -10 10 15 ] );
  • C

    内容

    • 0

      ‍如下代码的输出是( )‌‍import numpy as np‌‍a = np.arange(6).reshape(3, 2)‌‍b = a.sum(axis=0)‌‍c = b.sum(axis=0)‌

    • 1

      In a statement like “quotesdf = quotesdf.drop(['date'], axis = )”, the argument of “axis” can only be 0 or 1. “0” represents an operation of a certain column in DataFrame; “1” represents an operation of a certain row in DataFrame.

    • 2

      携带角的度数为 A: 男性5~15°,女性5~10° B: 男性5~15°,女性5~15° C: 男性0~10°,女性10~15° D: 男性5~15°,女性10~15° E: 男性5~10°,女性10~15°

    • 3

      以组距为5,如下划分组段哪项正确( ) A: 0~,5~,10~,… B: 0~4, 5~9, 10~, … C: 0~5, 5~10, 10~15, … D: ~5, ~10, ~15, … E: 以上都不对

    • 4

      对于Array=np.arange(6).reshape((2,3)),执行Array.sum(axis=0)的结果为( ) A: array([3,5,7]) B: array([3,12]) C: 15 D: array([15])