1481
Points
Questions
227
Answers
513
-
Like 2D plotting, 3D graphics is beyond the scope of NumPy and SciPy, but just as in the 2D case, …
- 637 views
- 1 answers
- 0 votes
-
In an ideal world, NumPy would contain nothing but the array data type and the most basic operations: indexing, sorting, …
- 491 views
- 4 answers
- 0 votes
-
Decorators in Python are used to modify or inject code in functions or classes. Using decorators, you can wrap a …
- 427 views
- 8 answers
- 0 votes
-
Python’s lists are efficient general-purpose containers. They support (fairly) efficient insertion, deletion, appending, and concatenation, and Python’s list comprehensions make …
- 492 views
- 2 answers
- 0 votes
-
We can calculate percentiles with the following code 1 2 3 4 import numpy as np a = np.array([1,2,3,4,5]) p …
- 1K views
- 5 answers
- 0 votes
-
We can get the indices of N maximum values in a NumPy array using the below code: 1 2 3 …
- 516 views
- 3 answers
- 0 votes
-
map function executes the function given as the first argument on all the elements of the iterable given as the second …
- 746 views
- 10 answers
- 0 votes
-
We will use the following lines of code: 1 2 3 4 5 6 7 8 9 10 11 12 …
- 457 views
- 1 answers
- 0 votes
-
Use the following URL format: http://webcache.googleusercontent.com/search?q=cache:URLGOESHERE Be sure to replace “URLGOESHERE” with the proper web address of the page or …
- 518 views
- 4 answers
- 0 votes
-
We will use the following code to save an image locally from an URL address 1 2 import urllib.request urllib.request.urlretrieve(“URL”, …
- 508 views
- 4 answers
- 0 votes