sashahafner / pystupid

Some notes on Python syntax and more
GNU General Public License v3.0
2 stars 0 forks source link

Don't use `a` for object name inside function???? #15

Open sashahafner opened 10 months ago

sashahafner commented 10 months ago

This is rich.

> /home/sasha/GitHub_repos/online-analytical-chem-course/examples/01-slurry-emis-py/scripts/fintegrate.py(16)fintegrate()
-> if value == 'all':
(Pdb) a
dat =      day      qch4
0      5  0.716562
17    12  0.384215
34    18  3.610425
51    25  1.717410
67    32  1.351262
83    39  1.168975
99    46  1.335460
115   60  0.733125
131   74  0.892067
147   88  0.748961
163  115  1.045383
179  123  0.930786
195  143  0.941594
211  157  0.896338
227  171  0.899040
243  185  0.848253
274  220  0.800929
290  234  0.513140
306  248  0.637298
322  269  0.692876
338  283  0.717573
method = 'm'
start = 0
ystart = 0
value = 'total'

Looks like a is the list of arguments. Lord knows where one might find that information.