Script for the signup system at the YIWH ECC Minyan.
-
Import the csv file
-
Discard rows that did not contain "ECC" in the Item column
-
Discard rows that had blanks / nulls in BOTH First name AND Last name
-
Discard Mincha and Maariv, keeping only Shacharit and Kabalat Shabbat
-
Added two columns - Display name (First Name & " " & Last Name), and Seats (Number Sitting Together + 1)
-
Selects the data
-
For the Friday night list:
- Select Display Name where SIgnup = Men and Item = Kabalat Shabbat Order By Last Name
- I don't care about number of seats for Friday night
-
For Saturday Men and Women:
- Select Display Name where SIgnup = Men and Item = Shacharit Order By Last Name
- Select Display Name where SIgnup = Women and Item = Shacharit Shabbat Order By Last Name
-
But now, you also need to get the counts of pods. That is left as an exercise to the reader, but I need something like this:
- In addition to the counts, I need the Display name where the seat size >= 4 (for either men or women, last week there were no women with large pods)
The output is a .xlsx file (as the user properly passed in) with 6 worksheets in the workbook. What you do with it, I really don't care.
Assuming you know how to run a python script:
- The first argument is the input file. Provide the absolute path.
- The second argument is the output file (.xlsx). You must include the file type (.xlsx)