This is using the library pandas-profiling
install first
!pip install pandas-profiling| npm i express body-parser |
| 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; |