The command with nbconvert i.e:
$ jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb
converts ipython to .py file but my python file output is something like this:
# In[1]:
import pandas as pd
# In[2]:
data = pd.read_csv('train.csv')
d2 = pd.read_csv('test.csv')
I don't want the In[1]or In[2] lines at all. Is there any solution for this