DS With Python |17th Nov - 22nd Dec |Nimisha

Discussion in 'Big Data and Analytics' started by Kunal Guwalani, Nov 17, 2018.

  1. Kunal Guwalani

    Kunal Guwalani Well-Known Member
    Simplilearn Support

    Joined:
    Jul 17, 2018
    Messages:
    90
    Likes Received:
    3
    Hi Learners,

    This thread is for you to discuss the query and concepts related to Data Science With Pyhton course.

    Happy Learning !!

    Regards,
    Team Simplilearn
     
    #1
  2. _39768

    _39768 Member

    Joined:
    Sep 7, 2018
    Messages:
    9
    Likes Received:
    1
    Hi All
     
    #2
  3. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Hi Team
    Wanted to check when will we get the recording session.
     
    #3
  4. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
     
    #4
  5. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Hi Kunal
    Wanted to check each time we will get email related to the online training session or we need to use the same old link which we got in the first email
    Thanks
    Satbir
     
    #5
  6. Rajasekhar Pustakala

    Joined:
    Aug 4, 2017
    Messages:
    10
    Likes Received:
    0

    Not able to login session
     
    #6
  7. Rajasekhar Pustakala

    Joined:
    Aug 4, 2017
    Messages:
    10
    Likes Received:
    0
    thanks able to join
     
    #7
  8. _40196

    _40196 Member

    Joined:
    Sep 13, 2018
    Messages:
    2
    Likes Received:
    1
    Hello Nimisha Madam,
    Attaching today's assignment. Pls can you confirm if this is ok or has any problem
     

    Attached Files:

    • Game.txt
      File size:
      860 bytes
      Views:
      9
    #8
    Nimisha Pandey likes this.
  9. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Enclosed is my version of code. ( Not able to upload the .ipynb file so copying the complete code)
    ###################################
    option_list = ["PAPER","SCISSOR","ROCK"]
    player1 = input("Player 1 - Enter Rock / Scissor / Paper : " )
    player2 = input("Player 2 - Enter Rock / Scissor / Paper : " )

    if (player1.upper() not in option_list) or (player2.upper() not in option_list):
    print("One of the Player have selected wrong option")
    else:
    if (player1 == player2):
    print("Its a Draw")
    elif (player1.upper() == "ROCK" and player2.upper() == "SCISSOR"):
    print("Player One is Winner")
    elif (player1.upper() == "SCISSOR" and player2.upper() == "PAPER"):
    print("Player One is Winner")
    elif (player1.upper() == "PAPER" and player2.upper() == "ROCK"):
    print("Player One is Winner")
    elif (player2.upper() == "ROCK" and player1.upper() == "SCISSOR"):
    print("Player Two is Winner")
    elif (player2.upper() == "SCISSOR" and player1.upper() == "PAPER"):
    print("Player Two is Winner")
    elif (player2.upper() == "PAPER" and player1.upper() == "ROCK"):
    print("Player Two is Winner")
    ###################################
     
    #9
    Nimisha Pandey likes this.
  10. Kunal Guwalani

    Kunal Guwalani Well-Known Member
    Simplilearn Support

    Joined:
    Jul 17, 2018
    Messages:
    90
    Likes Received:
    3
    Hi Satbir,

    I would like to inform you that we have fixed the issue now you be able to join the session from the LMS itself using the attend button.
     
    #10
  11. Kunal Guwalani

    Kunal Guwalani Well-Known Member
    Simplilearn Support

    Joined:
    Jul 17, 2018
    Messages:
    90
    Likes Received:
    3
    Hi Rajsekhar,

    I would like to inform you that we have fixed the issue now you be able to join the session from the LMS itself using the attend button.
     
    #11
  12. Kunal Guwalani

    Kunal Guwalani Well-Known Member
    Simplilearn Support

    Joined:
    Jul 17, 2018
    Messages:
    90
    Likes Received:
    3
    I hope you got the session recording via email if not kindly lets us know about it and we will provide you with the recordings.
     
    #12
  13. Kunal Guwalani

    Kunal Guwalani Well-Known Member
    Simplilearn Support

    Joined:
    Jul 17, 2018
    Messages:
    90
    Likes Received:
    3
    Most Welcome.
     
    #13
  14. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Got the recording. Thanks
     
    #14
  15. _39768

    _39768 Member

    Joined:
    Sep 7, 2018
    Messages:
    9
    Likes Received:
    1
    Hi Nimisha,
    Please check the attached code for Game assignment!

    Thanks
    Sateesh
     

    Attached Files:

    #15
    Nimisha Pandey likes this.
  16. Kunal Guwalani

    Kunal Guwalani Well-Known Member
    Simplilearn Support

    Joined:
    Jul 17, 2018
    Messages:
    90
    Likes Received:
    3
    Most Welcome.
     
    #16
  17. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Hi Kunal
    I had raised one query on 19 Nov and till today i have not got any reply. The reference number 00298103
     
    #17
  18. Priyanka_Mehta

    Priyanka_Mehta Well-Known Member
    Simplilearn Support

    Joined:
    May 25, 2017
    Messages:
    873
    Likes Received:
    57
    HI Satbir,

    Hopefully you are referring here to the concern raised for Python questions. I would like to inform you that, it is already forwarded to the concerned team to rectify the errors in it. I hope this will help you.
     
    #18
  19. _40196

    _40196 Member

    Joined:
    Sep 13, 2018
    Messages:
    2
    Likes Received:
    1
    HI Kunal,
    Today I had a challenge in joining the class from the LMS. Also, I did not get the link even when I am a registered student of this class and had attended all the classes which had happened in the past. Thanks to the support guy who immediately sent me the link while the class was in progress and after which I was able to join todays class. I really do nt want this to happen again. Pls can you check this.

    Regards
    vikas
     
    #19
  20. Kunal Guwalani

    Kunal Guwalani Well-Known Member
    Simplilearn Support

    Joined:
    Jul 17, 2018
    Messages:
    90
    Likes Received:
    3
    Yes i got to know about it the support guy came to me and i sent you the link if you face the same issue tomorrow call on the same number. Our team is looking in to this.
     
    #20
  21. andrew colby

    andrew colby New Member

    Joined:
    Oct 31, 2018
    Messages:
    1
    Likes Received:
    1
    Homework from Nov 25 class
    • Find out if a number is prime or not
    • Find all prime numbers between 1 and 100
    • Find first 50 prime numbers
    • Find the Nth element of the Fibonacci series
     

    Attached Files:

    #21
    Last edited: Nov 25, 2018
    Nimisha Pandey likes this.
  22. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Hi Nimisha,
    Enclosed is the homework for finding the Prime Number and Fibonacci Series
     

    Attached Files:

    #22
    Nimisha Pandey likes this.
  23. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Hi Nimisha
    I have a question, this is related to DataFrame.
    As we know and learned that DataFrame can get input in the form of List, Dict, ndarray, series and dataframe itself.
    This might be a silly question but still:- how can one differentiate which input has been given whether it is list, series etc.
    like when we are create series the data is in () and then we are creating list the data is in [ ]
     
    #23
  24. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Hi Nimisha
    in LMS we have Project and Labs... please can you assist as to how one needs to do the same.
     
    #24
  25. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Hi Nimisha
    Please can you explain .. how this is computed
    1. lst = [i // i for i in range(0,4)]
    2. lst = [[c for c in range(r)] for r in range(3)]
    in the sense is it from left to right in the [ ] or vice versa
     
    #25
  26. _39768

    _39768 Member

    Joined:
    Sep 7, 2018
    Messages:
    9
    Likes Received:
    1
    Hi Nimisha,
    I need Mr.Anand's IPYNB file for the class on 24th Nov, as he given few examples on VarArg(*arg) & **kwarg process, so please provide that too?

    Thanks
    Sateesh
     
    #26
  27. Nikzad

    Nikzad Member

    Joined:
    Feb 29, 2016
    Messages:
    5
    Likes Received:
    0
    Please share the recording for Session 01 (17th Nov).
     
    #27
  28. Kunal Guwalani

    Kunal Guwalani Well-Known Member
    Simplilearn Support

    Joined:
    Jul 17, 2018
    Messages:
    90
    Likes Received:
    3
    On the Project tab, you have to submit the project and on lab you can practice the code.
     
    #28
  29. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    My Question was who will explain the project.
     
    #29
  30. Nimisha Pandey

    Trainer

    Joined:
    Aug 4, 2017
    Messages:
    14
    Likes Received:
    5
     
    #30
  31. Priyanka_Mehta

    Priyanka_Mehta Well-Known Member
    Simplilearn Support

    Joined:
    May 25, 2017
    Messages:
    873
    Likes Received:
    57
    Hi Satbir,

    This is to inform you that, in the last session the concerned trainer will guide you dedicatedly on the project conceptually. And will also let you when to start working on the Project (i.e towards the middle of the training 5th or 6th day).

    So, please do not worry on the same. Have a great learning experience with us.
     
    #31
  32. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Any update on this?
     
    #32
  33. Priyanka_Mehta

    Priyanka_Mehta Well-Known Member
    Simplilearn Support

    Joined:
    May 25, 2017
    Messages:
    873
    Likes Received:
    57
    HI Satbir,
    Team is checking all the Python questions and accordingly will do the needful. Really appreciate your cooperation in this regards.
     
    #33
  34. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    upload_2018-12-2_23-24-27.png
     
    #34
  35. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Hi Nimisha
    I have one question related to the project. In the word document it stated that one needs to do the basis data exploratory analysis and explore data. Wanted to check if there is any limit for that or not. I think you have got my point what i am trying to say.
    @ Simplilearn team please can you forward this question to her
     
    #35
  36. Kunal Guwalani

    Kunal Guwalani Well-Known Member
    Simplilearn Support

    Joined:
    Jul 17, 2018
    Messages:
    90
    Likes Received:
    3
    The main motive of EDA is to find unique relation of data there is no limit as such you are free to do EDA as per your convenience.
     
    #36
  37. Nikzad

    Nikzad Member

    Joined:
    Feb 29, 2016
    Messages:
    5
    Likes Received:
    0
    Any update?
     
    #37
  38. Kunal Guwalani

    Kunal Guwalani Well-Known Member
    Simplilearn Support

    Joined:
    Jul 17, 2018
    Messages:
    90
    Likes Received:
    3
    I have emailed you the downloading link. Please check your inbox and conform.
     
    #38
  39. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Question 1
    I have one question related to the project. In the word document it states that one needs to do the basis data exploratory analysis and explore data.
    Wanted to check if there is any limit for that or not. I think you have got my point what i am trying to say.


    Question 2
    Wanted to check how can one do Goupby or Group by. In the sense if we have Complaint Type and City.
    yes
    I hope you have got my point what i am try to say.


    Question 3.
    In the NYC 311, we have columns like Created Date, Closed Date etc.
    How do we format that date so that when the User inputs the start date and end date it should display all the information?

    Question 4
    how can i write a menu drive program in J Note.
    How can one pass DataFrame as argument and return back to the calling program
     
    #39
  40. Nishant Singh_3

    Nishant Singh_3 Well-Known Member
    Simplilearn Support

    Joined:
    Aug 1, 2018
    Messages:
    136
    Likes Received:
    5
    Hi Learner,

    Answer-1 :
    There is no limit to EDA you can do as many operations as you link for EDA.

    Answer-2 :
    You can use group by as follows :
    df.groupby(['City','Complaint Type'])

    I hope that this helps you.

    I request you to answer my below questions for Questions 3 & 4 so that I can answer you accordingly.

    For Question-3 :
    Can you let me know that what exact information you want to display based on the date ?

    For Question-4 :
    What exactly do you want to return from the function after taking a DataFrame as input ?

    I am eagerly waiting for your reply to assist you further.

    Thank You.

    Regards,
    Nishant Singh
    Global Teaching Assistant
     
    #40
  41. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
     
    #41
  42. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Hi All
    I have a question.
    Assume that in my csv file i have 5 sheets.
    Can i read all the 5 sheets in on go.
     
    #42
  43. Satbir Singh_1

    Satbir Singh_1 Active Member

    Joined:
    Mar 30, 2016
    Messages:
    21
    Likes Received:
    2
    Hi Team
    Somewhere in the recording it was told that there are two ways of displaying selected column after using the groupby.


    1. 1hyp.groupby(['School','Gender'])[['Math1','SST']].mean() -- This is working.
    2. Need to know the second way.
    In the recording it stated that Math1 and SST can be added before the groupby. Wanted to know the syntax.
     
    #43

Share This Page