Currently ArcGIS Online notebooks has the old xlwt library for writing out excel files, which is very limited and only output .xls files. It would good if the much more powerful XlsxWriter library (https://xlsxwriter.readthedocs.io/) was available, which allow for richly formatted excel spreadsheet output, such as conditional cell formating, xlsx file support, charts etc.
thanks