Welcome to the Simplilearn Community

Want to join the rest of our members? Sign up right away!

Sign Up

Data science with Python ( Oct 24th - Dec 05th,2020)| Srikanth

srikanthdakoju

Well-Known Member
Hi Sharada,
please uninstall anaconda. then restart your computer.

Once your system is restarted then install anaconda again. hope that will helps
 

srikanthdakoju

Well-Known Member
Hi Srikanth ,
I have expanded the scores based on the frequency.
Player 2 has the lowest std dev of 3.4 hence player 2 is the best i suppose
Pls check the box plots and advise
Could you kindly confirm your linkedin profile

Regards
Aiysha
Hi Aiysha,

You are right player 2 is the better player as the standard deviation player 1 is 1.732 and for a player - 2 is 1.48. As standard deviation is less for player 2 we are selecting player 2 as a better player

However, the calculation of the standard deviation values is incorrect. I attached the same file of you where i have written formula and derivation of calculation of standard deviation. Please check .
 

Attachments

  • assignment day 2 reworked_aiysha.zip
    75.1 KB · Views: 5

srikanthdakoju

Well-Known Member
Hi Srikanth Sir,
I have done Assignments and attached it here.
Kindly go through it and Please let me know whatever I have done in assignments are correct or not.
Hi Priya,
Nicely done. the two assignments.

Suggestions: (Assignment -2)
Question - 9 :

print((my_tup[3] + my_tup[4]) * my_tup[0]))
 

srikanthdakoju

Well-Known Member
Hello Srikanth Sir,

Please find attached Assignment 2 for creating a document using Jupyter notebook.

Regards,
Gurjit Bakshi
Hi Bakshi,
Nice work. However, the recommended code is below


6) print(type(my_tup[1]))
7) print(type(my_tup[-1]))
8) print(my_tup[3]+ my_tup[4])
9) print((my_tup[3]+ my_tup[4])*my_tup[0])
 

srikanthdakoju

Well-Known Member
Hi Srikanth Sir,

This is Gloris. I have done Assignment1 (Boxplots for Points scored per game by 3 players) and attached it here.
Kindly go through it and let me know whether my findings are correct.

Please let me know in what basis we have to decide which player is the best.

Regards,
Gloris
Player - 2 is better player. we make decision based on standard deviation if means are equal
 

srikanthdakoju

Well-Known Member
Hi sir,

I have completed tuple assignment. check once sir.

Syntax
----------
1.my_tup[1]
2.my_tup[2]
3.my_tup[0:3]
4.my_tup[3:6]
5.my_tup[0::2] or my_tup[::2]
6.print(type(my_tup[1]))
7.print(type(my_tup[5]))
8.print(my_tup[3] + my_tup[4])
9.print((my_tup[3] + my_tup[4])*my_tup[1])
10.my_tup[::-1]

regards,
sharada
Nicely done.
 

srikanthdakoju

Well-Known Member
Hi, guys if I had not answered any of your questions please post it again. I will answer your questions and also review your assignment.
 
Last edited:

Gloris Josephine M

Active Member
Hi Srikanth Sir,
Please find attached "Assignment-2" for your review. Thank you.
Regards, Gloris
 

Attachments

  • PythonAssignment-2-Gloris.zip
    314.2 KB · Views: 1

_79099

New Member
Hi All,

I uploaded python "tuple" assignment in google drive

Hello Srikanth,

I have completed the assignments for tuples.

please check and give a feedback

my_tup[1]
my_tup[2]
my_tup[0:3]
my_tup[3:]
my_tup[::2]
print(type(my_tup[1]))
print(type(my_tup[-1]))
my_tup[3] + my_tup[4]
print(8*(my_tup[3] + my_tup[4]))
my_tup[::-1]

regards,
Ramkumar
 

Shanthi.V

Customer
Customer
Hi Srikanth Sir

I have completed the assignment given today for prime numbers and attached here.
Kindly review and give your comments.

Regards
Shanthi.V
 

Attachments

  • PrimeNumberAssign_Day5.pdf
    143.7 KB · Views: 5

Rose_18

Customer
Customer
Srikanth,

Assignment for Day 5
def prime_numbers(lower,upper):
"""Returns prime number within the range. Syntax: "prime_numbers(lower,upper)""""
for num in range(lower,upper+1):
if num>1:
for i in range(2,num):
if (num%i)==0:
break
else:
print(num)
Regards
Rose
 

_90819

Member
Dear Srikanth Sir,

Please find attached the list and tuple assignment.

Regards,
Gurjit Bakshi
 

Attachments

  • 03 - List, Tuple - Solution.zip
    1.7 KB · Views: 2

_90819

Member
Hi Sir,

Please find attached variable, expression and function assignment.
Regards,
Gurjit Bakshi
 

Attachments

  • 02- variables, expresion and function - Solution.zip
    2.6 KB · Views: 4

anu.lony

Member
Dear Srikanth Sir,

can you please check, i m using below code to find the distance but the below error is showing

def euclidean (x1,y1,x2,y2):
euclidean = math.sqrt((x1 - x2)**2 + (y1 - y2)**2)
return euclidean


error-
File "<ipython-input-44-b9137b35e123>", line 2
euclidean = math.sqrt((x1 - x2)**2 + (y1 - y2)**2)
^
IndentationError: expected an indented block
 
Last edited:

Gloris Josephine M

Active Member
Hi Srikanth Sir,
Please find attached variables, expressions, function assignment. Kindly review.

Regards,
Gloris
 

Attachments

  • 02- variables, expresion and function -gloris.zip
    2.8 KB · Views: 0
  • 02- variables, expresion and function -gloris.zip
    2.8 KB · Views: 0

Gloris Josephine M

Active Member
Hi Sir,
Please find attached List, Tuple Assignment. Kindly go through it sir.

Regards,
Gloris
 

Attachments

  • 03 - List, Tuple - execrise- Gloris.zip
    2 KB · Views: 0

Gloris Josephine M

Active Member
Hi sir,
Please find attached if else, for loop Assignment. Kindly review.

Regards,
Gloris
 

Attachments

  • 05- If else, for loop -gloris.zip
    2.4 KB · Views: 0

Gloris Josephine M

Active Member
Hi Srikanth Sir,
Please find attached Dictionary Assignment. Kindly review sir.

Regards,
Gloris
 

Attachments

  • 04 - Dictionary - Exercise-Gloris.zip
    1.7 KB · Views: 0

_79626

New Member
Hi @srikanthdakoju ,

This is w.r.t extending the classes. Could you please inform how many extra classes may be needed? I have registered for another live class from Dec 12th, so this would help me to decide if I should enroll in another batch for the other class.

Thanks,
Hemanth
 

srikanthdakoju

Well-Known Member
Hi @srikanthdakoju ,

This is w.r.t extending the classes. Could you please inform how many extra classes may be needed? I have registered for another live class from Dec 12th, so this would help me to decide if I should enroll in another batch for the other class.

Thanks,
Hemanth
Hi Hemanth,
I request extension upto dec 13th. Please plan after 13th
 

_90819

Member
Srikanth Sir,

In the Customer service course assignment, after dropping the columns with more than 30% null values. I have the below spread:

How do i do this??
1. if percentage of missing value on column is less than 5% then you need to drop rows.

Do I have to go and check rows in my file individually to get the index or is there a code to find all the rows that i should delete.


Unique Key 0.000000
Created Date 0.000000
Closed Date 0.719659
Agency 0.000000
Agency Name 0.000000
Complaint Type 0.000000
Descriptor 1.966757
Location Type 0.043565
Incident Zip 0.869643
Incident Address 14.768971
Street Name 14.768971
Cross Street 1 16.388203
Cross Street 2 16.554483
Address Type 0.936155
City 0.869311
Facility Type 0.721987
Status 0.000000
Due Date 0.000998
Resolution Description 0.000000
Resolution Action Updated Date 0.727308
Community Board 0.000000
Borough 0.000000
X Coordinate (State Plane) 1.177261
Y Coordinate (State Plane) 1.177261
Park Facility Name 0.000000
Park Borough 0.000000
School Name 0.000000
School Number 0.000000
School Region 0.000333
School Code 0.000333
School Phone Number 0.000000
School Address 0.000000
School City 0.000000
School State 0.000000
School Zip 0.000333
School Not Found 0.000000
Latitude 1.177261
Longitude 1.177261
Location 1.177261
 
Top