General data science codes