Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

filter_data

filter_data(data, **filters)[source]

Return the list of filtered data

Parameters:
  • data (List[Dict[str, any]]) – list of data dicts.

  • filters – kwargs for filtering based on metadata values.

Return type:

List[Dict[str, any]]

Returns:

The list of filtered data. If no filters are provided this will be the input list.