0

How the arrays concept actually work in python..??

15th Jan 2022, 4:52 AM
Cran
Cran - avatar
5 Antworten
+ 10
Python arrays are a data structure like lists. They contain a number of objects that can be of different data types. In addition, Python arrays can be iterated and have a num
15th Jan 2022, 5:39 AM
Vaibhav
Vaibhav - avatar
+ 1
The question is so abstract. Maybe we can break the problem into three pieces: 1. What's the array actual is? 2. How to use the array? 3. Why is the feature of the array designed like this?
15th Jan 2022, 5:02 AM
FanYu
FanYu - avatar
+ 1
In Python we typically use lists, which are dynamic containers that can hold heterogeneous data types. There is also an array type in the standard library, which is designed to hold numerical values of the same type. https://docs.python.org/3/library/array.html Most popular libraries for machine learning, data handling and scientific computations prefer to use NumPy arrays in the background https://numpy.org/doc/stable/reference/arrays.html You need to be more clear, what is your question.
15th Jan 2022, 5:05 AM
Tibor Santa
Tibor Santa - avatar
0
>>>An array is a container object that holds a fixed number of values of a single type The length of an array is established when the array is created Each item in an array is called an element and each element is accessed by its numerical index. >>>For creating arry use thise one ->[array(data_type, value_list)]
23rd Jan 2022, 1:47 PM
//SHANKAR SWAMI//