Marcello Dichiera | Data Science | Analytics | Code Snippets













Code Snippets Repository

A collection of snippets you can use. Feel free to copy paste directly on your projects.

Combine multiple excel sheets of the same file in one dataframe and save it as .csv

Extract the year from a date data In pandas

Quantifying Missing data with charts

Pandas Map function to provide labels to categorical/text labels

Dataclass boilerplate

Function to find boundaries for outliers

Printing, listing and counting the numerical or categorical features in a dataset Pandas

Quantifying cardinality In datasets

Utility: Preprocessing text w/ Spacy