py tag

191 questions


2 answers
347 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 answers
249 views
0
Accelerated integration and linear storage processing 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 answers
395 views
0
Python dataframe variant code question) I want to clone row with the same value

I want to make a data frame that looks like the top one like the bottom one. What should I do now?https://kin.naver.com/qna/detail.naver?d1id=1&dirId=104&docId=429520356I'm sharing the link th...

1 years ago

1 answers
392 views
0
What is the difference between libraries and frameworks?

What is the difference between a library and a framework?When I was studying for the G test NumPyscikit-learnappeared in both the library description and the framework description.Do both happen to sp...

1 years ago

1 answers
341 views
0
I don't know why the number of elements changes when the type is converted to dtype view

I don't know why the number of elements changes when the type is converted to numpy type view arr = np.zeros(2, dtype=np.uint16)arrarray([0, 0], dtype=np.uint16)arr.view(np.uint8)array([0, 0, 0, 0], d...

1 years ago

1 answers
351 views
0
I want to change the number according to the value of a specific axis.

I would like to use python's numpy to change the process according to the specific axis value.For example, if there is a a[3][3][3] ndarray like the following,[[0 12] [ 3 4 5] [ 6 7 8]] [[ 9 10 11] [1...

1 years ago

1 answers
338 views
0
Standard deviation results do not meet expectations

Assume you are given an array of percentages:test=np.array([1.0, 1.0, 1.0, 0.8571428571428571, 0.7142857142857143, 0.8571428571428571, 0.8571428571, 1.0, 1.0]) * 100If you calculate the average value ...

1 years ago

1 answers
342 views
0
Standard deviation results do not meet expectations

Assume you are given an array of percentages:test=np.array([1.0, 1.0, 1.0, 0.8571428571428571, 0.7142857142857143, 0.8571428571428571, 0.8571428571, 1.0, 1.0]) * 100If you calculate the average value ...

1 years ago

1 answers
418 views
0
python —Something is wrong with the standard deviation.

Assume you are given an array that shows the following percentages:test=np.array([1.0, 1.0, 1.0, 0.8571428571428571, 0.7142857142857143, 0.8571428571428571, 0.8571428571, 1.0, 1.0]) * 100If you calcul...

1 years ago

1 answers
271 views
0
I'd like to create an algorithm in javascript that can be regressed with any graph, such as scipy.optimize.curve_fit (I'd like you to tell me a library that corresponds to that). Or I would like you to tell me an algorithm for regression specifically for sigmoid functions.) )

I would like to create an algorithm in javascript that can be regressed with any graph, such as scipy.optimize.curve_fit.The library I found is at the following URL:https://www.npmjs.com/package/regre...

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.