title: Python - ValueError: min() arg is an empty sequence when plotting graph from CSV
body: <p>I have a CSV with the fields "Description" and "Area". I want to graph how many are in each area. I am getting the following error when I run my code: </p>
  
  <pre><code>----&gt; 4 sns.countplot(x = feedback_df['Area'], order = varieties, ax = ax)
  ValueError: min() arg is an empty sequence
  </code></pre>
  
  <p>Here is the code I am running to give a first pass at this : </p>
  
  <pre><code>feedback = pd.read_csv('feedback.csv')
  feedback[feedback['Description'].duplicated(keep = False)].sort_values('Description').head(8)
  feedback = feedback.drop_duplicates('Description')
  feedback_df = feedback.groupby('Area').filter(lambda x: len(x) &gt; 10599)
  Types = feedback_df['Area'].value_counts().index.tolist()
  fig, ax = plt.subplots(figsize = (25, 10))
  sns.countplot(x = variety_df['Area'], order = varieties, ax = ax)
  plt.xticks(rotation = 90)
  plt.show()
  </code></pre>