I am trying to convert a Jupyter notebook to a python file using nbconvert command. There is a cell having Python code which I want it to skip while converting. I tried few solutions including adding remove_cell tag to the one that has to be skipped:
"jupyter nbconvert <notebook_path> --TagRemovePreprocessor.enabled=True --TagRemovePreprocessor.remove_cell_tags=\"['remove_cell']\" --to script
But it did not work. Please let me know if this can be done through nbconvert.