Created
December 17, 2022 05:25
-
-
Save pycoders0000/965c9007a336a278eb777c3238677348 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -- coding: utf-8 -- | |
# @Date : 2022-12-27 01:00:01 | |
# @Author : pycoder.py | |
# @GitHub : (https://github.com/pycoders0000) | |
# @Twitter : (https://twitter.com/pycoder0000) | |
# @Instagram : (https://www.instagram.com/pycoder.py/) | |
# @version : 1.0.0 | |
import numpy as np | |
arr = np.array([55, 33, 22, 44, 11]) | |
print(np.sort(arr)) | |
# Sorting numpy array with the sort method. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment