lundi 11 février 2019

If-then statements in Python with multiple variables

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"

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

Aucun commentaire:

Enregistrer un commentaire