def _convert_pandas_csv_options(pandas_options, columns):
    """ Translate `pd.read_csv()` options into `pd.DataFrame()` especially for header.

    Args:
        pandas_options (dict):
            pandas options like {'header': None}.
        columns (list):
            list of column name.
    """
    _columns = pandas_options.pop('names', columns)
    header = pandas_options.pop('header', 'infer')
    pandas_options.pop('encoding', None)
    if header == 'infer':
        header_line_number = 0 if not bool(_columns) else None
    else:
        header_line_number = header
    return _columns, header_line_number
