Needs urgent help and please don't judge if you find it pretty basic that everyone knows but i don't know
retained text
This is my first internship and my task is to write a script that convert Input file containing mix of pii and non pii to non pii output file. I did the code but my mentor says he want all it in single file and prod ready so that it can be run on anyone's system . But the the person who is using this script only see it is main working that he will enter some things and script works accordingly. And what i did is that i kept the whole functions and code in one file and then call these functions via main function in another notebook. But my mentor said he needs a single notebook then I put all the functions and main function in one notebook but he said it is not this way. Now I am wondering what to do and how to do. Up to I got is that the person who is going to use this script will see only main function that generate the non pii output he doesn't have anything to do it's underlying code ....but that code is important for the main working but what I have to do with the original logic . And code should be independent . Anyone help me with what to do and how to do.
document fetched 2026-10-31 00:23 · canonical https://reddit.com/r/dataengineering/comments/1xj9t9a/needs_urgent_help_and_please_dont_judge_if_you