Python for Machine Learning

I have completed watching all the video lectures but I have no idea on how to submit assignments, can anyone help!? My email id is -

Hello Learner
This is to inform you that the practice assignments are self- evaluatory. You need not submit them online and we suggest you to practice them offline.Once you will complete all the course videos, the quiz will get unlocked.

import pandas as pd
myseries =pd.series(data=mylist)
myseries =pd.series(data=myarray)
sir the error show as module pandas as no attribute in series

Hi Mukesh,

I do have the same problem. Do you know how to get this assignment and solutions? it would be great if you could suggest me.


Dear Learner,

Please drop a mail to mentioning the course name

hello sir
i had installed anaconda navigator and jupyterlab while in your class regarding uberlist csv file.i am unable to execute outputs like you shown in the video.the star mark in the brackets is appearing

Dear Learner,

Please drop a mail to mentioning the course name

course name is machine learning with python by raghu raman its a free course available in your website

Dear Learner,

Please drop a mail to mentioning the course name along with the error screenshot and the code.

Certificate are available in python machine learning live class…we will any payment of certificate

Hello Learner,
We do not provide certificates for live sessions. There is no payment required for the certificate.

I want to join free courses with certificate … How can i apply ? Snt me the registration link mam … I want to register and I will get the certificate … Please reply me mam

Is there anyway to remove all whitespaces in python string.I want remove all the leading and ending whitespaces?

I have a csv file and when i try to import it using pandas,it throws this error :UnicodeDecodeError: “utf-8” codec can’t decode byte in position : invalid start byte.

Any idea how to solve this problem?

Hi Learner,

Thank you for reaching out to us.
You can browse through all our courses here:
Steps on how to complete a course and receive the certificate

  1. Watch all the videos in the course completely to unlock Quiz/ Assignments/Practice exercise
  2. Score passing marks in the quiz/quizzes and submit the assignment/exercise (it is there in a course)
  3. Claim your course certificate to get the certificate.

You can use strip() function to remove all whitespaces that are leading and ending in a python string.Here is an example:

sentence = ’ let’s go out ’


‘let’s go out’

This happens if your file is not encoded in utf-8 format and is encoded in any other format .First you need to find out about the encoding of the file using chardet.Here is how you can do it:

import chardet
import pandas as pd

with open(‘filename.csv’, ‘rb’) as f:
result = chardet.detect( # or readline if the file is large

pd.read_csv(‘filename.csv’, encoding=result[‘encoding’])

There is no do…while loop because there is no nice way to define one that fits in the statement: indented block pattern used by every other Python compound statement. As such proposals to add such syntax have never reached agreement.

Nor is there really any need to have such a construct, not when you can just do:

while True:


if not condition:


and have the exact same effect as a C do { … } while condition loop.

while statement has been rejected because it doesn’t fit in the general format of indented block statement: indented block used by every other Python compound statement.

In the course “Machine Learning with Python” video “assignment on pandas”,, the teacher uses some files like “automobile.csv” and “pandas lab exercise” and I can’t find them in the course learning materials. Can anyone help me please?

How I can submit assignment?
We have to upload the jupyter notebook or something else?