Answering questions Stack Overflow, I use the same ipython notebook, which makes its easier to search previously given answers.
The notebook is starting to slow down. The question I have is: How do I count the numbers of cells in the notebook?
For example:
import json
document = json.load(open(filepath,'r'))
for worksheet in document['worksheets']:
print len(worksheet['cells'])
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With