Beispiel #1
0
 def drop_sids(self, to_drop):
     """
     Remove sids from the container.
     """
     self.sids = pd.Index(
         sorted(self.sids.difference(_ensure_index(to_drop))), )
     self._realign_sids()
 def add_sids(self, to_add):
     """
     Add new sids to the container.
     """
     self.sids = pd.Index(
         sorted(self.sids.union(_ensure_index(to_add))),
     )
     self._realign_sids()
 def drop_sids(self, to_drop):
     """
     Remove sids from the container.
     """
     self.sids = pd.Index(
         sorted(self.sids - _ensure_index(to_drop)),
     )
     self._realign_sids()
 def add_sids(self, to_add):
     """
     Add new sids to the container.
     """
     self.sids = pd.Index(
         sorted(self.sids + _ensure_index(to_add)),
     )
     self._realign_sids()