jupyter-cell-index-resetter

🧹 A PowerShell script used to reset a Jupyter notebook's execution cell indexes, making them increase from 1.(用于从1递增重置Jupyter Notebook执行单元编号的PowerShell脚本。)

https://github.com/zhuagenborn/jupyter-cell-index-resetter

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.7%) to scientific vocabulary

Keywords

jupyter-notebook
Last synced: 6 months ago · JSON representation ·

Repository

🧹 A PowerShell script used to reset a Jupyter notebook's execution cell indexes, making them increase from 1.(用于从1递增重置Jupyter Notebook执行单元编号的PowerShell脚本。)

Basic Info
  • Host: GitHub
  • Owner: Zhuagenborn
  • License: mit
  • Language: PowerShell
  • Default Branch: main
  • Homepage:
  • Size: 68.4 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
jupyter-notebook
Created almost 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

Jupyter Cell Index Resetter

PowerShell Jupyter License

Introduction

Cover

This script can reset a Jupyter notebook's execution cell indexes, making them increase from 1.

Usage

You need to specify an original Jupyter file and an output path.

console PS> .\Reset-JupyterCellIndex.ps1 -InputPath 'origin.ipynb' -OutputPath 'new.ipynb'

Warning

Variable values in cells may be different according to execution order. Users should make sure variables are correct by themselves.

console In [2]: a = 1

console In [1]: a = 0

console In [3]: a Out [3]: 1

For example, the above cells will become the following content after resetting:

console In [1]: a = 1

console In [2]: a = 0

console In [3]: a Out [3]: 1

The output of variable a is incorrect according to the new execution order.

License

Distributed under the MIT License. See LICENSE for more information.

Owner

  • Name: Zhuagenborn
  • Login: Zhuagenborn
  • Kind: organization
  • Location: Ireland

Software Development | Artificial Intelligence | Reverse Engineering.

Citation (CITATION.cff)

cff-version: 1.2.0
authors:
- family-names: Chen
  given-names: Zhenshuo
  orcid: https://orcid.org/0000-0003-2091-4160
title: Jupyter Cell Index Resetter
date-released: 2022-11-05
url: https://github.com/Zhuagenborn/Jupyter-Cell-Index-Resetter

GitHub Events

Total
Last Year

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 4
  • Total Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Chenzs108 c****8@o****m 4

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels