Python Convert indexes starting from 1 to 365 into months names and display them into the x axis without changing the plot structure?
You will have to tweak the xaxis locator
e.g. For your sample data -

Month,Day,Max_Data,Min_Data,MonthDay
1,1,1.1,-13.3,1-1
1,2,3.9,-12.2,1-2
1,3,3.9,-6.7,1-3
1,4,4.4,-8.8,1-4
1,52.8,-15.5,1-5

import pandas as pd, numpy as np, seaborn as sns, matplotlib.pyplot as plt

data_2015 = pd.read_csv(&quot;/content/tst.csv&quot;)
plt.scatter(data_2015.index, data_2015['Max_Data'], marker='^', color='green',s=40, alpha=1.0,)

import matplotlib.ticker as mticker
plt.gca().xaxis.set_major_locator(mticker.FixedLocator(np.arange(len(data_2015.index))))
plt.gca().xaxis.set_major_formatter(mticker.FixedFormatter(np.array(['Jan','Feb','Mar','Jan','Feb'])))

Output