Coding Using An Example Code Using Pandas Apply Lambda