Beispiel #1
0
 def dump(self, obj, target: Union[None, str, TargetOnKart] = None) -> None:
     PandasTypeConfigMap().check(obj, task_namespace=self.task_namespace)
     if self.fail_on_empty_dump and isinstance(obj, pd.DataFrame):
         assert not obj.empty
     self._get_output_target(target).dump(obj, lock_at_dump=self._lock_at_dump)
Beispiel #2
0
 def dump(self, obj, target: Union[None, str, TargetOnKart] = None) -> None:
     PandasTypeConfigMap().check(obj, task_namespace=self.task_namespace)
     self._get_output_target(target).dump(obj)