@@ -17,7 +17,7 @@ Beside the examples given here, *please* also have look at the examples given in
Scripts
-------
At the moment there is just the `get_mean_values` script that you can call with the `-h` or `--help` option flag to get further information how to use it. Please feel free to provide an example.
At the moment there is just the `get_mean_values` :ref:`scripts <scripts>` that you can call with the `-h` or `--help` option flag to get further information how to use it. Please feel free to provide an example.
Classes
-------
...
...
@@ -95,3 +95,37 @@ Cassandra objects
One example for a script that fetches the data for the main magnets and plots them can be written like this.
.. literalinclude:: ../bin/plot_two.py
Pandas DataFrames
~~~~~~~~~~~~~~~~~
As you might have noticed, until now all the examples needed a for loop for dealing with different PVs. But there is also
the possibility to ask for several PVs at once. For this you need to have pandas_ installed.
Then it is as simple to get a DataFrame with the timestamps as keys and the PVs as columns as shown in the following command::