BrT

Jul
22
asked Create Python child class and add to std::vector in boost::python wrapped class
Feb
23
awarded Famous Question
Jul
2
awarded Curious
Oct
30
awarded Notable Question
Sep
11
accepted Pythonic isinstance on floats and ints
Sep
11
asked Pythonic isinstance on floats and ints
May
2
comment Open many files and plot colour by dataset in R
Thanks for the effort. At the moment, my datasets aren't huge, so I will just add Name -- just figured there would be a way around it...
May
2
accepted Open many files and plot colour by dataset in R
May
2
comment Open many files and plot colour by dataset in R
@Spacedman I see, this seems like it is creating a substantial amount of redundant data -- is there another way to achieve the effect I am after?
May
2
revised Open many files and plot colour by dataset in R
added 1348 characters in body
May
2
comment Open many files and plot colour by dataset in R
@DrDom: Unfortunately not. No change.
May
2
comment Open many files and plot colour by dataset in R
@RomanLuštrik: This doesn't make a difference unfortunately. Also, if it leave the p <- in, but remove colour=Name, the plot is produced, but all of the points are black.
May
2
asked Open many files and plot colour by dataset in R
Apr
16
asked Random sampling to increase accuracy of pressure estimate?
Apr
1
awarded Notable Question
Mar
4
awarded Popular Question
Jan
15
comment Is there a Numpy function to return the first index of something in an array?
If you are looking for the first row in which an item exists in the first column, this works (although it will throw an index error if none exist) rows, columns = np.where(array==item); first_idx = sorted([r for r, c in zip(rows, columns) if c == 0])[0]
Dec
22
awarded Scholar
Dec
22
accepted Scientific software design
Dec
21
awarded Student
1 2 3 4