title: TypeError: expected string or bytes-like object while trying to plot data from a dataframe
body: <p>"""
  I am trying to plot a graph from data retrieved from a CSV file. The code is as below
  """</p>
  
  <pre><code>path = '/Users/pradeepallath/Documents/000_Edureka_Training/001_PredictiveAnalysis/Weather_WWII'
  import pandas as pd
  dataset = pd.read_csv(path+'/Weather.csv',low_memory=False,nrows=1000)
  dataset.plot(x='MinTemp',y='MaxTemp',style=0)
  plt.plot()
  </code></pre>
  
  <p>"""<br>
  I am Getting this error. Please note I am new to Python</p>
  
  <pre><code>        Traceback (most recent call last):
            File "/Users/pradeepallath/Documents/Pycharm/Big_Mart_Sale/Mean_Sale.py", line 13, in &lt;module&gt;
              dataset.plot(x='MinTemp',y='MaxTemp',style=0)
            File "/Users/pradeepallath/anaconda3/lib/python3.7/site-packages/pandas/plotting/_core.py", line 794, in __call__
              return plot_backend.plot(data, kind=kind, **kwargs)
            File "/Users/pradeepallath/anaconda3/lib/python3.7/site-packages/pandas/plotting/_matplotlib/__init__.py", line 62, in plot
              plot_obj.generate()
            File "/Users/pradeepallath/anaconda3/lib/python3.7/site-packages/pandas/plotting/_matplotlib/core.py", line 281, in generate
              self._make_plot()
            File "/Users/pradeepallath/anaconda3/lib/python3.7/site-packages/pandas/plotting/_matplotlib/core.py", line 1063, in _make_plot
              style, kwds = self._apply_style_colors(colors, kwds, i, label)
            File "/Users/pradeepallath/anaconda3/lib/python3.7/site-packages/pandas/plotting/_matplotlib/core.py", line 723, in _apply_style_colors
              nocolor_style = style is None or re.match("[a-z]+", style) is None
            File "/Users/pradeepallath/anaconda3/lib/python3.7/re.py", line 173, in match
              return _compile(pattern, flags).match(string)
          TypeError: expected string or bytes-like object
  
      Thanks for the assistance
  </code></pre>
  
  <p>"""</p>