docstr: Take a conversion function and possibly recreate the frame.
docstr_tok: ["Take","a","conversion","function","and","possibly","recreate","the","frame","."]
code: def _process_converter(self, f, filt=None):
      """
      Take a conversion function and possibly recreate the frame.
      """
  
      if filt is None:
          filt = lambda col, c: True
  
      needs_new_obj = False
      new_obj = dict()
      for i, (col, c) in enumerate(self.obj.iteritems()):
          if filt(col, c):
              new_data, result = f(col, c)
              if result:
                  c = new_data
                  needs_new_obj = True
          new_obj[i] = c
  
      if needs_new_obj:
          # possibly handle dup columns
          new_obj = DataFrame(new_obj, index=self.obj.index)
          new_obj.columns = self.obj.columns
          self.obj = new_obj
  
imports: from itertools import islice
  import os
  import numpy
  import pandas._libs.json
  from pandas._libs.tslibs import iNaT
  from pandas.compat import StringIO, long, to_str, u
  from pandas.errors import AbstractMethodError
  from pandas.core.dtypes.common import is_period_dtype
  from pandas import DataFrame, MultiIndex, Series, compat, isna, to_datetime
  from pandas.core.reshape.concat import concat
  from pandas.io.common import BaseIterator, _get_handle, _infer_compression, _stringify_path, get_filepath_or_buffer
  from pandas.io.formats.printing import pprint_thing
  from pandas.io.parsers import _validate_integer
  from .normalize import _convert_to_line_delimits
  from .table_schema import build_table_schema, parse_table_schema
label_desc: Use image node_id 3 for calling the FrameParser obj's underlying member method code with example usage: obj._process_converter(f, filt) without return types