title: Xticks by pandas plot, rename with the string
body: <p>I have this <code>df</code>:</p>
  <pre><code>df = pd.DataFrame({'A': [1, 2, 3], 'B': [2, 3, 5], 'C': ['name 1', 'name 2', 'name 3']})
  
     A  B       C
  0  1  2  name 1
  1  2  3  name 2
  2  3  5  name 3
  </code></pre>
  <p>What is it the correct way to plot column <code>A</code> and use column <code>C</code> as xticks?</p>
  <p>These do not work:</p>
  <pre><code>df['A'].plot(xticks='C')
  df['A'].plot(xticks=df['C'])
  </code></pre>
  <p>This changes the xticks but not the labels:</p>
  <pre><code>df['A'].plot(xticks=[1,2,3])
  </code></pre>
  <p>Should I really convert to sequence?
  I have also some modification of the question. I got next Error message:</p>
  <pre><code>ValueError: could not convert string to float: name 3
  </code></pre>
  <p>I have a column of a strings and want to use it as xticks by my plot.</p>
  <p><strong>PS</strong></p>
  <p><strong>It doesn't going with the pandas plot function direct. I found the solution <a href="https://stackoverflow.com/questions/12945971/pandas-timeseries-plot-setting-x-axis-major-and-minor-ticks-and-labels">here</a></strong></p>