on-nix/python

How to get a basic exploratory data analysis build

Closed this issue · 1 comments

I'm having trouble with jupyter. I'm not even trying to do serious numerics, just basic data viz.

let
  pythonOnNix = import
    (builtins.fetchGit {
      # Use `main` branch or a commit from this list:
      # https://github.com/on-nix/python/commits/main
      ref = "8afcf754a19b59200f3b3e006e90d4a297e08a7e";
      url = "https://github.com/on-nix/python";
    })
    {
      # You can override `nixpkgs` here,
      # or set to `null` to use one bundled with Python on Nix
      # nixpkgs = import <nixpkgs> { };
    };
in (pythonOnNix.python39Env {
  name = "env analytics";
  projects = {
    pandas = "latest";
    numpy = "latest";
    altair = "latest";
    seaborn = "latest";
    matplotlib = "latest";
    jupyter-core = "latest";
    jupyter-client = "latest";
    jupyterlab-widgets = "latest"; 
  };
}).dev

A ctrl-f jupyter on python.on-nix.com reveals a few packages, but doesn't reveal jupyterlab. It looks like on jupyter.org they're getting people into lab primarily and not into notebook.

Closing in favor of #21