title: Can't do visualization because it can't be re-indexed from duplicate axis in python
body: <p>I want to try to make a comparison visualization of asean covid-19 cases but the output is &quot;cannot reindex from a duplicate axis&quot;.</p>
  <p>Where is my syntax error? Please can you guys find it?</p>
  <pre><code>import matplotlib.pyplot as plt
  import seaborn as sns
  plt.figure(figsize=(16,6))
  sns.lineplot(data=df_covid_denormalized_asean_march_onward, 
               x=df_covid_denormalized_asean_march_onward.index, 
               y=&quot;confirmed_cases&quot;, 
               hue=&quot;country_name&quot;,
               linewidth=2)
  plt.xlabel('Record Date', fontsize=14)
  plt.ylabel('Total Cases', fontsize=14)
  plt.title('Comparison of COVID19 Cases in 5 ASEAN Countries', color=&quot;b&quot;, fontsize=18)
  plt.grid()
  plt.tight_layout()
  plt.show()
  </code></pre>