User Portlet
| Discussions |
|---|
| Thank you, Udo. A useful suggestion, as usual. Indeed, I found that converting the nested list into a big string, and inserting into a VARCHAR column works quite nicely. (I wouldn't want to be the one to query it on the other end, but it... |
| Welcome, Martin. I have used Mathematica on and off over the last 10 years. But in the past year, almost every day! Also a fan of group theory and a big fan of optimization problems. Do post questions if you need a hand spinning back up on... |
| This site almost never feels normal to me. But that's just frame of reference, I guess. ;-) |
| Anybody get this to work for Linux? Steps would be most helpful. |
| Do you have any zeros or near-zero values in your dataset (bg) or as a result of f1[bg] or f2[bg]? If so, you could try dropping those, or adding 1 before doing your other operations. Hard to determine without knowing the range of values in your... |
| As an alternative, you could do something like this: in:=sampleData = SemanticImport["ExampleData/elements.xls", Automatic, "NamedColumns"]; in:=Select[#, NumberQ] & /@ Values[sampleData]; in:=Mean[#] & /@ % ... |
| Since you know what the "missing" value is going to be beforehand (na), you could also use SemanticImport with a replacement rule in your import options. There's an example in the documentation. |
| Yes, please do. The source is not confidential. I am attaching a text file. |
| I think that will be quite sufficient, Udo, thank you. In this case, I was mainly interested in the syntax to incorporate the comparison test into the dataset modification. No requirement for optimality here -- I could have said "reasonably... |