datagy
datagy
  • 38
  • 317 449
Polars (but FASTER!) - Using Nvidia cuDF with Polars for INSANE speeds!
Nvidia just dropped their new cuDF Polars integration for massive speed savings! With a 10GB+ file, you can expect 13x speed improvements!
To install this version of Polars, run the following command:
pip install polars[gpu] --extra-index-url=pypi.nvidia.com
Let me know if you'd like to see more Polars content in the comments below!
0:00 Introduction
1:08 Downloading data
3:15 Getting size of data
4:18 Running simple analysis
5:45 Running a groupby in Polars
6:55 Interoperability with CPU DataFrames
มุมมอง: 192

วีดีโอ

Build YOUR OWN Weather App in Python with Flask (COMPLETE Beginner Tutorial)
มุมมอง 10Kปีที่แล้ว
Are you ready to unlock the power of Python and Flask to create an incredible weather web app? Look no further! In this step-by-step tutorial, I'll walk you through the process of building a fully-functional, responsive weather app using the Flask framework, OpenWeatherMap API, and Bootstrap for stylish and modern user interface design. In this comprehensive guide, you'll learn how to: 1. Set u...
Calculate Correlation in Python and Create a Correlation Matrix in Seaborn!
มุมมอง 14K2 ปีที่แล้ว
Learn how to create a correlation matrix and how to visualize it using Seaborn! 0:00 Understanding Correlation 2:00 Calculating Correlation in Pandas 4:35 Visualizing a Correlation Matrix Heatmap in Seaborn 10:00 Filtering a Correlation Matrix in Pandas ✅ Follow me on other platforms: Website: datagy.io Twitter: DatagyIo Mailing List: mailchi.mp/f6a58f2d73d0/datag... (and get a FREE...
ANIMATE Your Python Graphs with Matplotlib!
มุมมอง 11K2 ปีที่แล้ว
Learn how to create animated graphs in Python with Matplotlib, by animating a beautiful population pyramid! Population data for the tutorial: raw.githubusercontent.com/datagy/mediumdata/master/populations.csv 0:00 What You'll Create 2:00 Cleaning Data for Plotting 7:40 Creating a Base Visualization 16:20 Making a Prettier Matplotlib Graph 19:00 Animating a Matplotlib Graph in Python ✅ Follow me...
Create AMAZING Maps with Python! (GeoPandas Tutorial for Choropleth Maps)
มุมมอง 22K2 ปีที่แล้ว
Learn how to create beautiful, informational maps in Python with Pandas, GeoPandas, and Matplotlib! You'll learn how to map USA states and their population changes. 0:00 How to Create Maps in Python 2:30 Loading and Exploring Data 7:30 Creating a Map in Python with Geopandas 19:40 Customizing a Choropleth Map in Python Shapefiles: www.census.gov/geographies/mapping-files/time-series/geo/carto-b...
How to Generate Random and Fake Data in Python - Create Mock Datasets!
มุมมอง 3.7K2 ปีที่แล้ว
Learn how to create random and fake data in Python, including how to create mock datasets with Python, random, faker, and Pandas! 0:00 Generate Random Values in Python 4:46 Generate Normal (Gaussian) Distribution in Python 6:52 Choosing Random Values in Python 8:56 Reproducing Random Values in Python 10:07 Generate a Mock Dataset in Python 13:20 Using Faker in Python to Generate Fake Data ✅ Fol...
Style Python Pandas DataFrames! (Conditional Formatting, Color Bars and more!)
มุมมอง 20K2 ปีที่แล้ว
Learn how to add style to your Pandas DataFrames, including formatting cells, conditional formatting in color, and applying bars to cells. Written tutorial: datagy.io/pandas-style/ 0:00 Introduction 0:58 Loading DataFrame 2:00 Applying Cell Styles 6:20 Conditional Formatting in Python Pandas 15:25 Applying Colormaps (Heat Maps) in Pandas 17:38 Adding Bars to Pandas DataFrame 21:49 Exporting and...
Python Filter Function - Intermediate Python Tutorial
มุมมอง 2.7K2 ปีที่แล้ว
Learn how to use the powerful Python filter() Function to filter lists, tuples, dictionaries, and more! Want a written a tutorial instead? Check out the tutorial here: datagy.io/python-filter/ 0:00 Introduction 0:13 Python filter() Function 1:20 Filtering Lists with a For Loop 2:45 Filtering Lists with the Filter() Function 5:37 Using Python Filter() With Lambda Functions 6:42 Practical Example...
Python Map Function
มุมมอง 5K2 ปีที่แล้ว
Learn how to use the Python map() function to apply a function to every value in an iterable, such as a list. Check out the written tutorial here: datagy.io/python-map/ 0:00 Introduction 0:47 Apply a Function to a Python List with a For Loop 2:20 Python map() Function Explained 4:07 Using User-Defined Functions with Python map() 5:42 Using Lambda Functions with Python map() 6:45 Using Multiple ...
Automate Excel Reporting with Python! Combine Workbooks and Add Charts with Pandas and Openpyxl
มุมมอง 4.8K2 ปีที่แล้ว
Learn how to automate boring Excel reporting with Python, by combining workbooks, adding styles, and adding a chart! Learn how to use the Pandas and Openpyxl libraries in this hands-on tutorial. Download the files here: github.com/datagy/mediumdata/blob/master/Excel Files.zip 0:00 Introduction 0:19 Overview 0:59 Installing and Importing Libraries 2:20 Combine Multiple Excel Workbooks with Pytho...
Python Collections Library OrderedDict - Intermediate Python Tutorial
มุมมอง 8012 ปีที่แล้ว
Learn how to use the Python Collections OrderedDict to give your dictionaries some order! The collections module provides useful functions and classes to make working with data collections easier and more intuitive. ✅ Check out my FREE 30-day Python course: datagy.io/learn-python-in-30-days/ 0:00 Introductions 0:28 All Python Dictionaries are Ordered 0:45 Why OrderedDict Still Matters 1:24 Crea...
Python Collections Library deque - Intermediate Python Tutorial
มุมมอง 9872 ปีที่แล้ว
Learn how to use the Python Collections deque to make managing double-ended lists easier! The collections module provides useful functions and classes to make working with data collections easier and more intuitive. ✅ Check out my FREE 30-day Python course: datagy.io/learn-python-in-30-days/ 0:00 Introductions 1:05 What are Deques in Python 1:50 Comparing Python Lists to Deques 3:08 Creating an...
Python Collections Library defaultdict - Intermediate Python Tutorial
มุมมอง 1.6K2 ปีที่แล้ว
Learn how to use the Python Collections defaultdict to make creating dictionaries easier! The collections module provides useful functions and classes to make working with data collections easier and more intuitive. ✅ Check out my FREE 30-day Python course: datagy.io/learn-python-in-30-days/ 0:00 Introductions and what you’ll learn 0:45 Python Collections defaultdict Overview 2:30 Working with ...
Python Collections Library namedtuple - Intermediate Python Tutorial
มุมมอง 6012 ปีที่แล้ว
Learn how to use the Python Collections namedtuple to write cleaner and safer code! The collections module provides useful functions and classes to make working with data collections easier and more intuitive. ✅ Check out my FREE 30-day Python course: datagy.io/learn-python-in-30-days/ 0:00 Introductions and what you’ll learn 0:40 Exploring Regular Python Tuples and Challenges 4:00 Working with...
Python Collections Library Counter Counting Objects with Python
มุมมอง 2.7K2 ปีที่แล้ว
Learn how to use the Python Collections Counter class to make counting objects in Python easier! The collections module provides useful functions and classes to make working with data collections easier and more intuitive. ✅ Check out my FREE 30-day Python course: datagy.io/learn-python-in-30-days/ 0:00 Introductions and what you’ll learn 0:30 What is Collections Counter in Python 2:04 Counting...
Pandas Conditional Columns: Set Pandas Conditional Column Based on Values of Another Column
มุมมอง 36K2 ปีที่แล้ว
Pandas Conditional Columns: Set Pandas Conditional Column Based on Values of Another Column
Python Seaborn Scatterplot Tutorial | Python Data Visualization Tutorial | Color, Marker and Size!
มุมมอง 5K3 ปีที่แล้ว
Python Seaborn Scatterplot Tutorial | Python Data Visualization Tutorial | Color, Marker and Size!
Automate with Python: Rename and Organize Your Files with Python - Python Sort Files
มุมมอง 14K3 ปีที่แล้ว
Automate with Python: Rename and Organize Your Files with Python - Python Sort Files
Bar Charts in Python & Matplotlib Tutorial - Grouped Bar Plots, Horizontal Bars and Stacked Bar Plot
มุมมอง 3.7K3 ปีที่แล้ว
Bar Charts in Python & Matplotlib Tutorial - Grouped Bar Plots, Horizontal Bars and Stacked Bar Plot
Python Excel Automation #1 - Consolidate Excel Workbooks, Python Pivot Tables, and Excel Charts
มุมมอง 4K3 ปีที่แล้ว
Python Excel Automation #1 - Consolidate Excel Workbooks, Python Pivot Tables, and Excel Charts
Python f-strings | String Formatting | Conditions in f-strings | Python Debugging | Advanced Strings
มุมมอง 6K3 ปีที่แล้ว
Python f-strings | String Formatting | Conditions in f-strings | Python Debugging | Advanced Strings
Pandas Unique Values | Python Pandas Tutorial #11 | Pandas Unique and Nunique Functions
มุมมอง 11K4 ปีที่แล้ว
Pandas Unique Values | Python Pandas Tutorial #11 | Pandas Unique and Nunique Functions
Pandas Value_Counts Function | Python Pandas Tutorial #10 | Create Frequency Tables with Percentages
มุมมอง 7K4 ปีที่แล้ว
Pandas Value_Counts Function | Python Pandas Tutorial #10 | Create Frequency Tables with Percentages
Pandas Merge Function | Python Pandas Tutorial #9 | Merge dataframes in Pandas, SQL-Joins in Pandas
มุมมอง 1.6K4 ปีที่แล้ว
Pandas Merge Function | Python Pandas Tutorial #9 | Merge dataframes in Pandas, SQL-Joins in Pandas
Create Columns in Pandas | Python Pandas Tutorial # 8 | Add, Subtract Columns | Text to Columns
มุมมอง 6K4 ปีที่แล้ว
Create Columns in Pandas | Python Pandas Tutorial # 8 | Add, Subtract Columns | Text to Columns
Moving Average (Rolling Average) in Pandas and Python - Set Window Size, Change Center of Data
มุมมอง 22K4 ปีที่แล้ว
Moving Average (Rolling Average) in Pandas and Python - Set Window Size, Change Center of Data
Histogram in Python - Matplotlib Tutorial - Pandas Tutorial - Define bins, add style, log scale
มุมมอง 12K4 ปีที่แล้ว
Histogram in Python - Matplotlib Tutorial - Pandas Tutorial - Define bins, add style, log scale
Pandas Crosstab Tutorial | Python Pandas Tutorial #7 | Aggfunc, Margins, Normalize Data
มุมมอง 9K4 ปีที่แล้ว
Pandas Crosstab Tutorial | Python Pandas Tutorial #7 | Aggfunc, Margins, Normalize Data
Pandas Missing Values | Python Pandas Tutorial #6 | Pandas Dropna, Fillna, Impute Missing Values
มุมมอง 1.8K4 ปีที่แล้ว
Pandas Missing Values | Python Pandas Tutorial #6 | Pandas Dropna, Fillna, Impute Missing Values
Sort Pandas Dataframes | Python Pandas Tutorial #5 | Sort Pandas Columns Ascending, Descending
มุมมอง 3.2K4 ปีที่แล้ว
Sort Pandas Dataframes | Python Pandas Tutorial #5 | Sort Pandas Columns Ascending, Descending

ความคิดเห็น

  • @Alias.Nicht.Verfügbar
    @Alias.Nicht.Verfügbar 11 วันที่ผ่านมา

    thanks a lot!

  • @amirahmadi3025
    @amirahmadi3025 2 หลายเดือนก่อน

    very useful. tnx

  • @ganderamu5138
    @ganderamu5138 2 หลายเดือนก่อน

    Im getting additional information in while finding unique values for a column in dataset how to fix this

  • @TheDinnyextra
    @TheDinnyextra 2 หลายเดือนก่อน

    I am new to matplotlib and this video helped a lot with my very first project. Thank you datagy for making programming less scary! :) One question though, how can I rotate the text on the x axis?

  • @studyacc1234
    @studyacc1234 2 หลายเดือนก่อน

    you absolutely slayed with this tutorial!

    • @datagy
      @datagy 2 หลายเดือนก่อน

      Thanks so much!!

  • @festusmuldoon
    @festusmuldoon 3 หลายเดือนก่อน

    my dict is the defaultdict

  • @AmineGM73
    @AmineGM73 3 หลายเดือนก่อน

    Ver nice tutorial i have been looking for that!!!

  • @justinli7052
    @justinli7052 3 หลายเดือนก่อน

    very helpful, thank you

  • @BEE_MILINDGUPTA
    @BEE_MILINDGUPTA 3 หลายเดือนก่อน

    If you getting error while executing the line df.corr() it is probably due to the new version of python in this we need to give only numeric value so instead execute the below line df.corr(numeric_only=True)

    • @rupammitra5010
      @rupammitra5010 3 หลายเดือนก่อน

      Thank you ......😊😊😊 you are Godsent

    • @ezraonyinkwa9826
      @ezraonyinkwa9826 3 หลายเดือนก่อน

      how do you do it

  • @Randomstuff-uw8uc
    @Randomstuff-uw8uc 3 หลายเดือนก่อน

    i still didn't understand bins like what are bins??

    • @datagy
      @datagy 3 หลายเดือนก่อน

      Each bin is a range of values, say 0-5 or 6-10. If you have a value of 1, it’ll fall into that first bin and get counted once. The histogram then shows how many records fall into each range of values (the bins).

  • @HaHung-lw1rx
    @HaHung-lw1rx 4 หลายเดือนก่อน

    how to fix it in app.py? Please give me instrustion File "d:\Python\WeatherApp_Flask\app.py", line 6, in <module> @app.route('/', methods) ^^^^^^^ NameError: name 'methods' is not defined

  • @19AKS58
    @19AKS58 5 หลายเดือนก่อน

    There are SO many, quite frankly TOO many instructional videos, and they are tedious, too long, and unclear, but YOURS is EXACTLY on point

    • @datagy
      @datagy 5 หลายเดือนก่อน

      Thank you so much! I really appreciate it.

  • @SamaAdhikari-z6z
    @SamaAdhikari-z6z 5 หลายเดือนก่อน

    How do i make a map of a different country?

  • @9Soraa
    @9Soraa 5 หลายเดือนก่อน

    wow am subscribe right now

  • @hashemrashidi1277
    @hashemrashidi1277 5 หลายเดือนก่อน

    Guys he is the best and simplest , best one seriously , just trust and watch till the end .

  • @Planetknowledge555
    @Planetknowledge555 5 หลายเดือนก่อน

    Excellent

  • @IrfanN02
    @IrfanN02 6 หลายเดือนก่อน

    you're the best!!! thank you

  • @WildRover1964
    @WildRover1964 6 หลายเดือนก่อน

    Hey you're good! Learnt a few good things here

    • @datagy
      @datagy 6 หลายเดือนก่อน

      Thanks so much!

    • @WildRover1964
      @WildRover1964 6 หลายเดือนก่อน

      @@datagy glad you're still reading. I just discovered you. You dont seem to have posted anything for a year.

    • @datagy
      @datagy 6 หลายเดือนก่อน

      @WildRover1964 I hope to do a few videos soon! And hopefully get back into a rhythm with it!

  • @SACHCHIDANAND-fi3vv
    @SACHCHIDANAND-fi3vv 6 หลายเดือนก่อน

    thanks for the tut, it is so useful and finally I made my first project

  • @karolyna6028
    @karolyna6028 6 หลายเดือนก่อน

    nice!

  • @automatewithamit
    @automatewithamit 6 หลายเดือนก่อน

    Thanks for your Video ! Can you please let me know if we can put those collapse and expand functionality in actually generated pivot table in excel using python ??

  • @laminesahraoui9548
    @laminesahraoui9548 7 หลายเดือนก่อน

    thanks

  • @aalb1970
    @aalb1970 7 หลายเดือนก่อน

    Challenge solution: df.iloc[df.ShareWomen.argmax(), 0:8] Returns all column values for the highest share of women

    • @aalb1970
      @aalb1970 7 หลายเดือนก่อน

      Or write a simple function: a = df.iloc[df.ShareWomen.argmax(),3] b = df.iloc[df.ShareWomen.argmax(),7] print(f" Category: {a} , Women share: {b}")

  • @aalb1970
    @aalb1970 7 หลายเดือนก่อน

    len(df) doesn't work. TypeError: 'DataFrame' object is not callable

    • @aalb1970
      @aalb1970 7 หลายเดือนก่อน

      Nevermind. It worked when I quit Jupyter notebook and reloaded the notebook.

  • @aalb1970
    @aalb1970 7 หลายเดือนก่อน

    Can you define normalize separately for rows and columns, say I want numbers in the columns total and percentages in the row totals?

  • @victormadoya1354
    @victormadoya1354 8 หลายเดือนก่อน

    HI, what if you want to create a similar function with takes 2 values? such that the 2 values will be 2 columns rather than using one column. The def function to take 2 columns instead of one, then use apply function

  • @ojasvi828
    @ojasvi828 8 หลายเดือนก่อน

    how to label select points using data?

  • @chriskeo392
    @chriskeo392 8 หลายเดือนก่อน

    This styling passes into csv and excel files?

    • @datagy
      @datagy 8 หลายเดือนก่อน

      Unfortunately not! For that, you can use other libraries like openpyxl :)

  • @mbaykal26
    @mbaykal26 8 หลายเดือนก่อน

    Great content, thank you for this contribution!

  • @farhanashaheen1380
    @farhanashaheen1380 9 หลายเดือนก่อน

    Thank you so much!

  • @munivoltarc
    @munivoltarc 9 หลายเดือนก่อน

    hi, great work, explaining subject so easily to all, wondaful work, keep it up, could you explain OHLCV data, apply, map functions, user defined functions to to find the trend on the High, Low columns, to get buy signals and sell signals by not using any price lagging indicators.

  • @munivoltarc
    @munivoltarc 9 หลายเดือนก่อน

    Hi, you are doing awesomely work, explaining subject so easily to all, wondaful work, keep it up, could you explain OHLCV data, apply, map functions, user defined functions to to find the trend on the High, Low columns, to get buy signals and sell signals by not using any price lagging indicators.

  • @darrena3080
    @darrena3080 9 หลายเดือนก่อน

    This is exactly what ive been struggling with for these past couple of weeks.Im teaching myself data analytics and this video is making things so much better

    • @datagy
      @datagy 9 หลายเดือนก่อน

      Thanks so much!!

  • @srabbee
    @srabbee 9 หลายเดือนก่อน

    7:18 ... The population growth rate math has a mistake. It should be (pop 21 - pop 20)) / pop 20. Currently it devides by pop 21.

  • @acesovernines
    @acesovernines 10 หลายเดือนก่อน

    Succinct and super effective. Thank you so much

    • @datagy
      @datagy 9 หลายเดือนก่อน

      Thanks so much!

  • @gayanath009
    @gayanath009 10 หลายเดือนก่อน

    Amazing Stuff , was looking for the same since some days and you are a true star, Thank you so much

    • @datagy
      @datagy 10 หลายเดือนก่อน

      Thanks so much!!

  • @joaopedrogreif1033
    @joaopedrogreif1033 10 หลายเดือนก่อน

    Can we set clean transitions on this jinja data returns??

  • @sudhabaskaran5954
    @sudhabaskaran5954 10 หลายเดือนก่อน

    This is awesome, very detailed explanation. How can we bring the city lines inside the map?

  • @MachineLearningPro
    @MachineLearningPro 10 หลายเดือนก่อน

    Great video! Take a look at my Pandas tutorial if you want.

  • @elhabibbirouk9722
    @elhabibbirouk9722 10 หลายเดือนก่อน

    I think you should divide by population of 2020 to measure the variation. Still very instructive

  • @CAROLUK
    @CAROLUK 10 หลายเดือนก่อน

    Thank you for making this video. I finally understand how to do groupby. I have a question related to “agg”. Why did you apply numpy with aggregation functions?

    • @datagy
      @datagy 10 หลายเดือนก่อน

      Great question! That was just to show that you can use different functions inside of agg. You can even use custom ones!

  • @Zenoandturtle
    @Zenoandturtle 10 หลายเดือนก่อน

    Great presntation. I am building a trading bot using algorythm that deals with conditional columns (candlestick lengths of previous columbs) This is the video I was looking for. Thanks for the vid. Very clear and informative. Exactly what I was looking for.

  • @paddymullen762
    @paddymullen762 11 หลายเดือนก่อน

    It's nice to know the basics, but as an experienced user I got tired of typing the same things over and over... So I built the open source buckaroo data table so you never have to look up pd.set_option again. Take a look, it has sortable columns, summary stats, histograms, and a performant table built in. It works in Jupyter with pandas and polars. Try it with "pip install buckaroo" then import buckaroo #buckaroo becomes the default display method for dataframes in Jupyter

  • @scaradia5787
    @scaradia5787 11 หลายเดือนก่อน

    Great video! Thank you!

  • @permadidluve
    @permadidluve ปีที่แล้ว

    I really did enjoy this video and tutorial.. I will keep looking for the video I meant to learn in this channel afterward. THANK YOU VERY MUCH

  • @rajanadar3835
    @rajanadar3835 ปีที่แล้ว

    still confused why this video is having so less likes, you have cleared the map function in a short and much clear video , nice work bro

    • @datagy
      @datagy ปีที่แล้ว

      Thanks so much!!

  • @amandaedmonds962
    @amandaedmonds962 ปีที่แล้ว

    I was banging my head trying to figure out how to make a correlation matrix and heatmap with plotly...your solution was much simpler and worked perfectly for me. You're a God send, thank you!!

  • @MaximusFestus
    @MaximusFestus ปีที่แล้ว

    Great tutorial, thanks

    • @datagy
      @datagy ปีที่แล้ว

      Thanks so much!

  • @leagueofstealth3747
    @leagueofstealth3747 ปีที่แล้ว

    The Toronto ON and Canada values are hard coded hence this code doesn't work for any other cities

    • @datagy
      @datagy ปีที่แล้ว

      Ah shoot! Thanks for pointing that out!

    • @Bracket-oh7wr
      @Bracket-oh7wr 8 หลายเดือนก่อน

      @@datagy how to fix that?

  • @PriyaDharshini-px5ku
    @PriyaDharshini-px5ku ปีที่แล้ว

    this is awesome very interesting thanks for teaching🙂🙂

    • @datagy
      @datagy ปีที่แล้ว

      Thanks so much!!