Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
what is the use sort() function ?
Home
NumPy
what is the use sort() function ?
+1
vote
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
what is the use sort() function ?
sort-function
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 9, 2021
by
rajeshsharma
num_arr = np.array([[5,6,2],[9,8,1]])
print(‘\n sorting of numpy array : \n’,np.sort(num_arr))
Related questions
0
votes
Q: Which function(s) of dplyr would you use to first subset the columns and then sort them on a particular column?
asked
May 27, 2019
in
Other
by
tempuser
+2
votes
Q: describe the example of seed() function? and how to use it ? why seed()?
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
seed
function
+1
vote
Q: Which of the following function is used to sort an array in descending order?
asked
May 13, 2022
in
PHP
by
john ganales
sort-php
0
votes
Q: Can I sort with a user-defined function; e.g., supposing a and b are integers, by the difference between a and b (a-b) in MongoDB?
asked
Jun 3, 2020
in
MongoDB
by
Robindeniel
#mongodb-user-defined-function
+1
vote
Q: Print number from 1 to 10 using arange() function
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
print-arange
+1
vote
Q: What does Redis use to sort the elements of a sorted set?
asked
Aug 14, 2022
in
NoSQL
by
AdilsonLima
nosql
0
votes
Q: What does redis use to sort the elements of a sorted set?
asked
Aug 14, 2022
in
NoSQL
by
AdilsonLima
nosql
+1
vote
Q: Could i use Apigee as a sort of center-tier proxy server to forward relaxation API request
asked
Jan 21, 2022
in
APIGEE - API Services
by
Robindeniel
apigee-sort
+1
vote
Q: What is principal component analysis? Explain the sort of problems you would use PCA for.
asked
May 28, 2021
in
Data Science
by
sharadyadav1986
component-analysis
principal-component
0
votes
Q: When should we use SORT BY instead of ORDER BY in Hive
asked
Jan 10, 2020
in
Big Data | Hadoop
by
sharadyadav1986
#hive-order-by
Bigdata-questions-answers
Hadoop-questions-answers
...