Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on the associative data-structure introduced in Mathematica version 10.
1
vote
1
answer
86
views
How do I consider a list of items as a single atom when threading?
Suppose I have the following list of items:
AssociationThread[{"Jan 2021","Feb 2021","Mar 2021","Apr 2021","May 2021","Jun 2021","Jul 2021","Aug 2021","Sep 2021","Oct 2021"}->{Missing["NotAvailable"], …
4
votes
1
answer
217
views
Get Windows registry into Mathematica as an association
Windows probably is the only operating system that has a separate database of configuration instructions and paths. The windows registry looks exactly like a giant nested association. Also probably is …
6
votes
2
answers
148
views
How to define a functional that produces at runtime a function by evaluating selected parts ...
Consider the following functional as an example:
ClearAll[urlModifier];
urlModifier[url_]:=ReplaceAll[Function@Evaluate[
Inactive[URLBuild][
URLParse[url]/.{"slot"->Inactive[StringReplace …
13
votes
2
answers
351
views
Does anyone know a way to use patterns in Query?
This question is a follow up from my previous question.
Query has a nice syntax that allows it to apply functions on association based on specific Keys.
assoc=<|"a"->{1,3,2,9,4},"b"->{6,1,8},"c"->{3 …
4
votes
2
answers
197
views
How to do AssociationThread recursively?
Consider the following sequence of deepening lists:
s = {s1, s2};
t = {{t1, t2}, {t3, t4, t5}};
c = {{{c1, c2, c3}, {c4}}, {{c5}, {c6, c7}, {c8, c9}}};
i = {{{{i2},{i1,i3},{i1}},{{i1,i4,i5}}},{{{i1,i2 …
7
votes
2
answers
184
views
Associations of List is not printing properly in mathematica 11
a31, a32, a33}|>//Dataset
The above code produces the following where rows are still printed as lists
How do i fix this to get the rows printed properly as they used to be in Mathematica 10 when Associations …
1
vote
0
answers
99
views
How to make the association's keys viewable by opener in input cell in editable form?
I have an association as follows (the actual association has hundreds of keys):
dataset=<|
"CL"-><|
"Frequency"->{{"06H2"}->1,{"13H2"}->1,{"19H1"}->1},
"Severity"->{{"07H2","08H1", …
4
votes
2
answers
148
views
How to export a list of Datasets in separate sheets in XLSX?
I can export a Dataset correctly using:
$dataset=Dataset[...];
Export["...path...file.xlsx",$dataset,{"XLSX"}]
Also, I can export Values in a Dataset on separate sheets using:
$datasets={"Sheet1"->Va …