def _collapse_column(current, pc):
    """
    Collapse the column data and
    :param current:
    :param pc:
    :return:
    """
    _tmp_column = {}
    try:
        for k, v in current.items():
            try:
                # We do not want to store these table keys at the column level.
                if not any(i in k for i in ["tableName", "google", "filename", "md5", "MD5"]):
                    # ['paleoData', 'key']
                    m = k.split('_')
                    # Is this a chronData or paleoData key?
                    if pc in m[0] and len(m) >= 2:
                        # Create a link to the growing column data
                        tmp = _tmp_column
                        # Loop for each key, not including the PC. Start at index 1
                        for idx, b in enumerate(m[1:]):
                            # Are we at the last item in the list?
                            if idx == len(m) - 2:
                                # Set the value into the column data
                                tmp[b] = v
                            # All loops before the last item
                            else:
                                # Key already exists in the column
                                if b in _tmp_column:
                                    # Move into the data structure and keep going
                                    tmp = _tmp_column[b]
                                # Key does not exist yet
                                else:
                                    # Create the data structure
                                    tmp[b] = {}
                                    # Move into the new data structure and keep going
                                    tmp = tmp[b]
            except Exception as e:
                logger_ts.error("collapse_column: loop: {}".format(e))
    except Exception as e:
        logger_ts.error("collapse_column: {}".format(e))

    return _tmp_column
Collapse the column data and
    :param current:
    :param pc:
    :return: