py tag

191 questions


1 answers
485 views
0
I want to create a three-dimensional graph using python and csv files.

I would like to create a 3D graph using python and csv files.The goal is to create a three-dimensional graph using CSV files such as images.(It is opened in Excel, so it is divided into cells accordin...


1 answers
414 views
0
I want to fix the unexpected EOF while parsing error

Currently, I am using a library called [bindnet][1] to create a Recurrent Spiking Neuralnet, and I would like to load the training data (npz file) (values of x and y) for simulation, but when I try to...

1 years ago

2 answers
334 views
0
Overlapping sound data with Numpy

The graph that appears to be the sum of the elements by calculating the sum of the numpy arrays in Python was affected.In order to avoid this, I would like to use something from numpy to superimpose t...

1 years ago

1 answers
370 views
0
Cannot read matrix from file and calculate mean.: TypeError: cannot perform redundancy with flexible type

I would like to calculate the average value of each line in the following files using Python.A=8×8 matrixSo I wrote the following code, but it turned out to be an error.What should I do?code:import nu...

1 years ago

1 answers
264 views
0
I want to spin multiple dataframes with a for statement

df_1,df_2,df_3 and all columns are the same.df_1['year'].shapedf_2['year'].shapedf_3['year'].shapeYou want to spin the above with the for statement, for in (1,2,3): df_(i)['year'].shapeI'd like to do ...


1 answers
295 views
0
I want to make eight shapes (6,1) data in python 3 in the form (8,6)

Could someone tell me how to convert 8 Shape (6,1) data into (8,6) data?For example print(A.shape) is (6, 1)(6, 1)(6, 1)(6, 1)(6, 1)(6, 1)(6, 1)(6, 1)to becomeprint(B.shape)(8,6)I'd like to do somethi...

1 years ago

1 answers
128 views
0
I want to calculate the inner product of Navra.

I would like to calculate the inner product ··b using ((nabra), but how can I do it from here?I want to print 3.import numpy as npx = Symbol ('x')y = Symbol('y')z = Symbol ('z')del_x = np.gradient(,dx...

1 years ago

1 answers
68 views
0
How do I create a one-dimensional array of squares and sum of the differences between the two four-dimensional arrays?

What I want to do is to take the difference between the time and positional coordinates and see the growth rate by time.data1=[t,x,y,z]data2 = [t, x, y, z]So I thought it would be good to take the dif...

1 years ago

2 answers
88 views
0
Use python to manipulate multiple csv data

I would like to use python to put the two csv files together.istlist1 brroute_node,X,Y50775,-7882.7599,-43837.405850774,-7886.58284,-43851.1268650772,-7895.8552,-43835.9677istlist2 brid,x,y57136, -101...

1 years ago

1 answers
68 views
0
About Adding Columns in Numpy

I would like to add 0 to all columns for the array defined below.What should I do? (before adding 0)arr = np.array ([1, 2, 3], [4, 5, 6], [7, 8, 9])arrarray([1,2,3], [4, 5, 6], [7, 8, 9]])What do yo...

1 years ago
« - 3 - »

© 2024 OneMinuteCode. All rights reserved.