- 46
- 44 361
Anand
India
Приєднався 23 сер 2014
The basic purpose of my starting this youtube channel is to help professionals with non-coding background to smoothly transition to Data Science.
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
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
23. String Manipulation in R and Python
Переглядів 2813 роки тому
23. String Manipulation 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?
17. If and If-else (elif) in R and Python
Переглядів 2223 роки тому
17. If and If-else (elif) in R and Python
How to run R and Python code online ?
Переглядів 2 тис.4 роки тому
How to run R and Python code online ?
Thanks a lot
Most welcome
I wrote the same numbers as a = sample(1:100,15) for example but i got different numbers and diferrent alphabets.. is it normal?
Yes it is normal, because it is a random function and would give different numbers / alphabets every time you run it.
Why am in unable to import libraries or packages into Jupyter and yet they are installed in anaconda?
Good explanation, thank you!
Glad it was helpful!
Glad to listen.. good explanation!
Glad you liked it
I found this really helpful, thank you!
Glad it was helpful! 😊
I've never completely understood recursion because I never understood where the output numbers came from. Im starting to get it more now.
very well explained!! thank you so much.
Nice video, thank you
Glad you liked it!
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'.
Wow! So intuitive.
Hi Anand, I'm also an adventurist, I'm also transitioning to new frontiers at this age.
Awesome Murali 👍👏👏👏
Thanks Man!😅
this is excellent for beginners 👍
Well explained...thank you
thank you ❤🔥
One question. Why didn’t you download RStudio from Anaconda?
Very good video
well explained
No words explained it perfectly : )
Hi Anand. All your video is excellent for beginners. Great job. Would you have videos for the intermediate level as well? Appreciate your work
Great Video Anand. Clear explanation and right to the point. Thank you
You’re so good at explaining. Thank you so much!
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?
"library(lubridate)" no working for me in google colaborate, in this case, what I can do?
did you use the magic command as explained in the video ? That is essential to run R code on colab
@@AnalyticsMaster yes, I used %load_ext rpy2. Ipython and %%R
Can I input .xlsx file? Thank you
yes you can
Thank you for that!
Perfect explanation
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
Hash package is not there. Which package can we use instead of hash.?
install.packages("hash")
Dear sir please can u share me ur contact details to me as soon as possible sir I wana talk with you separately sir
Hey great tutorial, Just to be clear: The formula for Fahrenheit to Celsius conversion is °C = [(°F-32)×5]/9 😅😅😅😅
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. 😀
thank you!
sir you have done excellent work.. your channel has a lot of potential .. you should make tutorial on statistics also..
Good information....
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?
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 ?
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
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!
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.
@@AnalyticsMaster Now, it’s clear. Thanks 😊
Really you're superb!!!
All the tutorials are well explained, thanks! :)
Love the way of explaining. Thanks, Anand!
Amazing sir
sir make more videos on R language.
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.
Do you have the solution?
@@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.
no need to installed r studio separately we can use it by anaconda r studio
Sir can you teach me
I wonder, why is that you didn´t install R-studio on the new R Environment?
Thank you!
Thank You Anand