In [345]: In [350]: In [351]: In [352]: import scipy as sci 1s tips ['1_value"] ms = np.abs(tips ['m_value']) # %% 1-1s

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

In [345]: In [350]: In [351]: In [352]: import scipy as sci 1s tips ['1_value"] ms = np.abs(tips ['m_value']) # %% 1-1s

Post by answerhappygod »

In 345 In 350 In 351 In 352 Import Scipy As Sci 1s Tips 1 Value Ms Np Abs Tips M Value 1 1s 1
In 345 In 350 In 351 In 352 Import Scipy As Sci 1s Tips 1 Value Ms Np Abs Tips M Value 1 1s 1 (43.46 KiB) Viewed 9 times
In [345]: In [350]: In [351]: In [352]: import scipy as sci 1s tips ['1_value"] ms = np.abs(tips ['m_value']) # %% 1-1s m=ms f = sci.math.factorial k_norm = ((2*1+1)/(4 * np.pi) * f(1-m)/f(1+m))**0.5 print(k_norm) Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_18184/1410444274.py in 1 f sci.math.factorial 2 k_norm = ((2*1+1)/(4* np.pi) * f(1-m) /f(1+m))**0.5 3 print (k_norm) TypeError: 'Series' object cannot be interpreted as an integer TypeError
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply