original_docstring: export combine rules for score card
  
          Args:
              format (bool): if True, bins will be replace with string label for values
              to_json (str|IOBase): io to write json file
  
          Returns:
              dict
          
docstring: export combine rules for score card
docstring_tokens: export combine rules for score card
code: def export(self, format = False):
          """export combine rules for score card
  
          Args:
              format (bool): if True, bins will be replace with string label for values
              to_json (str|IOBase): io to write json file
  
          Returns:
              dict
          """
          splits = copy.deepcopy(self.splits_)
  
          if format:
              if not isinstance(splits, dict):
                  splits = self._format_splits(splits)
              else:
                  for col in splits:
                      splits[col] = self._format_splits(splits[col])
  
          if not isinstance(splits, dict):
              bins = splits.tolist()
          else:
              bins = {k: v.tolist() for k, v in splits.items()}
  
          return bins
code_tokens: def export ( self , format = False ) : splits = copy . deepcopy ( self . splits_ ) if format : if not isinstance ( splits , dict ) : splits = self . _format_splits ( splits ) else : for col in splits : splits [ col ] = self . _format_splits ( splits [ col ] ) if not isinstance ( splits , dict ) : bins = splits . tolist ( ) else : bins = { k : v . tolist ( ) for k , v in splits . items ( ) } return bins
short_docstring: export combine rules for score card
short_docstring_tokens: export combine rules for score card
comment: """export combine rules for score card
  
          Args:
              format (bool): if True, bins will be replace with string label for values
              to_json (str|IOBase): io to write json file
  
          Returns:
              dict
          """