title: How to label line chart with column from pandas dataframe (from 3rd column values)?
body: <p>I have a data set I filtered to the following (sample data): </p>
  
  <pre><code>Name Time l
  1 1.129 1G-d
  1 0.113 1G-a
  1 3.374 1B-b
  1 3.367 1B-c
  1 3.374 1B-d
  2 3.355 1B-e
  2 3.361 1B-a
  3 1.129 1G-a
  </code></pre>
  
  <p>I got this data after filtering the data frame and converting it to CSV file:</p>
  
  <pre class="lang-py prettyprint-override"><code># Assigns the new data frame to "df" with the data from only three columns
  header = ['Names','Time','l']
  df = pd.DataFrame(df_2, columns = header)
  
  # Sorts the data frame by column "Names" as integers
  df.Names = df.Names.astype(int)
  df = df.sort_values(by=['Names'])
  
  # Changes the data to match format after converting it to int
  df.Time=df.Time.astype(int)
  df.Time = df.Time/1000
  
  csv_file = df.to_csv(index=False, columns=header, sep=" " )
  </code></pre>
  
  <p>Now, I am trying to graph lines for each label column data/items with markers. 
  I want the column <code>l</code> as my line names (labels) - each as a new line, <code>Time</code> as my Y-axis values and <code>Names</code> as my X-axis values. 
  So, in this case, I would have 7 different lines in the graph with these labels: <code>1G-d, 1G-a, 1B-b, 1B-c, 1B-d, 1B-e, 1B-a</code>. </p>
  
  <p>I have done the following so far which is the additional settings, but I am not sure how to graph the lines. </p>
  
  <pre class="lang-py prettyprint-override"><code>plt.xlim(0, 60)
  plt.ylim(0, 18)
  plt.legend(loc='best')
  plt.show()
  </code></pre>
  
  <p>I used <code>sns.lineplot</code> which comes with hue and I do not want to have name for the label box. Also, in that case, I cannot have the markers without adding new column for style. </p>
  
  <p>I also tried ply.plot but in that case, I am not sure how to have more lines. I can only give x and y values which create only one line.</p>
  
  <p>If there's any other source, please let me know below.</p>
  
  <p>Thanks</p>
  
  <p>The final graph I want to have is like the following but with markers:
  <a href="https://i.stack.imgur.com/0UC1U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0UC1U.png" alt="enter image description here"></a></p>