def import_bin(filename, **kwargs):
    metadata, data_raw = _import_bin(filename)
    skip_rows = kwargs.get('skip_rows', 0)
    if skip_rows > 0:
        data_raw.drop(data_raw.index[range(0, skip_rows)], inplace=True)
        data_raw = data_raw.reset_index()
    if kwargs.get('check_meas_nums', True):
        if data_raw['measurement_num'].iloc[0] != 0:
            print('WARNING: Measurement numbers do not start with 0 ' +
                  '(did you download ALL data?)')
        if not np.all(np.diff(data_raw['measurement_num'])) == 1:
            print(
                'WARNING '
                'Measurement numbers are not consecutive. '
                'Perhaps the first measurement belongs to another measurement?'
                ' Use the skip_rows parameter to skip those measurements'
            )
        diff = data_raw['measurement_num'].diff()[1:]
        jump = np.where(diff != 1)[0]
        if len(jump) > 0:
            print('WARNING: One or more jumps in measurement numbers detected')
            print('The jump indices are:')
            for jump_nr in jump:
                print(jump_nr)
            print('Removing data points subsequent to the first jump')
            data_raw = data_raw.iloc[0:jump[0] + 1, :]
    if data_raw.shape[0] == 0:
        return pd.DataFrame(columns=['a', 'b', 'm', 'n', 'r']), None, None
    data = _convert_coords_to_abmn_X(
        data_raw[['x_a', 'x_b', 'x_m', 'x_n']],
        **kwargs
    )
    data['r'] = data_raw['vp'] / data_raw['Iab']
    data['Vmn'] = data_raw['vp']
    data['vab'] = data_raw['vab']
    data['Iab'] = data_raw['Iab']
    data['mdelay'] = data_raw['mdelay']
    data['Tm'] = data_raw['Tm']
    data['Mx'] = data_raw['Mx']
    data['chargeability'] = data_raw['m']
    data['q'] = data_raw['q']
    rec_max = kwargs.get('reciprocals', None)
    if rec_max is not None:
        print('renumbering electrode numbers')
        data[['a', 'b', 'm', 'n']] = rec_max + 1 - data[['a', 'b', 'm', 'n']]
    return data, None, None