2
$\begingroup$

I have a question regarding how to code the logic below in python:

I have one reference table containing information what should be inside each different bucket, 1 would indicate it should contain and 0 would indicate it should not contain:

enter image description here

Than I have to add additional columns in the end of the following table to check if the bucket is containing the right material. enter image description here

in the end what i want is something that checkes each trade like below: enter image description here

any ideas?

Thanks!

$\endgroup$

closed as off-topic by Jarle Tufto, whuber Aug 23 at 20:58

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question appears to be off-topic because EITHER it is not about statistics, machine learning, data analysis, data mining, or data visualization, OR it focuses on programming, debugging, or performing routine operations within a statistical computing platform. If the latter, you could try the support links we maintain." – Jarle Tufto, whuber
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.