Data Loops - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Data Loops (/thread-31597.html) |
Data Loops - ZairaRosas - Dec-21-2020 0 I have two dataframes: df_id: df_combination: I have to perform all the possible combinations between region 01 and region 02 and divide the total between the total number of combinations.Something like this output: I have more than 300 regions, so I wonder if do it by python code (maybe loop) would be possible.
|