estimator.cost.Cost.filter

Contents

estimator.cost.Cost.filter#

Cost.filter(**keys)[source]#

Return new ordered dictionary from dictionary restricted to the keys.

Parameters:
  • dictionary – input dictionary

  • keys – keys which should be copied (ordered)