Python for Machine Learning

** and == In python you use == to indicate if it is equal to something but if you use = then it will create a variable and if you use ** a power of b
Thank you , @toby

1 Like

Mr. Toby jain List is mutable(can be edited , can be extended),
while tuple cant be extended or appended.
we can address tuple as a fixed list

Sir i am benerplz help me

If you append a list of elements into a new list then it will be appended as single value for example
l = [1,2,3] is your list you want to append a new list l1 = [4,5,6] then it gives list l as [1,2,3,[4,5,6]] the length of the list will be 4. Whereas by using extend l = [1,2,3] and l1 = [4,5,6] extend gives l = [1,2,3,4,5,6] hence length is 6.This is the difference between methods append and extend. I hope this is helpful.

Tuple has this bracket () while list has this []

Is both python for machine learning in english and hindi are same, as i see that some videos from English course are not available in hindi course

list is mutable datatype
where as tuple is immutable data type

1 Like

How can I reverse a list in python without reverse function?

We can using slicing to achieve this task.Here is a simple example



Now here y is the list which contains all the items of list x but in reverse order.


i want Machine Learning with Python all txt file

i want excel data file

Hello All,

I who do l contact for the certification .
I haven’t received mine yet


Dear Learner,

Please drop a mail to mentioning the course name

I a looking to enroll for this course. Please let me know whether you got certificate or not.

I have just started with Python for Mah=chine Learning and completed a couple of videos but one of the video’s progress is stuck at 59%. How could I overcome this? If it will be like this then I will not be able to complete the course and will not get any certificate.

1 Like

Dear Learner,

Please drop a mail to mentioning the course name

How to delete a column in a DataFrame?

how to convert a pandas dataframe into a NumPy array.

I installed keras module in my system. But when I tried to import this module I got this below error : modulenotfounderror: no module named ‘keras’

How to create empty pandas dataframe?