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
120 views
0
Python numpy gen from txt question

You are currently performing an operation to read the txt file to Python numpy. Other data are neatly gathered (second image), while only certain data (first image) are like this, so I'm having troubl...


1 answers
46 views
0
Error sorting data from multiple Excel files with Pandas.

Hello! I'm an engineering student who's just learning Python.I tried to hang on while googling in my own way, but I can't even die.I think it's because I don't have the basics yet. I'd really apprecia...

2 years ago

1 answers
104 views
0
I wonder how to contribute to the open source project.

I want to translate the numpy document, but I wonder what kind of document to translate and how to write it.

2 years ago

1 answers
40 views
0
Python numpy questions Rossy conversion from float64 to uint8

I'm studying the Python Numpai tutorial (https://cs231n.github.io/python-numpy-tutorial/) and I'm asking because I got an error.<Before correction>from scipy.miscimportimread,imsave,imresizeimg ...

2 years ago

1 answers
69 views
0
Get Python csv file and get maximum, variance with numpy

import numpy as npimport matplotlib.pyplot as pltimport csvdata_file_name = One year temperature in Seoul.csvf = open(data_file_name)temp_data = csv.reader(f)temp_month = [[], [], [], [], [], [], [], ...

2 years ago

2 answers
46 views
0
Making a sub-array of the number pie

Hello. I'm trying to create a function that generates a subarray of an existing array using number-fi.For example, after receiving parameters such as shape of the existing array, center, and fill of t...

2 years ago

1 answers
120 views
0
Please tell me how to combine them according to the Python Pandas data frame conditions and calculate specific values.

with open(test.json, 'r', encoding=UTF8) as file: lines = file.readlines() json_data = [json.loads(ln.replace(\n, ))['data'] for ln in lines] df = pd.DataFrame(json_data)The structure of the df above ...


2 answers
47 views
0
Python Is there a way to get the order of maximum values in a particular dimension?

Noumpy or tf.Is there a way to get the order of maximum values in a particular dimension in the array?Simply put, we're going to take the position of the maximum value of a particular row in a place l...

2 years ago

1 answers
52 views
0
python import numpy error

Hello, I'm a work scheduler.Error executing py filecryingI am using Python as anaconda in Windows 10.As I checked the error, In cmd, an error occurs when you type python in the path C:\Users\bjpark\An...

2 years ago

1 answers
49 views
0
Count the number of specific values in the numpy Count the number of specific rgb values in the image.

The numpy shape is It comes in this form, but I want to count each of these values when it's [255 255 255] It's different from the list, so I don't have a clue.The shape is (3024, 3024, 3) type

2 years ago
« - 13 - »

© 2024 OneMinuteCode. All rights reserved.