()
return ['  raise KeyError("Column is not in the DataFrame")']
Generate code lines to raise KeyError
Generate code lines to raise KeyError
Generate code lines to raise KeyError
def df_getitem_key_error_codelines():
    """Generate code lines to raise KeyError"""
    return ['  raise KeyError("Column is not in the DataFrame")']
def df_getitem_key_error_codelines ( ) : return [ '  raise KeyError("Column is not in the DataFrame")' ]