adding MultiIndexExploderTest

This commit is contained in:
frankknoll
2023-02-14 16:51:22 +01:00
parent 0ae6e56f33
commit 151aa9cd48
3 changed files with 63 additions and 0 deletions

View File

@@ -4,3 +4,7 @@ def fillLsts(lsts, desiredLen, fillValue):
def fillLst(lst, desiredLen, fillValue):
return lst + [fillValue] * (max(desiredLen - len(lst), 0))
def flatten(tuples):
return [item for tuple in tuples for item in tuple]