Skip to content

Instantly share code, notes, and snippets.

View Astr-o's full-sized avatar
😎
stargazing

Kroum Klutchkov Astr-o

😎
stargazing
  • Sydney, Australia
View GitHub Profile
@Astr-o
Astr-o / np-pandas-notes.md
Created April 7, 2018 07:42
Some notes and tricks for pandas and numpy

Numpy & Pandas Notes

Data Profiling Report

This is using the library pandas-profiling

install first

!pip install pandas-profiling

Basic vue project - Setup

vue project creation

using vue cli init basic template

vue init webpack-simple
npm i
npm i express body-parser
@Astr-o
Astr-o / prims.py
Last active June 20, 2023 17:53
Python implementation of Prims algorithm for complete undirected graphs
import random
import heapq
import time
#Prims Algorithm for a complete undirected graph
class Vertex:
""" Vertex class is used to represent individual vertices during search"""
def __init__(self, index, key, pi):
self.key = key
public class Triplet<T, K, V> {
private T i;
private K j;
private V k;
public Triplet(T i, K j, V k) {
this.i = i;
this.j = j;
this.k = k;