Skip to content

Instantly share code, notes, and snippets.

Avatar

Marcos Alfredo Núñez marnunez

  • FLENI
  • FLENI Escobar, Provincia de Buenos Aires, Argentina
View GitHub Profile
View deku_naivetime.rs
use chrono::NaiveDateTime;
use deku::{
bitvec::{BitSlice, BitVec, BitView, Msb0},
prelude::*,
};
#[derive(Debug)]
pub struct TimeT(NaiveDateTime);
impl<'a> DekuRead<'a> for TimeT {
@marnunez
marnunez / Normality.py
Last active February 14, 2020 08:19
Normality assessment tools
View Normality.py
from scipy.stats import shapiro, normaltest, anderson, norm
from statsmodels.graphics.gofplots import qqplot
import seaborn as sns
from colorama import Fore
import matplotlib.pyplot as plt
import numpy as np
sns.set(color_codes=True)
def check_shapiro(data, alpha=0.05):