py tag

191 questions


1 answers
56 views
0
Python, number, unique

I wonder how out[indices] reconstructs the original value.

2 years ago

1 answers
67 views
0
Python sympy integral calculation questions

I used integrals and integrates commands to integrate functions containing square roots using Python's sympy module, but the results didn't come out well...For example,root{(x^2+1)}I wrote the code to...

2 years ago

1 answers
115 views
0
Double for statement question during scrapy crawling.

Scrapy Spider Creation Question.I'm writing a simple code and testing itThe problem is saving the DB of the item that wrote the double FOR statement.The item scrap area of the spider is shown below. d...

2 years ago

1 answers
88 views
0
Python multilayer list data processing question.

I want to make a list of sizes (900, 156, 2) by repeating the process of averaging 2496 data with axis=1 in a three-dimensional list of sizes (900, 2496,2) in 16 window sizes and returning it as a sin...


1 answers
91 views
0
How to copy files to different directories with different file names in Java

I'd like to copy the file from Java to another directory.boolean success = false;File[] reviews = dir.listFiles();String trainingDir = dir.getAbsolutePath() + /trainingData;File trDir = new File(train...

2 years ago

1 answers
50 views
0
Python numpy, help me

In vector operation,Vect1 Vect2 and those twoAddition, Deletion, Constant Multiplication, Inner ProductI'd like to print these four outIt's easy to add two more vects for the addition, but I don't kno...

2 years ago

1 answers
90 views
0
I'd like to copy the assets folder from Android to the sd card, what should I do?

I want to copy all the files in the assets folder to /sdcard/folder. What should I do?Oh, and I'd like to thread the copy.

2 years ago

1 answers
54 views
0
I am looking for a NumPy array function that functions the same as index() in the list

Usually, in Python lists, l = list(1,2,3)l.index(2)I'm using index(x) to find the location of item x, but I can't find this function in NumPyarray

2 years ago

1 answers
47 views
0
Python multiplication question.

import numpy as npr_a = np.arange(500, 50000, 500) # mr_b = np.arange(150, 15000, 150) # ma = 3*r_a + r_bb = r_a + 3*r_ba * bWhen I ran the code above, I thought it was a structure that couldn't produ...

2 years ago

1 answers
106 views
0
Python konlpy error

I installed the manual as it is on the official page of konlpy, but This error continues to occur.I set the path of the jdkbin folder in the environment variable Path and set the jptype according to t...

2 years ago
« - 14 - »

© 2024 OneMinuteCode. All rights reserved.