Pandas Basic Code Of Python Function With Optional Arguments