re `multi_label_expansion`, seven positional arguments feels a bit too much, specially since you already use named ones: i've made more (all?) of them named