xbrl.FactSet

A FactSet class represents a set of XBRL instance facts.

class xbrl.FactSet(Instance instance)

Methods

xbrl.FactSet.clear()
xbrl.FactSet.copy()

Returns an xbrl.FactSet object which is an independent copy of the current fact set.

xbrl.FactSet.filter(ConstraintSet cs)

Filters any facts that do not match the constraints specified in the constraintSet.

xbrl.FactSet.intersect(FactSet factset)

Intersects the facts represented by this object with the given factSet (equivalent to a set intersection).

xbrl.FactSet.merge(FactSet factset)

Merges the facts represented by this object with the given factSet (equivalent to a set union).

Special methods

__bool__, __eq__, __ge__, __gt__, __iter__, __le__, __len__, __lt__, __ne__