Posts by user9080886 • 21 points
6 posts
-
-1
votes2
answers62
viewsQ: Database Register
My database has this structure. I would like to know how to create the record on PEOPLE and at the same time get the ID and save it on PESSOAS_FISICAS. I created this command for such, but it didn’t…
-
0
votes1
answer27
viewsQ: Return on value
I’m developing a program to calculate bar cuts, but I’m having difficulty in how to pass the calc_cut value of the harnessing() function to the weight_calculation function(). class CorteLinear: def…
python-3.xasked user9080886 21 -
0
votes1
answer62
viewsQ: Add historical
I have the dataset called Gd, taken from an xls, an example: DATA_CRIA FROTA 1971 2 1972 19 1973 19 This dataset has several entries with the pattern listed above, I would like to create a…
pythonasked user9080886 21 -
0
votes1
answer224
viewsQ: Application of linear regression
I have two lists print(lista) [970084.4148727012, 983104.7719906792, 996164.0, 1006426.5111488493, 1016687.0370821969, 1026941.5758164332, 1037185.9604590479, 1047415.8544247652, 1057626.746645888,…
pythonasked user9080886 21 -
-1
votes1
answer94
viewsQ: Quantity in a dataset
I own this dataset I would like to count the instances of 'DATA_CRIA' in relation to this other dataset For that I performed this command, only it did not work: lista = [] for ano in anos:…
pythonasked user9080886 21 -
1
votes2
answers4781
viewsQ: Sum of column totals
I own this dataset: I would like to create command to sum up the values of each year, and put in a list. lista=[] for i in range(2008, 2041): area[i].sum() lista.append(i) But it didn’t work out the…
pythonasked user9080886 21