def _copy(self, deepcopy=False):
    styler = Styler(self.data, precision=self.precision, caption=self.caption, uuid=self.uuid, table_styles=self.table_styles)
    if deepcopy:
        styler.ctx = copy.deepcopy(self.ctx)
        styler._todo = copy.deepcopy(self._todo)
    else:
        styler.ctx = self.ctx
        styler._todo = self._todo
    return styler
def _copy(self, deepcopy=False):
    styler = Styler(self.data, precision=self.precision, caption=self.caption, uuid=self.uuid, table_styles=self.table_styles)
    if deepcopy:
        styler.ctx = copy.deepcopy(self.ctx)
        styler._todo = copy.deepcopy(self._todo)
    else:
        styler.ctx = self.ctx
        styler._todo = self._todo
    return styler