The ML Mine
The ML Mine
  • Видео 51
  • Просмотров 40 390
Python matplotlib tutorial | Part - 4 | Box Plots
This video is Part 4 of the series on Python Matplotlib tutorial. It will cover box plots, both from the perspective of matplotlib and seaborn library.
We will discuss how to plot vertical and horizontal box plots, while changing various options related to box, whiskers, fliers, and caps. This will help you directly compare the methods available in both matplotlib plotly and seaborn library
Important Links:
- Titanic data (csv file)
drive.google.com/file/d/1ir91gM8ILYhJvNGpaQYwJdN5ReG3NNSI/view?usp=sharing
- Google Colab script
drive.google.com/file/d/17YXWuJyi8i7mAt3w80ETm-Wg-IzTB1fM/view?usp=sharing
- Types of pre-defined color palettes
seaborn.pydata.org/generated/seaborn.color_palette.html
- ...
Просмотров: 184

Видео

SQL Interview questions | Data Analyst | Part - 5
Просмотров 8202 месяца назад
This video is the fifth part of our series on SQL interview questions and answers. This series is specifically designed for people targeting jobs as data analysts, data scientists, data engineers, and business analysts. In this video, I have explained how to get the organization hierarchy in two steps 1) Finding the managers of all the employees using self_join() 2) Doing the first step but in ...
Boxplots explained | Everything you need to know for data visualization
Просмотров 1472 месяца назад
This video precisely explains boxplots and how to construct them from any given data. Later, we cover useful tips like detecting outliers, interpreting distribution using box length, measuring the skewness for asymmetric distribution, and so on, to gain insights into our data distribution. Instagram: the_ml_mine Timestamps: 00:00 Intro 00:29 Boxplot construction 04:07 Boxplot as ...
Python matplotlib tutorial | Part - 3 | Bar Charts
Просмотров 4643 месяца назад
This video is Part 3 of the series on Python matplotlib tutorial. This video will cover bar charts, one of the many important plots available in matplotlib. We will discuss how to plot vertical bar plots, horizontal bar plots, stacked bar plots (horizontally), stacked bar plots (vertically), proportionally stacked bar plots - Sales data (csv file): drive.google.com/file/d/1MwrzicM9C12X6BzTXHqe-...
Python matplotlib tutorial | Part - 2 | Subplots
Просмотров 2423 месяца назад
This video is Part 2 of the series on Python matplotlib tutorial. In this video, you will gain a deeper understanding of the plots generated in matplotlib. You will learn about figure and axes objects and how we can use them to plot multiple plots using subplots. We will also see how we can explicitly create these objects to handle multiple plots and figures at the same time. Link to Google Col...
Python matplotlib tutorial | Part - 1 | Basic plot formatting
Просмотров 1,7 тыс.4 месяца назад
This video is Part 1 of the series on Python matplotlib tutorial. In this video, you will learn to plot your first basic plot using lists and pandas dataframe as input data. We also discuss the anatomy of a typical figure i.e. the components in a figure that are required to convey information while plotting the results, for instance, title, grids, legend, etc. In the end, you will also learn ho...
SQL Interview questions | Data Analyst | Part - 4
Просмотров 3,1 тыс.4 месяца назад
This video is the fourth part of our series on SQL interview questions and answers. This series is specifically designed for people targeting jobs as data analysts, data scientists, data engineers, and business analysts. In this video, I have explained how to delete duplicate entries in our database using two types of methods 1) Fetch unique values using the DISTINCT keyword and store the outpu...
SQL Interview questions | Data Analyst | Part - 3
Просмотров 4,9 тыс.4 месяца назад
This video is the third part of our series on SQL interview questions and answers. This series is specifically designed for people targeting jobs as data analysts, data scientists, data engineers, and business analysts. In this video, I have explained how to delete duplicate entries in our database using two types of methods 1) Finding the duplicates and deleting the entries 2) Finding the entr...
SQL Interview questions | Data Analyst | Part - 2
Просмотров 4 тыс.4 месяца назад
This video is the second part of our series on SQL interview questions and answers. This series is specifically designed for people targeting jobs as data analysts, data scientists, data engineers, and business analysts. In this video, I have explained how to use the RANK() OVER PARTITION() function to find the second highest-selling product in each category. Use the below the commands to creat...
SQL Interview questions | Data Analyst | Part - 1
Просмотров 8 тыс.4 месяца назад
This video is the first part of our series on SQL interview questions and answers. This series is specifically designed for people targeting jobs as data analysts, data scientists, data engineers, and business analysts. In this video, I have explained two methods to solve the given question using MySQL workbench. Use the below the commands to create your own database and table: CREATE DATABASE ...
Python Pandas tutorial | Data analysis | Part - 2
Просмотров 2,1 тыс.4 месяца назад
This video is Part 2 of the series on Python pandas tutorial. In this video, you will learn to read/write data from a CSV file, view data in different formats, handle null values, and update values in Pandas dataframe using transformation functions. I have also touched on chain indexing and how it can create issues while writing big codes with pandas. Link to dataset: drive.google.com/file/d/1g...
Python Pandas tutorial | Data analysis | Part - 1
Просмотров 1,4 тыс.5 месяцев назад
This video is Part 1 of the series on Python pandas tutorial. In this video, you will learn the basics of pandas, including how to create Series and data frames using different methods. I have also touched on basic methods like transposing and sorting in pandas. This part sets the foundation for the next part where I will cover the most-used methods and operations in pandas by data analysts and...
GANs simplified | Generative Adversarial Networks
Просмотров 945 месяцев назад
This video effectively explains how GANs or Generative Adversarial Networks work and are trained to produce realistic fake images using the generator network. The complete architecture is trained in an adversarial (attack/defense) setting where the generator and discriminator can compete with each other with their own objectives. This is also explained with a two-player game analogy. Do check i...
Complete Kaggle Data Science Project | Machine Learning
Просмотров 3795 месяцев назад
Complete Kaggle Data Science Project | Machine Learning
What is MLOps? | Understanding MLOps in 10 mins
Просмотров 2056 месяцев назад
What is MLOps? | Understanding MLOps in 10 mins
SQL Tutorial for beginners | Part - 5 | SQL Subqueries
Просмотров 4636 месяцев назад
SQL Tutorial for beginners | Part - 5 | SQL Subqueries
Prepare these questions before your interview !
Просмотров 1,9 тыс.6 месяцев назад
Prepare these questions before your interview !
SQL Tutorial for beginners | Part - 4 | SQL Queries
Просмотров 1,5 тыс.7 месяцев назад
SQL Tutorial for beginners | Part - 4 | SQL Queries
SQL Tutorial for beginners | Part - 3 | SQL Commands
Просмотров 6847 месяцев назад
SQL Tutorial for beginners | Part - 3 | SQL Commands
SQL Tutorial for beginners | Part - 2 | MySQL
Просмотров 4557 месяцев назад
SQL Tutorial for beginners | Part - 2 | MySQL
SQL Tutorial for beginners | Part - 1| Database and DBMS
Просмотров 8617 месяцев назад
SQL Tutorial for beginners | Part - 1| Database and DBMS
Reinforcement Learning from Human Feedback | LLMs| Part - 2
Просмотров 848 месяцев назад
Reinforcement Learning from Human Feedback | LLMs| Part - 2
Reinforcement Learning from Human Feedback | LLMs| Part - 1
Просмотров 1338 месяцев назад
Reinforcement Learning from Human Feedback | LLMs| Part - 1
Everything about Prompt engineering in LLMs
Просмотров 1119 месяцев назад
Everything about Prompt engineering in LLMs
LLMs simply explained - "Attention is all you need"
Просмотров 8939 месяцев назад
LLMs simply explained - "Attention is all you need"
PCA (Principal Component Analysis) in ML | Simply Explained...
Просмотров 92310 месяцев назад
PCA (Principal Component Analysis) in ML | Simply Explained...
Logistic Regression python tutorial (Part - 2) | Step-by-Step | ThinkUponAI
Просмотров 8010 месяцев назад
Logistic Regression python tutorial (Part - 2) | Step-by-Step | ThinkUponAI
Logistic Regression python tutorial (Part - 1) | Step-by-Step | ThinkUponAI
Просмотров 24410 месяцев назад
Logistic Regression python tutorial (Part - 1) | Step-by-Step | ThinkUponAI

Комментарии

  • @kavya_111
    @kavya_111 12 дней назад

    Great job ... Keep doing this .. Thank you..!!

  • @echodelta7680
    @echodelta7680 14 дней назад

    Is there any way to find n-th highest salary without using any rank function/limit-offset at all?

  • @deepak12428
    @deepak12428 17 дней назад

    Thanks for the video, you can also use a CTE instead of creating temporary tables.

    • @echodelta7680
      @echodelta7680 16 дней назад

      Hi, Suppose there are two tables A and B. Each table has only two columns, ID and NAME. We have to get an output table that has rows in it as : 1st row from A 1st row from B 2nd row from A 2nd row from B 3rd row from A 3rd row from B .... and so on. What would be the query to generate this output table?

  • @akashkhantwal2430
    @akashkhantwal2430 Месяц назад

    This video is very helpful, having import topics which is necessary ❣

  • @shinewithshreyashi2945
    @shinewithshreyashi2945 Месяц назад

    please make more videos.. 😇

  • @megajop2000
    @megajop2000 Месяц назад

    bro really helped me thanks!

  • @gospelmoto2833
    @gospelmoto2833 Месяц назад

    VERY NICE Video! you nailed it. You got a new sub here. Thanks for your informative tutorials, exactly what I needed.

    • @TheMLMine
      @TheMLMine Месяц назад

      Thanks. Glad it was helpful

  • @yashsharma5042
    @yashsharma5042 Месяц назад

    The most awaited video, keep posting it like this sir ✨

  • @mihajlobozovic6977
    @mihajlobozovic6977 Месяц назад

    Im kinda confused. What happens with Anurag when i do recursive cte? How come you get 5 results when doing self join, but 4 when doing recursive cte?

    • @TheMLMine
      @TheMLMine Месяц назад

      When doing self-join every manager id was matched with every employee id, thereby also matching the manager id of Anurag with the employee id of Akshita. Whereas, in recursive CTE when we start with Rakesh (given emp id), we first match the manager id against Rakesh with the emp id of Shiva, then manager id against Shiva is matched with the emp id of Satyam, and so the chain builds up. The catch is, since Anurag's emp id is not the manager id of anyone in the chain, the entry for Anurag is not included. Thereby giving only 4 entries (which are part of manager - emp id chain) Hope it helps

  • @priyankachahande1909
    @priyankachahande1909 Месяц назад

    Beautifully explained !!!!!!!!!!! Keep doing great things. Its very easy to build logic, I can do it step by step. Really great

    • @TheMLMine
      @TheMLMine Месяц назад

      Thanks priyanka. Glad it was helpful

  • @akashkhantwal2430
    @akashkhantwal2430 Месяц назад

    Thankyou sir for making this video ,its helping me a lot

  • @YashAgarwal-m4o
    @YashAgarwal-m4o Месяц назад

    Yes stats video can be important as a data analyst can you do statistics video and there is a software for stats that's SPSS can you plz explore more on it

    • @TheMLMine
      @TheMLMine Месяц назад

      Hello, yes stats are an important part and will be covered soon. Thanks for mentioning it.

  • @rokithkumar4905
    @rokithkumar4905 2 месяца назад

    Bro is there any chance of we getting statistics and basic econometrics as its very useful for data scientist and analyst after SQL.

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Thanks for your feedback. I will come up with videos on that topic soon.

  • @yashikachugh4198
    @yashikachugh4198 2 месяца назад

    In case of Ans 1) basis approach of row_number Here Aviral has 2 id's and where row_num is greater than 1 you deleted that record randomly, generally if nothing is specified what is the best way to explain the interviewer that how to decide which record to delete) also in that case the same solution would not work row_number >1, then should we use rank or dense rank function as it give same value same rank and we can pull those values and then decide? (just thinking) group by approach is fine

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Good question yashika, - if nothing is specified (on which row to delete) : If you observe the row_num entries > 1 are the entries that may have been inserted at a later stage. You may justify to the interviewer that we are deleting only the latest rows if they are repeated, keeping the originally entered row (row_num=1) as it is. - If interviewer asks you to keep specific rows based on emp_id among the repeated values, you can simply do DELETE FROM emp WHERE emp_id IN (<id provided by the interviewer>) - I am not sure how you are thinking to use rank or dense_rank because you will need to anyways select which rank value to keep and you don't know at what rank the same values are there. However, in all the cases, you will either use emp_id column (since that is the only unique column we have) or a self created column (either row_num/rank/dense_rank) based on the type of row to delete. Hope it helps. Let me know if you have any further queries

  • @akashkhantwal2430
    @akashkhantwal2430 2 месяца назад

    Sir, Very informative video, your this playlist cover almost all the important question for fresher

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Thanks akash. Good to know

  • @sweetsubha514
    @sweetsubha514 2 месяца назад

    👌👌👍👍👍👍

  • @slamani3643
    @slamani3643 2 месяца назад

    Awesome Bro..thank you for updating this!!

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Thanks. My pleasure

  • @TheMLMine
    @TheMLMine 2 месяца назад

    Let me know in the comments, if you have any doubts

  • @rokithkumar4905
    @rokithkumar4905 2 месяца назад

    Bro what happened no new videos??

  • @yashsharma5042
    @yashsharma5042 2 месяца назад

    The way you explained Matplotlib was really great. As a first-timer, I learned a lot from your videos. Please keep publishing more content like this, it's really appreciated, sir

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Thank you @yash. Glad it was helpful.

    • @yashsharma5042
      @yashsharma5042 2 месяца назад

      @@TheMLMine I have been looking for you on Instagram or LinkedIn so I can chat with you. I wanted to learn more about the data analyst field. If possible sir ?

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Sure, you can connect me over 1) Linkedin: www.linkedin.com/in/ritesh-yadav-29745112a/ 2) Instagram: instagram.com/the_ml_mine/

    • @yashsharma5042
      @yashsharma5042 2 месяца назад

      @@TheMLMine thank you so much sir, I'll message you on LinkedIn 😊

  • @BharathKrishnaReddy
    @BharathKrishnaReddy 2 месяца назад

    we want next video

    • @TheMLMine
      @TheMLMine 2 месяца назад

      It's published now :)

  • @akashkhantwal2430
    @akashkhantwal2430 2 месяца назад

    Sir,when i am applying this command why it is showing error for delete duplicate entry method which you apply first delete from emp where emp_id in(select emp_id from ( select *,row_number() over(partition by name,age,salary order by emp_id) as row_num from emp ) as table1 where row_num>1); this error is coming Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnect. 0.016 sec

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Hi akash, This error is because MySQL safeupdate setting is on. Safeupdate restricts certain types of queries that can unintentionally affect a large number of rows while deletion. And, using a WHERE clause with condition on a non-key column (that can have repeated values) could be one cause of that. What can you do? For now, you can turn the setting off in Edit->Preferences->SQL Editor->Uncheck Safe Updates (you can find the checkbox at the bottom most position in the window). Then restart MySQL and try again. Your query should work. Let me know if you face any issues

  • @shubhamsoni174
    @shubhamsoni174 2 месяца назад

    are not you gonna bring more pandas tutorials ? I mean there is still a lot left to learn about it.

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Hi Shubham, so the idea was to cover basics for beginners. If you have any specific topics that you think should be covered, do write them below. Thanks

  • @akashkhantwal2430
    @akashkhantwal2430 2 месяца назад

    Amazing video sir, Very informative❤❤❤,Its help me alot

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Glad to hear that

    • @akashkhantwal2430
      @akashkhantwal2430 2 месяца назад

      @TheMLMine sir how can i connect with you over the Instagram.

  • @rajm5349
    @rajm5349 2 месяца назад

    thnks fr xplng wndws fnctins clearly , if possble cn u xpln any healthcare project

  • @rajm5349
    @rajm5349 2 месяца назад

    thnq fr the nce xplanation. can u xpln health care project if possble

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Hi raj, if you have any interview question related to any health care project, please let me know. I can make a separate video on that.

  • @ankitsrivastava6641
    @ankitsrivastava6641 2 месяца назад

    Thank you for the video. Keep taking on new question.

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Thanks ankit. Glad it was helpful

  • @akashkhantwal2430
    @akashkhantwal2430 2 месяца назад

    Sir, you are doing great and amazing video for upcoming data analyst❤

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Thanks Akash. Glad it was helpful

  • @anandpathare6421
    @anandpathare6421 2 месяца назад

    very good bro , nice and keep it go on

  • @vaishnav.lamaziya4898
    @vaishnav.lamaziya4898 3 месяца назад

    great job bro keep going

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Thanks vaishnav

  • @slamani3643
    @slamani3643 3 месяца назад

    Wow.. Amazing..you covered everything of box plot .. if you continue this i am sure you will reach easily million subscribers!!

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Thank you so much. Glad it was helpful

  • @anandshaw-ie3qk
    @anandshaw-ie3qk 3 месяца назад

    Thanks you for sharing

  • @TheMLMine
    @TheMLMine 3 месяца назад

    Fun Fact: American mathematician John Wilder Tukey invented the boxplot in the 1970s

  • @Bigbakerscafe01
    @Bigbakerscafe01 3 месяца назад

    Bro please make a video on sql for data analyst roadmap and which things to learn is mandatory for experienced data analyst 🎉❤

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Sure. I will try to summarize the SQL learning as a roadmap in a separate video. Thanks for your feedback

  • @Bigbakerscafe01
    @Bigbakerscafe01 3 месяца назад

    Bro your way of explaining is great 👍 subscribing from this video❤

  • @arpanmahali3584
    @arpanmahali3584 3 месяца назад

    I don't know whether the interviewer will ask me this type of questions or not.. but the way you are explaining is really amazing... learnt a new thing.. thank you so much..

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Thanks. Glad it was helpful

  • @ankitsinha5088
    @ankitsinha5088 3 месяца назад

    We can use dense rank as well or rank makes more sense. Can somebody explain?

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Hi ankit, you are right. You can use dense_rank method as well. The only difference is if revenue of two products are same they will get the same rank value when using dense rank function while they will get different rank values when using simple rank function.

  • @willz2622
    @willz2622 3 месяца назад

    Pls keep making these videos.

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Feedback noted

  • @mahenderchilagani5916
    @mahenderchilagani5916 3 месяца назад

    Very well explained, thanks for the videos.

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Thanks. Glad it was helpful

  • @piudutta5665
    @piudutta5665 3 месяца назад

    👍

  • @prajwaladhav3297
    @prajwaladhav3297 3 месяца назад

    I think using CTE for this kind of case will be a good practice, with cte as ( SELECT *, ROW_NUMBER() OVER (partition by emp_id ORDER BY emp_id) as row_num from emp ) DELETE FROM cte where row_num>1

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Yes, you are right. However, "DELETE FROM CTE" is not supported in mysql, so we can not use that method here.

    • @prajwaladhav3297
      @prajwaladhav3297 3 месяца назад

      @@TheMLMine yes this will be useful for SQL Server users

  • @shubhamsoni174
    @shubhamsoni174 3 месяца назад

    Please try to bring more such videos 🙏

  • @HariharanTamilarashanJeyasri
    @HariharanTamilarashanJeyasri 3 месяца назад

    Hey bro would you please suggest any web based SQL practice

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Hey Hari, you can refer to this website: sqlbolt.com/ for basic sql queries. For creating your own tables on server, refer this: www.sqlwebadmin.com/ (Although, I never worked with this before) Hope it helps.

    • @HariharanTamilarashanJeyasri
      @HariharanTamilarashanJeyasri 3 месяца назад

      @@TheMLMine thanks so much response already try this but didn't get sql advance please help these

    • @TheMLMine
      @TheMLMine 3 месяца назад

      @@HariharanTamilarashanJeyasri No problem, can you please elaborate what do you want to achieve? Do you want to use cloud-based SQL database? If yes, are you willing to pay some subscription amount as well?

    • @HariharanTamilarashanJeyasri
      @HariharanTamilarashanJeyasri 3 месяца назад

      @@TheMLMine thanks actually I am looking leaning sql advance function and practice plateform as well

    • @TheMLMine
      @TheMLMine 2 месяца назад

      Hi Hari, sorry somehow missed your comment. So, for the web based advance sql you can refer below links and choose your difficulty accordingly: 1) HackerRank - www.hackerrank.com/domains/sql 2) SQLPad - sqlpad.io/ 3) LeetCode - leetcode.com/problemset/database/ Hope it helps !

  • @dipakmani3964
    @dipakmani3964 3 месяца назад

    Great Explaination!!

  • @karthipalanivel6345
    @karthipalanivel6345 3 месяца назад

    Please explain mssql also while explining the mysql querys

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Hi Karthipalanivel, I could do that but different servers support different syntax of queries. So, I could not do that in the same video. But, I will see if I can cover it in my upcoming videos. Thanks for your feedback.

  • @kirillnaumenko5806
    @kirillnaumenko5806 3 месяца назад

    Amazing explanation and delivery! Thank you for your work

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Thanks. Glad it was helpful

  • @nishantgautam1581
    @nishantgautam1581 3 месяца назад

    bro i understand everything in sql , but when i start solving queries i take lot of time , i take lot of time to understand how shud i type it , any suggestion ?

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Hi Nishant, it is normal in the beginning that it will take time to solve queries. That is why we need practice and practice. My suggestion would be to also understand the order of execution in which the commands are executed. It will help you understand the function of each commands and what happens in the backend (with order). You can refer this link, if it helps: sqlbolt.com/lesson/select_queries_order_of_execution And please practice questions without jumping at the solution and then understanding it backwards. Try to solve them by yourself first, be it wrong or right. Let me know if you need further help

  • @himanisrivastava1800
    @himanisrivastava1800 3 месяца назад

    1K SUBSCRIBERS

    • @TheMLMine
      @TheMLMine 3 месяца назад

      Thanks. And you are the 1000th subscriber

  • @safwanmohammed7715
    @safwanmohammed7715 3 месяца назад

    Best explanation

  • @Pavitra_ranebennur
    @Pavitra_ranebennur 3 месяца назад

    DELETE FROM employee WHERE id NOT IN ( SELECT MIN(id) FROM table_name GROUP BY column1, column2, ... );