Linked Questions

Popular Questions

If-then statements in Python with multiple variables

Asked by At

Working on a project that would allow for automation in Python whenever feeding new file. I need help writing that code in Jupyter Notebook. My goal is to code the following demand based on my variables in my data.

IF "Platform" 321 is down 27 "Days" THEN "MAU" Semifluid Monitor and A320 THSA Electric Load Sensing Device" Fits.

Essentially, I want the program to be able to look at the "Platform" and number of "Days" on the left hand side and PRINT out the multiple "MAU" that fit those requirements based on "Available for Platform" and "Days.1"

The image shows my script thus far and how my data looks.

enter image description here

Related Questions