pnijhara / sih-2019

Re-definition found for builtin function PYL-W0622
Anti-pattern
Major
1 occurrence in this check
Redefining built-in 'filter'
 79layout = app_layout()
 80
 81
 82def filter(year, _category, rows, labels, remove=False): 83    cu_index, co_index = [
 84        index for index in years.transpose().index if years[index].iloc[0] == year
 85    ]