Giter Club home page Giter Club logo

data-analysis-with-polars's Introduction

This repository contains public notebooks and datasets to accompany my Data Analysis with Polars course on Udemy.

If you want to join me on the course please use this referral link for a 50% discount: https://www.udemy.com/course/data-analysis-with-polars/?couponCode=POLARS_HALF_PRICE

For a general introduction to Polars see this workshop I lead on youtube and the workshop materials in the notebooks/ml directory of this repository.

Notebooks

Introduction

  • intro/00-KeyConcepts.ipynb - an introduction to the big ideas behind Polars
  • intro/02-LazyPolarsIntro.ipynb - an introduction to lazy mode in Polars

Filtering rows

  • filtering_rows/02-SelectingRowsFilter.ipynb - a key lecture where we learn how to use the Expression API to filter rows in Polars

Time series

  • time_series/01-IntroTimeSeries.ipynb - the time series dtypes in Polars
  • time_series/02-TimeZones.ipynb - converting between time zones in Polars

Machine learning

  • ml/CatboostElectricityForecasting.ipynb - introductory notebook with a simple example of using Polars with Catboost to forecast electricity demand

Want to know more about Polars for high performance data science and ML? Then you can:

Installation instructions

Binder

I recommend cloning the repository and runnng the notebooks locally on your computer. However, you can run the notebooks interactively using binder by clicking the following link:

Binder

Docker

I run the code using docker. If you have docker installed then you:

Install with pip

Mac OS

  • Run the pip-deploy.sh script
  • Activate the virtual environment with source course_env/bin/activate
  • Confirm the virtual environment is activated with which python. The output should end with course_env/bin/python
  • Start the Jupyter notebooks with jupyter lab. This will either open the notebook in your browser or print a URL that you can use to open the notebook in your browser
  • Check your installation by opening notebooks/TestInstallation.ipynb

Windows

  • Open powershell in this directory
  • Run the powershell script create-course-environment.ps1
  • Run the powershell script activate-course-environment.ps1
  • Confirm that the virtual environment is working: it should say course_env at the start of your powershell prompt
  • Run: jupyter lab
  • Check your installation by opening notebooks/TestInstallation.ipynb

data-analysis-with-polars's People

Contributors

braaannigan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.