1. 请利用sympy模块中的函数/方法求极限:2. 从任一一维数组中取出最小和最大的n个数。 3. 从正态分布N(5,5)中采样1000个样本,构建为一维数组。 ① 计算数组的最大值、最小值、均值、标准差、三个四分位数并保留3位小数格式化输出; ② 打印数组中的数据类型,并计算数组所占据的内存大小; ③ 将数组的数据类型转换为int32后再次计算内存大小。 4. 从均匀分布U[-10,10)中采样,创建一个5*4的二维数组。 ① 将数组中最大的2个与最小的2个数重新赋值为0;(若存在多个最大和最小值任取即可,共修改4个数); ② 统计数组中绝对值在 (4,6) 之间的数据个数。 5. 用numpy模块中的函数读取DJI.csv文件,完成如下任务: ① 计算开盘价的均值; ② 计算收盘价大于27000的天数; ③ 计算后一天收盘价大于前一天收盘价的总天数(提示:用np.diff()函数)。 6. 已知有数据:"1, 2.3, 3, 4, 5\n6.7, , , 7, 8.5\n , , 9.0,10,11\n",利用IO功能将其读取到数组中(先将上述字符串转换为IO流),保存为整型,缺少的部分使用-99填充,最后按序打印-99的列索引。 7. 定义一个普通的标量函数,其功能为计算数字型字符串参数各位数字和,将此标量函数向量化,并创建一个元素为1~1000的ndarray数组进行测试。
A、Multiple owners
B、Corporation taxation
C、Separation of ownership and control
D、Limited liability
A、spending of corporate resources.
B、friction between managers and employees.
C、differing interest between managers and owners.
D、dislike of firm's bondholders by its equityholders.
A、Planning to issue common stock rather than issuing preferred stock
B、Repurchasing shares of common stock
C、Issuing debt in the form of long-term bonds
D、Deciding to expand into a new line of products, at a cost of $5 million
A、financing decision.
B、investment decision.
C、capital budgeting decision.
D、capital expenditure decision.
A、The available alternative investment opportunities
B、The rate of return on risk-free debt securities
C、The rate of return on the firm's outstanding shares
D、The profit margin of the existing firm
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!