Easy
Consider a list l
l=[1,2,3,4,5]
and
t=numpy.array([1,2,3,4,5])
The list l
occupies less memory than the t
array
Author: W3D TeamStatus: PublishedQuestion passed 768 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about scikit-learn
8
What is the value of the decision threshold used with logistic regression in Scikit-learn?3
The choice of the centers of the initial clusters has no impact on the final result of the K-Means algorithm.3
Reshape a 2x4 array into a 2x2x2 array in scikit-learn2
Access the value located in the fifth row and the third column of df.2
Read the contents of the file.csv file by block (or by packet) of five lines.