Pandas Basic Code Of Python Function With Multiple Outputs