For example I use this code to get a value for mask
def get_rule(path, column_names): mask = \'\' for index, node in enumerate(path): #We check if we are