Pandas Basic Code Of Python Function With String