Coding Using An Example Code Using Pandas Apply Function With Arguments