title: How to print "Nothing here" to excel if df or groupby is blank?
body: <p>I am calculating some metrics and printing them to excel using </p>
  
  <pre><code>  writer = pd.ExcelWriter('File.xlxs', engine = 'xlsxwriter')
    'metric'.to_excel(writer, sheetname = 'x')
  </code></pre>
  
  <p>Sometimes my metrics will be blank (e.g. the filter has filtered everything out). Is there a way to print to excel that would let me print "Nothing here" if the metric was blank using the xlsxwriter method?</p>