5 Best Ways to Format Pandas Period Object and Display Year without Century
π‘ Problem Formulation: When working with time series data in Python using pandas, you may encounter a need to format a Period object to display just the year, omitting the century. For instance, you have a period object representing 2005 and you wish to display it as ’05. This article provides several methods to achieve … Read more