np.empty(),np.zeros()
np.emptynp.empty(shape,[dtype, order])依据给定形状和类型(shape,[dtype, order])返回一个新的空数组。#!/usr/bin/env python# -*- coding:utf-8 -*- # Author: Jia ShiLinimport numpy as npnum_recs=5X =np.empty...