Wolfram Language

Core Language

Dataset as an Annotation

Dataset objects can be used directly as an annotation of EntityValue.

Construct a dataset of properties of noble gases.

In[1]:=
Click for copyable input
gases = EntityValue[ EntityClass["Element", "NobleGas"], {"BoilingPoint", "Density"}, "Dataset"]
Out[1]=

Find the two atoms with the highest boiling point temperature.

In[2]:=
Click for copyable input
gases[TakeLargest[2], "BoilingPoint"]
Out[2]=

Find the two atoms with the smallest density.

In[3]:=
Click for copyable input
gases[TakeSmallest[2], "Density"]
Out[3]=

Visualize on a two-dimensional plot the density and boiling point of each noble gas.

In[4]:=
Click for copyable input
ListLogPlot[gases, Frame -> True, FrameLabel -> Automatic]
Out[4]=

Related Examples

de es fr ja ko pt-br ru zh