Skip to content

Instantly share code, notes, and snippets.

View ledmaster's full-sized avatar

Mario Filho ledmaster

View GitHub Profile
@ledmaster
ledmaster / MultipleTimeSeriesForecasting.ipynb
Last active September 24, 2024 15:14
How To Predict Multiple Time Series With Scikit-Learn (With a Sales Forecasting Example)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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)