numpy tag

NumPy (pronounced /ˈnʌmpaɪ/ (NUM-py) or sometimes /ˈnʌmpi/ (NUM-pee)) is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays. The ancestor of NumPy, Numeric, was originally created by Jim Hugunin with contributions from several other developers. In 2005, Travis Oliphant created NumPy by incorporating features of the competing Numarray into Numeric, with extensive modifications. NumPy is open-source software and has many contributors. NumPy is a NumFOCUS fiscally sponsored project.

Reference: WIKIPEDIA

137 questions


1 answers
403 views
0
I want to connect the dots in the image horizontally

I want to connect the black dots in the image horizontally.Contours of cv2 detected the contour and used Euclidean distance to create four coordinates so that the interval between the acquired contour...

1 years ago

1 answers
410 views
0
I want to delete a combination of arrays specified in Python's three-dimensional array.

I would like to delete [[23][01][01]] which is the opposite combination of [[01][23]] in Python's three-dimensional ndarray array as shown below.import numpy as nparr1 = np.array([[0,1], [2,3]], [[...

1 years ago

1 answers
394 views
0
I'd like to do a cross-examination. Please tell me how to do it.

import numpy as npimport pandas aspddf_maize=pd.read_csv(PSD online data maize.csv, thousands=',')]df_maize.corr()I was able to calculate the correlation coefficient, but there was an error in the fol...

1 years ago

2 answers
443 views
0
How do I change the dtype from object to int64?

import numpy as npimport pandas aspddf_maize=pd.read_csv(PSD online data maize.csv)print(df_maize[Name])print(df_maize[Production])print(df_maize[Exports])# If you look at the printed results, the dat...

1 years ago

1 answers
346 views
0
Error in drawing using matplotlib unhashable type: 'numpy.ndarray'

If you run the following program in VSCode, an error message appears and the graph does not appear.Please let me know if there is a solution.errorAn exception has occurred: TypeError unhashable type: ...


1 answers
441 views
0
Error in drawing using mtplotlib unhashable type: 'numpy.ndarray'

If you run the following program in VSCode, an error message appears and the graph does not appear.Please let me know if there is a solution.errorAn exception has occurred: TypeError unhashable type: ...


1 answers
318 views
0
Error in drawing using mtplotlib unhashable type: 'numpy.ndarray'

If you run the following program in VSCode, an error message appears and the graph does not appear.Please let me know if there is a solution.errorAn exception has occurred: TypeError unhashable type: ...


1 answers
247 views
0
I can't solve the simultaneous equation in Python.

I solved the simultaneous equation and entered the following and ran it, but I couldn't say anything at all.What's wrong? from numpy.linalg import solveleft = [[2,1], [1, 3]]right = [1,13]print(solve...

1 years ago

2 answers
473 views
0
I want to speed up the process of integration and linear storage in Pandas, numpy.

I'm creating software for numerical analysis on Python, but it takes time and I want to speed it up.After analyzing with cProfile, we found that the following two functions, integr() and scipy's inter...

1 years ago

2 answers
326 views
0
I want to speed up the process of integration and linear storage in Pandas, numpy.

I'm creating software for numerical analysis on Python, but it takes time and I want to speed it up.After analyzing with cProfile, we found that the following two functions, integr() and scipy's inter...

1 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.