Python

<< All Posts
How to check the accuracy of your classification model

How to check the accuracy of your classification model

Introduction to accuracy score, confusion matrix, and F1-score.

How to build a decision tree model with scikit-learn

How to build a decision tree model with scikit-learn

A step-by-step guide to building a classification model with scikit-learn.

How to split your data into train and test sets

How to split your data into train and test sets

Get confidence your model works by testing on a test set.

How to encode categorical variables ready for machine learning

How to encode categorical variables ready for machine learning

Find out how to deal with categorical variables when using machine learning.

How to write a Pandas dataframe to an SQLite table

How to write a Pandas dataframe to an SQLite table

Use SQLite to create a permanent copy of your dataframe.

How to combine Python Lists Into a Pandas Dataframe

How to combine Python Lists Into a Pandas Dataframe

Lists are useful, but they are not easy to analyze.

Exporting Multiple Pandas Dataframes to Excel

Exporting Multiple Pandas Dataframes to Excel

Getting dataframes into Excel can be a bit trickier than expected.

Ryanair - a Love-hate Relationship

Ryanair - a Love-hate Relationship

What insights can we get by analysing customer reviews?

Scraping Trustpilot Reviews with Python

Scraping Trustpilot Reviews with Python

Use the Beautiful Soup package for HTML scraping.

How to Join DataFrames with PySpark

How to Join DataFrames with PySpark

Learn how to use the join() DataFrame method

How to Aggregate Data with PySpark

How to Aggregate Data with PySpark

Learn how to group your data and create summaries in PySpark

How to Query Data with PySpark

How to Query Data with PySpark

Learn the basics of selecting columns as well as filtering rows