Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/c17hawke/merge-multiple-jupyter-notebooks
This code is intended to merge multiple jupyter notebooks into one notebook. final notebook will also contain the parent file names
https://github.com/c17hawke/merge-multiple-jupyter-notebooks
Last synced: 23 days ago
JSON representation
This code is intended to merge multiple jupyter notebooks into one notebook. final notebook will also contain the parent file names
- Host: GitHub
- URL: https://github.com/c17hawke/merge-multiple-jupyter-notebooks
- Owner: c17hawke
- License: gpl-3.0
- Created: 2020-02-13T13:28:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-03-02T00:08:51.000Z (over 4 years ago)
- Last Synced: 2023-03-04T00:27:30.367Z (over 1 year ago)
- Language: Jupyter Notebook
- Homepage: https://c17hawke.github.io/Merge-multiple-jupyter-notebooks/
- Size: 227 KB
- Stars: 20
- Watchers: 2
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Merge-multiple-jupyter-notebooks
This code is intended to merge multiple jupyter notebooks into one notebook. final notebook will also contain the parent file names## Kindly follow below instructions -
**1.** Download mergeJupyterFiles.py or mergeJupyterFiles.ipynb**2.** Now place this downloaded.py file or ipynb file into a folder containing other jupyer notebooks
**3.** Now if you have copied .py file then use following command in terminal
```
python mergeJupyterFiles.py
```
[NOTE: make sure you are in the same location as this py file exists]
And in case you are using ipynb then you can directly run it in your jupyter notebook**4.** After completing step 4 you'll see a message of success and a baseFile.ipynb file will be created which is the merged file of all the files present inside a result folder
## Common advise for the best results -
**1.** In case of non existence of notebook you'll get the following error. Hence one should make sure that your target notebooks are present at the same loaction.
**2.** Make sure your notebooks contain ordered prefixes like file 01, file 02 etc in their names such that they can be arranged. This will help you to merge them serially. Some examples of file name are like -
* "Session 1.01 topicName", "Session 1.02 another topic Name"