You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NameError Traceback (most recent call last)
in ()
----> 1 dfn['e_ppm'] = 1e6_dfn.e
2 dfm['e_ppm'] = 1e6_dfm.e
3
4 pars = 'tc rho b k e_ppm c x u v'.split()
5 cp = sb.color_palette()
NameError: name 'dfn' is not defined
We added this block of code before 7:
hdf = HDFStore(join('results','pe.h5'))
dfn=hdf.get('bb/rn_nomask')
dfm=hdf.get('bb/rn_masked')
hdf.close()
The code runs and we get the histograms but we aren't sure if they are correct since they are also absent from you notebook.
The text was updated successfully, but these errors were encountered:
Now that we've looked closer at the code, it seems dfn and dim are defined in [3] as frn and frm, so we just have to say dfn = frn and it works, not sure if there is a reason for not just naming the variables in [3] as dfn and dfm.
error in block 7
NameError Traceback (most recent call last)
in ()
----> 1 dfn['e_ppm'] = 1e6_dfn.e
2 dfm['e_ppm'] = 1e6_dfm.e
3
4 pars = 'tc rho b k e_ppm c x u v'.split()
5 cp = sb.color_palette()
NameError: name 'dfn' is not defined
We added this block of code before 7:
hdf = HDFStore(join('results','pe.h5'))
dfn=hdf.get('bb/rn_nomask')
dfm=hdf.get('bb/rn_masked')
hdf.close()
The code runs and we get the histograms but we aren't sure if they are correct since they are also absent from you notebook.
The text was updated successfully, but these errors were encountered: