Anand
Anand
  • 46
  • 44 361
Recursive Functions - Detailed Explanation
In this tutorial, I have tried to explain Recursive function concept in-depth with a step-by-step approach.
Code is updated in the github repository:
github.com/signupwithanand/R-and-Python-Programming/blob/19811903fb994213d78ff1824de260f253df381a/R%20Programming/Tutorial/Recursive%20Function%20Example.R
Переглядів: 1 407

Відео

What Does Success Mean To Me| Success Gyan| Super Speaker
Переглядів 3083 роки тому
What is Success? What does Success mean to me? I am speaking my way to Success! I am a part of Success Gyan's new reality show 'Super Speaker' #IamASuperSpeaker #SpeakForSuccess #SuccessGyan I can be contacted at signupwithanand@gmail.com
Easy report sharing by creating a shareable link. Share your Python analysis and visualizations
Переглядів 1533 роки тому
If we need to share only our findings / presentation or analysis with client / seniors / team, it is possible by creating a link which has all the visualizations. This can be made possible using altair, python and datapane. In this tutorial, we will analyse how covid19 has impacted some of the indian states over the last 1.5 years. The dataset used in this video can be extracted from the below ...
Descriptive Statistics
Переглядів 663 роки тому
Descriptive Statistics is such an important part of Data Science journey. Mean, Median, Mode, Variance, Standard deviation, first and third quartiles and range being the most frequently used during Exploratory Data analysis to get a better understanding of data. In this tutorial, we will try to understand what each of these important terms mean, and how are they calculated. If we are able to in...
Exercise - 10. How to generate different set of cumulative values based on logical conditions
Переглядів 1303 роки тому
We will be learning to create a new column in R using for-loop to generate different set of cumulative values based on certain logical condition(s). The same logic can be used in python pandas or any other language to generate similar output. This is a typical use case that we encounter most often in Networking industries. We will be implementing all that we have learnt so far, to try and solve...
28. All about Python Dataframes
Переглядів 3073 роки тому
In this tutorial, we will be learning about some of the most frequently used dataframe operations in Python. Timestamp : 00:00 Introduction 01:00 Creating a dataframe 01:50 Generating random numbers 02:23 Generating random characters 02:40 Using string library for generating ascii characters 03:25 random.choice 03:52 For loop 04:30 List comprehension 06:15 Top 5 and bottom 5 records 06:46 Dataf...
27. All about Dataframes in R
Переглядів 12 тис.3 роки тому
In this tutorial, we will be learning the following about data frames. a) How to create a data frame ? b) How to insert a new row, column ? c) How to display the top 6 or bottom 6 records in the data frame ? d) How to check the # of rows/columns in a data frame ? e) Indexing and Slicing a data frame f) Filtering a data frame g) How to change data frame column names ? h) Structure of a data fram...
Exercise - 9. b) Combining for-loop and recursive function for solving complex problems
Переглядів 6353 роки тому
We will learn to create a for-loop and also practise restarting a "for loop" after partial iteration. Recursive functions are most useful when we have a complex scenario to tackle like the one we have in our use case here. We will be using the below variable having an array of sentences : sentList = c('this is list1', 'this is list2', 'if this is 3rd list, then great', 'this is 4th list', 'this...
Exercise - 9. a) How to restart a for loop after partial iteration in Python ?
Переглядів 1,4 тис.3 роки тому
In most of the use cases, we iterate through the for-loop till the last iteration. But have you come across any use case, wherein we may have to stop the iteration mid-way and re-start the iteration from the very beginning ? This is exactly what we will be learning in this tutorial. We will be using the below list of strings in this tutorial : sentList = [ 'this is list1', 'this is list2', 'if ...
26. Recursive Functions in R and Python
Переглядів 2,6 тис.3 роки тому
This is one way of iterating without a for-loop or while loop. Recursive functions make the code look elegant and clean, however they have their own drawbacks. It consumes a lot of memory. But for certain logics, recursive functions may fit well compared to a loop. This tutorial is part of the below playlist "Excel in R and Python": www.youtube.com/watch?v=Tplgk...​
25. Sets in Python
Переглядів 353 роки тому
Set is another data type in Python just like we have list, tuple and dictionary. We will learn how to create a set and how they are similar and different from other data types. This tutorial is part of the below playlist "Excel in R and Python": www.youtube.com/watch?v=Tplgk...​
24. What is a Tuple in python ? Is there a tuple in R ?
Переглядів 1263 роки тому
In this tutorial, we will learn about another data type in Python, which is tuple. We will also try to understand how tuple is similar to a list and how it is different. We will also be learning about tuple in R. However tuple is not a data type in R. How to use a tuple in R and what are the important features of a tuple in R, we will be learning in this video. Timestamp: 00:00 Introduction 00:...
Exercise - 8. b) How to generate random names in Python ?
Переглядів 2403 роки тому
We are going to solve the below exercises in Python : 1) Write a function to calculate the number of occurrences of a particular string in a list or array of string: st = ["hi", "Hi", "hello", "how", "HI", "Hello", "abc", "wxyz", "hi"] 2) Generate random names of 10 people with First Name and Last name. Note : First Name has max 5 characters & last Name has max 10 characters 3) Generate around ...
Exercise - 8. a) How to generate random names in R ?
Переглядів 7683 роки тому
In this tutorial, we will be solving 3 exercise problems on Strings. We will also understand how to generate random names in R. We will try to solve the below 3 problem statements : 1) Write a function to calculate the number of occurences of a particular string in a list or array of string: st = c("hi", "Hi", "hello", "how", "HI", "Hello", "abc", "wxyz", "hi") 2) Generate random names of 10 pe...
Exercise - 7. Functions and Arrays (Vectors)
Переглядів 753 роки тому
In this tutorial we will be solving a few coding challenges based on what we have learnt so far. Happy Coding ! This tutorial is part of the below playlist "Excel in R and Python": www.youtube.com/watch?v=Tplgk...​ This tutorial is also part of the playlist "Coding Challenge" which tests your coding skills in R and Python: ua-cam.com/video/oiJ8izYcCds/v-deo.html
Exercise - 6. Loops
Переглядів 1363 роки тому
Exercise - 6. Loops
23. String Manipulation in R and Python
Переглядів 2813 роки тому
23. String Manipulation in R and Python
22. Functions in R and Python
Переглядів 1043 роки тому
22. Functions in R and Python
21. How to skip an iteration in R and Python?
Переглядів 1693 роки тому
21. How to skip an iteration in R and Python?
20. While loop in R and Python
Переглядів 1123 роки тому
20. While loop in R and Python
19. Nested for-loop in R and Python
Переглядів 3 тис.3 роки тому
19. Nested for-loop in R and Python
18. For loop in R and Python
Переглядів 1193 роки тому
18. For loop in R and Python
17. If and If-else (elif) in R and Python
Переглядів 2223 роки тому
17. If and If-else (elif) in R and Python
Exercise - 5. Dictionary
Переглядів 1114 роки тому
Exercise - 5. Dictionary
16. Dictionary in R and Python
Переглядів 9654 роки тому
16. Dictionary in R and Python
Exercise - 4. List
Переглядів 894 роки тому
Exercise - 4. List
15. List in R and Python
Переглядів 944 роки тому
15. List in R and Python
How to run R and Python code online ?
Переглядів 2 тис.4 роки тому
How to run R and Python code online ?
Exercise - 3. Date and Time
Переглядів 1124 роки тому
Exercise - 3. Date and Time
Exercise - 2. Random Numbers
Переглядів 2064 роки тому
Exercise - 2. Random Numbers

КОМЕНТАРІ

  • @shirishashetty3967
    @shirishashetty3967 5 місяців тому

    Thanks a lot

  • @denisablackrosa
    @denisablackrosa 9 місяців тому

    I wrote the same numbers as a = sample(1:100,15) for example but i got different numbers and diferrent alphabets.. is it normal?

    • @AnalyticsMaster
      @AnalyticsMaster 9 місяців тому

      Yes it is normal, because it is a random function and would give different numbers / alphabets every time you run it.

  • @nicholaslincolnasiimwe7025
    @nicholaslincolnasiimwe7025 10 місяців тому

    Why am in unable to import libraries or packages into Jupyter and yet they are installed in anaconda?

  • @zenoklemagnifique
    @zenoklemagnifique 11 місяців тому

    Good explanation, thank you!

  • @lakshmiprasanna06
    @lakshmiprasanna06 11 місяців тому

    Glad to listen.. good explanation!

  • @jcrast
    @jcrast Рік тому

    I found this really helpful, thank you!

  • @pcpxbotendorastermace9948

    I've never completely understood recursion because I never understood where the output numbers came from. Im starting to get it more now.

  • @amritabhattacharjee4596
    @amritabhattacharjee4596 Рік тому

    very well explained!! thank you so much.

  • @beautedeperleonlinestore9733

    Nice video, thank you

  • @bhajansonguitar335
    @bhajansonguitar335 Рік тому

    I can see 14 is also duplicate. Why is 'tuple::duplicate(x)' not showing that? Got my answers: it finds those numbers that occur exactly twice not 'more than once'.

  • @chrispohnyagaya6655
    @chrispohnyagaya6655 Рік тому

    Wow! So intuitive.

  • @muralidhar40
    @muralidhar40 Рік тому

    Hi Anand, I'm also an adventurist, I'm also transitioning to new frontiers at this age.

  • @bhukkadengineerr8250
    @bhukkadengineerr8250 Рік тому

    Thanks Man!😅

  • @christopherk7920
    @christopherk7920 Рік тому

    this is excellent for beginners 👍

  • @bulelanimpofu8335
    @bulelanimpofu8335 Рік тому

    Well explained...thank you

  • @LOL-c8n
    @LOL-c8n Рік тому

    thank you ❤‍🔥

  • @fvc1612
    @fvc1612 Рік тому

    One question. Why didn’t you download RStudio from Anaconda?

  • @uzmaimam8911
    @uzmaimam8911 Рік тому

    Very good video

  • @tasnimshamsuddin7727
    @tasnimshamsuddin7727 Рік тому

    well explained

  • @lokith__0089
    @lokith__0089 2 роки тому

    No words explained it perfectly : )

  • @PeaceFORever-
    @PeaceFORever- 2 роки тому

    Hi Anand. All your video is excellent for beginners. Great job. Would you have videos for the intermediate level as well? Appreciate your work

  • @PeaceFORever-
    @PeaceFORever- 2 роки тому

    Great Video Anand. Clear explanation and right to the point. Thank you

  • @saraalm9567
    @saraalm9567 2 роки тому

    You’re so good at explaining. Thank you so much!

  • @hassanhijazi4757
    @hassanhijazi4757 2 роки тому

    Thanks for highlighting the hash package in R. If I have a column in excel containing one or multiple keys in each cell and I want to replace each key with a value, how could it be done using the hash package?

  • @catalinacortes
    @catalinacortes 2 роки тому

    "library(lubridate)" no working for me in google colaborate, in this case, what I can do?

    • @AnalyticsMaster
      @AnalyticsMaster 2 роки тому

      did you use the magic command as explained in the video ? That is essential to run R code on colab

    • @catalinacortes
      @catalinacortes 2 роки тому

      @@AnalyticsMaster yes, I used %load_ext rpy2. Ipython and %%R

  • @catalinacortes
    @catalinacortes 2 роки тому

    Can I input .xlsx file? Thank you

  • @victorpinasarnault7910
    @victorpinasarnault7910 2 роки тому

    Thank you for that!

  • @alaanasser3243
    @alaanasser3243 2 роки тому

    Perfect explanation

  • @datascience1274
    @datascience1274 2 роки тому

    Your channel is the best. The way you were able to address both Python and R in parallel was the best thing I've seen on the subject. It's been a while you didn't post anything though. Is there other material coming up? Can you share your email id? Thanks

  • @poojatehlan9894
    @poojatehlan9894 2 роки тому

    Hash package is not there. Which package can we use instead of hash.?

  • @gnaneswarchowdarykora8676
    @gnaneswarchowdarykora8676 2 роки тому

    Dear sir please can u share me ur contact details to me as soon as possible sir I wana talk with you separately sir

  • @abhijaynair4531
    @abhijaynair4531 2 роки тому

    Hey great tutorial, Just to be clear: The formula for Fahrenheit to Celsius conversion is °C = [(°F-32)×5]/9 😅😅😅😅

    • @AnalyticsMaster
      @AnalyticsMaster 2 роки тому

      Thanks Abhinay, really appreciate your observation. 🙏🙏🙏 But if you check the formula in the video again, I think I have used exactly the same formula you mentioned. 😀

  • @larissacury7714
    @larissacury7714 2 роки тому

    thank you!

  • @neelanchal90
    @neelanchal90 2 роки тому

    sir you have done excellent work.. your channel has a lot of potential .. you should make tutorial on statistics also..

  • @strawhattech2495
    @strawhattech2495 2 роки тому

    Good information....

  • @wakam229
    @wakam229 2 роки тому

    If i have a dataframe with the names of the students and a column with grades and I want to classify as pass or fail according to whether the grade is greater than 7 and else for fail how can I do this?

  • @tomasbiocca9980
    @tomasbiocca9980 2 роки тому

    Hey @Anand thanks for your video :) I have one question for you... is it necessary to install R and Rstudio apart even when at Anaconde we can see the Rstudio ?

  • @shekharmishra5259
    @shekharmishra5259 3 роки тому

    Hi Anand, I am trying to use Anaconda and RStudio for machine learning. There are issues with versions. I have installed the latest version of Anoconda for Windows 64 bit (2.1.1), Updated it to Python 3.9.7. I have standalone Rstudio with R 4.1.2. I need this version of Rstudio working inside Anoconda as Tensorflow looks for some packages. Can you please help how to upgrade the Anoconda Rstudio to work with R 4.1.2

  • @SpaceTrailblazer_Chronicles
    @SpaceTrailblazer_Chronicles 3 роки тому

    Hi Anand - I have a question on FOR & WHILE loop. You explained the difference between them but I'm still confused. Would you please help me again to understand the difference between them? Thanks for your amazing and helpful contents!

    • @AnalyticsMaster
      @AnalyticsMaster 3 роки тому

      Hi Avinash, In the case of for loop, we have to mention upfront till what increment of i we need to execute, so the chances of getting a never ending loop is almost NIL. However in case of while loop, if we don't mention the increment parameter inside the loop, we will end up in a never ending loop. Hence we need to be more cautious wrt while loop. Please let me know if this clarifies.

    • @SpaceTrailblazer_Chronicles
      @SpaceTrailblazer_Chronicles 3 роки тому

      @@AnalyticsMaster Now, it’s clear. Thanks 😊

  • @SpaceTrailblazer_Chronicles
    @SpaceTrailblazer_Chronicles 3 роки тому

    Really you're superb!!!

  • @SpaceTrailblazer_Chronicles
    @SpaceTrailblazer_Chronicles 3 роки тому

    All the tutorials are well explained, thanks! :)

  • @SpaceTrailblazer_Chronicles
    @SpaceTrailblazer_Chronicles 3 роки тому

    Love the way of explaining. Thanks, Anand!

  • @kartavyasharma3758
    @kartavyasharma3758 3 роки тому

    Amazing sir

  • @monikachivate6287
    @monikachivate6287 3 роки тому

    sir make more videos on R language.

  • @mussafir
    @mussafir 3 роки тому

    Thank you. It really helped me. But I am unable to install RStudio on my Anaconda environment. The error message which I get is this 'Cant install in this environment. Do you want to create a new environment or continue with the current environment?' I tried everything but still I am not able to install RStudio on Anaconda.

    • @ridhoaditya9280
      @ridhoaditya9280 2 роки тому

      Do you have the solution?

    • @maneetsaluja
      @maneetsaluja 2 роки тому

      @@ridhoaditya9280 yes.....i skipped anaconda......i installed R first from their website and then installed RStudio. It works like a charm. Only thing is that it has no connection with Anaconda.

  • @deepjoybiswas4340
    @deepjoybiswas4340 3 роки тому

    no need to installed r studio separately we can use it by anaconda r studio

  • @Thinkgood123
    @Thinkgood123 3 роки тому

    Sir can you teach me

  • @aagvivius
    @aagvivius 3 роки тому

    I wonder, why is that you didn´t install R-studio on the new R Environment?

  • @WasteSecond
    @WasteSecond 3 роки тому

    Thank you!

  • @ajayrajj
    @ajayrajj 3 роки тому

    Thank You Anand