'csv export failing when executing jupyter notebook from command line
I have a jupyter notebook that i am executing from command line using
jupyter run Anomaly.ipynb
now in my notebook i am exporting the dataframe as csv
df.to_csv('exceptions.csv')
Query- when I run the notebook from browser it exports the csv file in the folder but when I run the notebook from command line it does not exports the file
Solution 1:[1]
changed my execution command to and it worked
runipy Anomaly.ipynb
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ashish Pandey |
