[NbConvertApp] Converting notebook StandardDAS.ipynb to html [NbConvertApp] Executing notebook with kernel: python3 ERROR: column "nan" does not exist LINE 1: UPDATE shots SET "U_loop_breakdown"=nan WHERE shot_no IN(SEL... ^ Traceback (most recent call last): File "/opt/anaconda3/bin/jupyter-nbconvert", line 11, in sys.exit(main()) File "/opt/anaconda3/lib/python3.8/site-packages/jupyter_core/application.py", line 270, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) File "/opt/anaconda3/lib/python3.8/site-packages/traitlets/config/application.py", line 845, in launch_instance app.start() File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 350, in start self.convert_notebooks() File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 524, in convert_notebooks self.convert_single_notebook(notebook_filename) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 489, in convert_single_notebook output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 418, in export_single_notebook output, resources = self.exporter.from_filename(notebook_filename, resources=resources) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 181, in from_filename return self.from_file(f, resources=resources, **kw) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 199, in from_file return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/exporters/html.py", line 119, in from_notebook_node return super().from_notebook_node(nb, resources, **kw) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py", line 369, in from_notebook_node nb_copy, resources = super().from_notebook_node(nb, resources, **kw) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 143, in from_notebook_node nb_copy, resources = self._preprocess(nb_copy, resources) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 318, in _preprocess nbc, resc = preprocessor(nbc, resc) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/preprocessors/base.py", line 47, in __call__ return self.preprocess(nb, resources) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 79, in preprocess self.execute() File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/util.py", line 74, in wrapped return just_run(coro(*args, **kwargs)) File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/util.py", line 53, in just_run return loop.run_until_complete(coro) File "/opt/anaconda3/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 540, in async_execute await self.async_execute_cell( File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 123, in async_execute_cell cell, resources = self.preprocess_cell(cell, self.resources, cell_index) File "/opt/anaconda3/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 146, in preprocess_cell cell = run_sync(NotebookClient.async_execute_cell)(self, cell, index, store_history=self.store_history) File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/util.py", line 74, in wrapped return just_run(coro(*args, **kwargs)) File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/util.py", line 53, in just_run return loop.run_until_complete(coro) File "/opt/anaconda3/lib/python3.8/site-packages/nest_asyncio.py", line 96, in run_until_complete return f.result() File "/opt/anaconda3/lib/python3.8/asyncio/futures.py", line 178, in result raise self._exception File "/opt/anaconda3/lib/python3.8/asyncio/tasks.py", line 280, in __step result = coro.send(None) File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 832, in async_execute_cell self._check_raise_for_error(cell, exec_reply) File "/opt/anaconda3/lib/python3.8/site-packages/nbclient/client.py", line 740, in _check_raise_for_error raise CellExecutionError.from_cell_and_msg(cell, exec_reply['content']) nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell: ------------------ print_and_save('t_Ip_max', df_during_plasma.Ip.idxmax()) ------------------ --------------------------------------------------------------------------- AttributeError Traceback (most recent call last)  in  ----> 1 print_and_save('t_Ip_max', df_during_plasma.Ip.idxmax())  /opt/anaconda3/lib/python3.8/site-packages/pandas/core/generic.py in __getattr__(self, name)  5137 if self._info_axis._can_hold_identifiers_and_holds_name(name):  5138 return self[name] -> 5139 return object.__getattribute__(self, name)  5140   5141 def __setattr__(self, name: str, value) -> None: AttributeError: 'DataFrame' object has no attribute 'Ip' AttributeError: 'DataFrame' object has no attribute 'Ip'