Научные статьиM.H.Sayidova, S.U.Pulatova2025
SETTING UP THE NUMPY LIBRARY ENVIRONMENT IN A PYTHON PROGRAM
Shodmonkulov Mirjalol Turonovich
Международный мультидисциплинарный журнал исследований и разработок · 12 · 2025
Аннотация
This article describes how to configure the Numpy library environment for working with arrays in the graphics mode of the Python programming language and plotting graphs of mathematical functions. Keywords:Datascience, data, analysis, Numpy, engineer, array, python, matplotlib, library. Numpy is a library for the Python programming language, used in almost all disciplines and fields. The Numpy library is considered the universal standard for working with numerical data in Python. Numpy users range from novice coders to experienced researchers engaged in cutting-edge scientific research and development. The Numpy library covers working with multidimensional arrays and matrix data. It provides efficient ways to work with the same n-dimensional array object, the ndarray. NumPy allows you to perform various mathematical operations on arrays at high speed. It is a Python library that provides a range of procedures for multidimensional array objects, various derivative objects, and fast operations on arrays, including mathematical, logical, shape manipulation, sorting, selection, and insertion/extraction. At the heart of the NumPy package is the ndarray object. This involves n-dimensional arrays of the same data type, with many operations performed in compiled code for performance. There are several important differences between NumPyarrays and standard Python sequences: NumPy arrays, unlike Python lists (which can grow dynamically), have a fixed size when created. Resizing an array creates a newarray anddeletes theoriginal. • The elements in a NumPy array must all be of the same data type, and therefore the same size in memory. Exception: Python (including NumPy) can have arrays of objects, which allows you to create arrays ofelements ofdifferent sizes. • NumPy arrays facilitate advanced mathematical and other operations on large amounts of data. Typically, such operations are performed more efficiently and with less code than can be done using Python's built-in arrays. • A large number of scientific and mathematical packages based on Python use NumPy arrays; although they typically support Python-serial input, they convert such input to NumPy arrays before processing, and often output NumPy arrays. In other words, to effectively use much of today's scientific/mathematical software based onPython, (perhaps most) it is not enough to know how to use Python's built-in sequence types - you also need toknowhowto useNumPy arrays [1]. Installing Python and theNumPylibrary Step 1.Installing Python The first step in the NumPy installation process is to install Python. Before you can get NumPy, you need to have the latest version of Python installed on your system. Read and follow the steps below tolearn howtoinstallPython onWindows[2]. 136 INTERNATIONAL MULTIDISCIPLINARY JOURNAL FOR RESEARCH & DEVELOPMENT SJIF2019:5.2222020:5.5522021:5.6372022:5.4792023:6.5632024:7,805 eISSN:2394-6334 https://www.ijmrd.in/index.php/imjrd Volume12,issue03(2025) Figure 1. Downloading Python from the official Python website Figure 2.Installing Python.exe So, when we go to the official website python.org, the program option that corresponds to our operating system and device will appear on the main screen. The latest version of the program will have the latest changes. Then it is better to choose the latest version. Right now, one of the screens offers us the python 3.13.2version, sowe will installthis version onthedevice. 137 INTERNATIONAL MULTIDISCIPLINARY JOURNAL FOR RESEARCH & DEVELOPMENT SJIF2019:5.2222020:5.5522021:5.6372022:5.4792023:6.5632024:7,805 eISSN:2394-6334 https://www.ijmrd.in/index.php/imjrd Volume12,issue03(2025) Figure 3.Now click ontheinstall option. During the installation process, we will see a window like the one above and select the required options from this windowandselect “Install Now”andthe installationprocess willbegin. After this process, if we see that the installation has been completed successfully, it means that the program has been installed onourdevice. Wecan closethewindow byclicking the“Close”button. Finally, as shown, you will receive a message that the installation was successful. Click the Close option Step 2.Installing Numpy Our next step will be to install the Numpy library on the device. In this case, we will search for “Command Prompt” in the computer search box and run it as an administrator. The sequence continues as follows. Figure 4. 138 INTERNATIONAL MULTIDISCIPLINARY JOURNAL FOR RESEARCH & DEVELOPMENT SJIF2019:5.2222020:5.5522021:5.6372022:5.4792023:6.5632024:7,805 eISSN:2394-6334 https://www.ijmrd.in/index.php/imjrd Volume12,issue03(2025) Figure 4. Press the Windows key, enter the command line and click Run as Administrator. When launched, we issue the pip install numpy command to install the Numpy library. After a while, it will automatically start loading the library itself. We can observe the installation process as follows. To check if Numpy is installed, we issue the numpy -version com
Доказательный фрагмент
«This article describes how to configure the Numpy library environment for working with arrays in the graphics mode of the Python programming language and plotting graphs of mathematical functions.»
Образец извлечения
Демо-превьюThis article describes how to configure the Numpy library environment for working with arrays in the graphics mode of the Python programming language and plotting graphs of mathematical functions. Полный текст публикации CiteX не хранит — доступ к первоисточнику открывается по DOI согласно лицензии издателя и выбранному плану.
- Цитирований
- 0
- Тип
- Журнал
- Страна
- Узбекистан
- Ключевые слова
- Datascience, data, analysis, Numpy, engineer, array, python, matplotlib, library
Смежные источники
Общество и инновацииKhosiyat MAMATKULOVA2024
Магистерские диссертацииЮлдашев Ж.Х2014
Журнал универсальных научных исследованийAND RESTORATION, Khatamov Orif Yusupovich2024