I am gonna try to frame this in an understandable way but please let me know if further clarification is necessary. I am trying to create a list of hexagonal co
I have nrrd files of the brain tumor. When reading the file into an array with a header and passing the code print(filename), I get an array of zeros. I checked
I've tried to run a code example (hosted on keras.io) regarding the handwriting recognition task. While playing with the code, I faced a TensorFlow-related issu
I wish to calculate the natural logarithm of a value that is very close to 1, but not exactly one. For example, np.log(1 + 1e-22) is 0 and not some non-zero val
I want to bring in a text file through PyQt5 and draw a graph with data values. import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QTextEdit, QAc
I want to train a model with self-generated matrices (word vectors). My data have the following datatypes: print(type(X)) print(type(X[0])) print(type(X[0][0]))
I want to Finding a specific shape position in the Image. Firstly, I have a main image like below and I have multiple icons like below. I want to find the posit
I'm developing the API for the application using protobuf and grpc. I need to send the data with the arbitrary size. Sometimes it is small, sometimes huge. For
I have a large point cloud in open3D and I want to basically make a 3D grid and bin the points based on which cube they are in. Other have called it "binning in
I want to lower the frequency of a cosine function with 100 times: import numpy as np import math import matplotlib.pyplot as plt x = np.arange(0, 100, 0.1) y
I am looking for a way to do Missing value imputation. There is a table of entries over a given time, with an entry per hour done on days. There is a seperate
I have a python code that I want to run in Matlab. It has an `import NumPy statement in it. The code runs without a problem in the terminal. But when I use Matl
How can I remore words in my 2d array: from: array([['111', 'ACTG1'], ['131', '124'], ['95', '123'], ['95', '124'], ['95', 'ACTG1'],
When running the below Python code, I get different results depending on the user account/admin privileges that is used. The code is saved as test.py on a Windo
Question: How might it be possible to calculate the permutations on a 2D array, but such that the sum of the indicies cannot exceed a certain number? E.g: maxsu
I've been struggling with trying to apply a gradient map which is sourced from an image file to a grayscale image which includes alpha/transparency. The followi
See the following code import re import random s = "~|21|050000|voltage|current|ApparentPower|12345~" for _ in range(100): vol_val = round(random.uniform(23
I have 1D array of N elements. I need to create a PxR view (where PxR<N) on this array according to strides that re not uniform but rather specified in a aux
Hi I am in the process of interpolating data, but the data from N. America, for example, affect the data from Europe (see figure). I have found out that I must
I am trying to read some df with few columns and few rows where in some rows data are missing. For example df looks like this, also elements of the df are separ