In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Numpy.array () in the use of how to use the list of multi-dimensional arrays as the input parameters, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can get something.
Experiment:
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32Type "help", "copyright", "credits" or "license ()" for more information. > > import numpy as np > > a = np.ones ((3Yu5)) > > b = np.zeros ((3jing5)) > > aarray ([1.1,1.1.1.1.1.1.] [1, 1, 1, 1.]) > barray ([[0, 0, 0, 0, 0.], [0, 0, 0, 0.], [0, 0, 0, 0, 0.]) > np.array ([aMaginb]) array ([[1, 1, 1, 1, 1.], [1, 1, 1, 1.] [1, 1, 1, 1.], [[0, 0, 0, 0, 0.], [0, 0, 0, 0.], [0, 0, 0, 0.]]) > c = np.array ([AMagneb]) > c.shape (2, 3, 5) > > np.array ([aPerminence bpen]) .shape (6, 3) 5) > is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.