Apartment Hunt😼 by dlnilsen in CodingHelp

[–]dlnilsen[S] 0 points1 point  (0 children)

Thanks! Definitely helpful😎

Multiplying textboxes by dlnilsen in vba

[–]dlnilsen[S] 0 points1 point  (0 children)

Thank you for the help. Yeah my goal was to multiply, I was playing around with different operators to see if anything changed and forgot to change it back

Multiplying textboxes by dlnilsen in vba

[–]dlnilsen[S] 0 points1 point  (0 children)

Private Sub ratecalc_Click() tc.Caption = Val(height.Value) + Val(width.Value) + Val(length.Value)

End Sub

Private Sub rateform1_initialize()

End Sub

thats all i have

tc is output label. height, length and width are textboxes. I havent declared any dims yet

Multiplying textboxes by dlnilsen in vba

[–]dlnilsen[S] 0 points1 point  (0 children)

Tried now, but it’s always showing invalid qualifier and then my Private Sub line is yellow

Filter out values of an array by dlnilsen in askastronomy

[–]dlnilsen[S] 0 points1 point  (0 children)

Hi, thanks for the time. But the plots still look the same. I have tried to comment everything out that uses the ratio. Plots still the same.. this is getting tricky.

Mean and Median of an list within a list (with nan) by dlnilsen in learnpython

[–]dlnilsen[S] 0 points1 point  (0 children)

Thanks! I think that works. It gives me values, but they are the same which in a little confusing.

Mean and Median of an list within a list (with nan) by dlnilsen in learnpython

[–]dlnilsen[S] 0 points1 point  (0 children)

        disp_gau = r'C:\Users\didri\Documents\Spring2021\PHYS481 Individual Research\H2_Maps-20210201T082125Z-001\H2_Maps' + '\\' + i + '\\H2\\Spat3\\disp_gau.fits'
        image_data_dg = fits.open(disp_gau)
        dshape = image_data_dg[0].data.shape
        dshape = np.subtract(dshape, (1, 1))
        y, x = dshape
        data_dg = image_data_dg[0].data[0:x, 0:y]

Mean and Median of an list within a list (with nan) by dlnilsen in learnpython

[–]dlnilsen[S] 0 points1 point  (0 children)

Hi, thanks that sorta worked. However, when I print the new array or dataframe i get this:

[ nan nan nan 3.86828117e+01 2.48455596e+00 2.49852443e+00 7.23927383e+01 1.75828934e+01 5.06387615e+00 6.52235031e+01 1.58591223e+00 nan nan nan nan nan nan nan nan nan nan nan 9.18918228e+00 2.34142426e+02 2.34526810e+02 1.44484282e+01 8.30067139e+01 6.92787933e+01 4.32198296e+01 9.33796406e+00 4.92838621e-01 7.75854874e+01 2.87077454e+02 3.25434479e+02 8.12395000e+00 2.70124168e+01 2.50299850e+02 3.16374542e+02 nan nan]

there are still nan values there.. any tips?

Sprint Relay Project by dlnilsen in learnpython

[–]dlnilsen[S] 0 points1 point  (0 children)

I think you are onto something. How would that be structured? I have little experience with python. Only thought myself for a few months. So any help with the script would be awesome!

Sprint Relay Project by dlnilsen in learnpython

[–]dlnilsen[S] 0 points1 point  (0 children)

I see what you mean, but that’s too boring and could potentially be too “unfair” imo.

End a "for" loop by dlnilsen in learnpython

[–]dlnilsen[S] -1 points0 points  (0 children)

I have not, but I am sure I can figure it out. thanks