
March 29, 2023
2:33 p.m.
Hello everyone, Given a dataframe like this: 2 6 8 5 I want to yield the following list of lists: [ [[2],[6,5]], [[2],[6]], [[2],[5]], [[8],[6,5]], [[8],[6]], [[8],[5]], [[6],[2,8]], [[6],[8]], [[6],[2]], [[5],[2,8]], [[5],[2]], [[5],[8]], [[6,5],[2,8]] ] I have written the following (which doesn't yield the expected results) import pandas as pd
for i in range(0, len(dataframe)+1):
What is wrong with my code?
716
Age (days ago)
716
Last active (days ago)
0 comments
1 participants
participants (1)
-
marc nicole