Skip to content

Instantly share code, notes, and snippets.

View ledmaster's full-sized avatar

Mario Filho ledmaster

View GitHub Profile
@ledmaster
ledmaster / jupyter_namer.py
Created May 12, 2023 17:10
No more "Untitled12-final-final.ipynb"! A python script that ingests Jupyter Notebook cells and comes up with 10 relevant names to give it.
# No more "Untitled12-final-final.ipynb"!
# A python script that ingests Jupyter Notebook cells and comes up with 10 relevant names to give it.
import nbformat
import openai
import argparse
def extract_cell_contents(notebook_path):
with open(notebook_path, "r", encoding="utf-8") as f:
notebook = nbformat.read(f, nbformat.NO_CONVERT)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ledmaster
ledmaster / MultipleTimeSeriesForecasting.ipynb
Last active April 28, 2024 20:20
How To Predict Multiple Time Series With Scikit-Learn (With a Sales Forecasting Example)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.