Skip to content

Instantly share code, notes, and snippets.

Avatar

Isaac Virshup ivirshup

View GitHub Profile
View 01_scrape-dependent-packages-from-wheelodex.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivirshup
ivirshup / mmap_csr_sparse.ipynb
Last active Nov 8, 2022
Example code for reading from a memory mapped sparse array
View mmap_csr_sparse.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivirshup
ivirshup / cellxgenedp_example.ipynb
Last active Oct 12, 2022
Downloading an h5ad file from cellxgene API
View cellxgenedp_example.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivirshup
ivirshup / scverse-core_github-dependents.ipynb
Last active Oct 10, 2022
Notebook for getting scverse core packages dependents from github
View scverse-core_github-dependents.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivirshup
ivirshup / scverse-core_pypi-dependents.ipynb
Created Oct 10, 2022
Notebook for getting scverse core packages pypi dependents from wheelodex
View scverse-core_pypi-dependents.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivirshup
ivirshup / anndata_dask_df.py
Created Sep 2, 2022
anndata dataframe -> dask with columnar support
View anndata_dask_df.py
import copy
import dask.dataframe as dd
import dask.array as da
import dask
from dask.base import tokenize
from dask.dataframe.io.io import from_map
import pandas as pd, numpy as np, zarr
@ivirshup
ivirshup / jsscatter-citeseq.ipynb
Created May 24, 2022
jupyter-scatter + citeseq example
View jsscatter-citeseq.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivirshup
ivirshup / dependents.ipynb
Created May 11, 2022
Dependents of scverse packages
View dependents.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ivirshup
ivirshup / Full log
Created Jul 6, 2021
pynndescent 0.5.3 traceback
View Full log
This file has been truncated, but you can view the full file.
2021-07-06T06:22:38.2855413Z ##[section]Starting: PyTest
2021-07-06T06:22:38.2865170Z ==============================================================================
2021-07-06T06:22:38.2865487Z Task : Command line
2021-07-06T06:22:38.2866717Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2021-07-06T06:22:38.2867060Z Version : 2.182.0
2021-07-06T06:22:38.2867287Z Author : Microsoft Corporation
2021-07-06T06:22:38.2867638Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2021-07-06T06:22:38.2868015Z ==============================================================================
2021-07-06T06:22:39.2961314Z Generating script.
@ivirshup
ivirshup / example.py
Created Mar 7, 2021
tsne_nearest_neighbor_method
View example.py
import scanpy as sc
import numpy as np
from matplotlib import pyplot as plt
from openTSNE import TSNE
from itertools import product
pbmc = sc.datasets.pbmc3k_processed()
RANDOM_STATE = 1291321
keys = []