in blog_example_code/preprocessing.py [0:0]
def remove_between_square_brackets(text): return re.sub("\[[^]]*\]", "", text)