How can I modify the year column in my dataset using PySpark or Python, so that if the year is 2022, it becomes 2022-23, and if the year is 2021, it becomes 2021-2022?
Copyright QStack.ai, 2010-2023. Content on this site is licensed under the Creative Commons Attribution Share Alike 3.0 license.