« first day (1972 days earlier)      last day (1369 days later) » 

4:56 AM
Hii,
please give some guidance to this
https://stackoverflow.com/q/62862439/12955442
 
 
1 hour later…
6:20 AM
1 message moved from Python
 
6:43 AM
Here is a small part of a large program - import tkinter as tk

def func(root):
root1 = tk.Tk()
root1.geometry('100x100')
root1.grid_propagate(0)
x = tk.IntVar()
cbox = tk.Checkbutton(root1, variable = x)
but1 = tk.Button(root1, text = 'Show Value', command = lambda: print(x.get()))

cbox.grid()
but1.grid()

root = tk.Tk()
root.geometry('100x100')
root.grid_propagate(0)
func(root)
root.mainloop()
 
7:04 AM
I want to find the best parameters for my function ``` def func(Y, t, r, p, K, alpha):
return r * (Y ** p) * (1 - (Y / K) ** alpha)```
r and alpha ranges from 0 to 1
sorry, p and alpha ranges from 0 to 1, r from 0.01 to 2 and K from the current value to 3* current value
how can I find the best values for the parameters ?
 
1 message moved from Python
5 messages moved from Python
 
 
3 hours later…
11:08 AM
1 message moved from Python
 
 
4 hours later…
2:46 PM
@PedroSpinola works pretty well in war
1 message moved from Python
 
 
5 hours later…
7:46 PM
@roganjosh what works pretty well on war ?
 
 
1 hour later…
9:15 PM
@PedroSpinola if he wanted to continue he wouldn't have moved that message. Please ignore it.
2 messages moved from Python
 
 
2 hours later…
11:28 PM
`def formula(row):
s0= row[0]
s1= row[1]
s2= row[2]
s3= row[3]
if s1 !="":
return s1
elif s2 !="":
return s2
elif s3 !="":
return s3
else:
return s0

df1["final"]=df1.apply(formula,axis = "columns")
df1`
:49911640 `def formula(row):
s0= row[0]
s1= row[1]
s2= row[2]
s3= row[3]
if s1 !="":
return s1
elif s2 !="":
return s2
elif s3 !="":
return s3
else:
return s0

df1["final"]=df1.apply(formula,axis = "columns")
df1`
having issues with the indenting above, sorry about that.
 
11:49 PM
3 messages moved from Python
 

« first day (1972 days earlier)      last day (1369 days later) »