refactor(data): improve variable naming in generate_df_tuples function for clarity
This commit is contained in:
@@ -61,9 +61,9 @@ def generate_df_tuples(total_dfs=30, group_size=5, prefix="zzzAD", extension="TX
|
|||||||
group = []
|
group = []
|
||||||
for i in range(1, 6): # TODO: shouldnt be hardcoded
|
for i in range(1, 6): # TODO: shouldnt be hardcoded
|
||||||
n = g * 5 + i
|
n = g * 5 + i
|
||||||
bottom = i # 1, 2, 3, 4, 5
|
bottom_end = i # 1, 2, 3, 4, 5
|
||||||
b = a + 25 # 26, 27, 28, 29, 30 # TODO: shouldnt be hardcoded
|
top_end = bottom_end + 25 # 26, 27, 28, 29, 30 # TODO: shouldnt be hardcoded
|
||||||
group.append((f"{prefix}{n}.{extension}", [a, b]))
|
group.append((f"{prefix}{n}.{extension}", [bottom_end, top_end]))
|
||||||
result.append(group)
|
result.append(group)
|
||||||
|
|
||||||
# Add special groups at specified positions (other than beginning)
|
# Add special groups at specified positions (other than beginning)
|
||||||
|
|||||||
Reference in New Issue
Block a user