Data Science with Python | Sonal Ghanshani

Discussion in 'Big Data and Analytics' started by Nishant_Singh, Jul 13, 2019.

  1. Nishant_Singh

    Nishant_Singh Well-Known Member
    Simplilearn Support

    Joined:
    Aug 1, 2018
    Messages:
    222
    Likes Received:
    30
    #1
    _35236 likes this.
  2. Nasser Hijazi

    Nasser Hijazi Member

    Joined:
    Jun 27, 2019
    Messages:
    3
    Likes Received:
    0
    #2
  3. _35236

    _35236 New Member

    Joined:
    Jul 20, 2018
    Messages:
    1
    Likes Received:
    0

    Check your LMS for recordings.
     
    #3
  4. AVINASH KUMAR SINGH_1

    Joined:
    Mar 28, 2019
    Messages:
    1
    Likes Received:
    0
    Hi Sonal,

    Can you please upload the the data sets and files we worked on 27th and 28th.
     
    #4
  5. Sonal Ghanshani_1

    Customer

    Joined:
    Oct 31, 2018
    Messages:
    11
    Likes Received:
    0
    #5
  6. Bishal kumar Choudhary

    Joined:
    Jul 6, 2019
    Messages:
    1
    Likes Received:
    0
    Hello mam,
    getting this error

    import pandas as pd
    import numpy as np

    distance = [10,15,20,25,30]
    time = [.3,.6,.9,.12,.15]

    speed = distance/time

    np_distance = np.array(distance)
    np_time = np.array(time)

    speed = np_distance/np_time


    NameError Traceback (most recent call last)
    <ipython-input-1-502c0b057ff2> in <module>
    ----> 1 speed = np_distance/np_time

    NameError: name 'np_distance' is not defined
     
    #6
  7. Arun Kumar Gupta_1

    Joined:
    May 6, 2019
    Messages:
    3
    Likes Received:
    0

    Just remove the line speed=distance/time and code will run
     
    #7
  8. Arun Kumar Gupta_1

    Joined:
    May 6, 2019
    Messages:
    3
    Likes Received:
    0
    Hello Mam,
    I got error massage while running this code. which is from data science with python self learning section.
    txt file is uploaded herewith
    please help
    thanking you,
     

    Attached Files:

    #8
  9. Shyam Vittal

    Shyam Vittal Member

    Joined:
    Jul 5, 2019
    Messages:
    3
    Likes Received:
    0
    Topic -Data Science and Python | Assessment
    SubTopic : Error while Importing movies.dat,ratings.dat and users.dat in python


    Hello Sonal,
    I am importing a movies.csv file in python. Below is the code.

    import numpy as np
    import pandas as pd
    data = pd.read_csv('movies.csv', sep = '::')

    But I am getting an error as -
    C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py:1: ParserWarning: Falling back to the 'python' engine because the 'c' engine does not support regex separators (separators > 1 char and different from '\s+' are interpreted as regex); you can avoid this warning by specifying engine='python'.
    """Entry point for launching an IPython kernel.

    Please let me know what I am doing wrong here.
     
    #9
    Last edited: Aug 16, 2019
  10. Monalisa Ganguly

    Joined:
    Jun 19, 2019
    Messages:
    2
    Likes Received:
    0
    Hi Sonal,

    I have question on project submit. when do I need to submit it and what exactly needed for it? I am from 13th July batch of 'Data Science with Python'. I would need some help on that.
    Thanks,
    Monalisa
     
    #10
  11. _32999

    _32999 New Member

    Joined:
    Jun 23, 2018
    Messages:
    1
    Likes Received:
    0
    I am getting error while converting tuples to list. pls check and suggest where i am wrong.


    (123, 'abc', 'xyz', 'zara')


    ---------------------------------------------------------------------------
    TypeError Traceback (most recent call last)
    <ipython-input-142-e80df76a7ef9> in <module>
    3
    4
    ----> 5aList = list(aTuple) # convert tuple into list
    6 print (aList)

    TypeError: 'list' object is not callable
     
    #11
  12. Sonal Ghanshani_1

    Customer

    Joined:
    Oct 31, 2018
    Messages:
    11
    Likes Received:
    0
    Hello Shyam,

    I have uploaded a hint on the drive. Please peruse.

    regards,
    Sonal Ghanshani
     
    #12
  13. Sonal Ghanshani_1

    Customer

    Joined:
    Oct 31, 2018
    Messages:
    11
    Likes Received:
    0
    Hello Monalisa,

    We will be working on the project on 17th August, 2019. The aim is to complete it and submit it on the last day. However, you have to finish the project within within 90 days of the enrolment.

    regards,
    Sonal Ghanhshani
     
    #13
  14. Monalisa Ganguly

    Joined:
    Jun 19, 2019
    Messages:
    2
    Likes Received:
    0
    Thank you Sonal
     
    #14
  15. Arun Kumar Gupta_1

    Joined:
    May 6, 2019
    Messages:
    3
    Likes Received:
    0
    Maam, Yesterday on 17 Aug I have done the project movielens. We have built a model on fields age and occupation to predict target variable ratings. All three are categorical variable. If we find chi2 test with "age and rating" and with "Occupation and rating". p_value is more than 0.05. It means " we cann't reject the null Hypothesis" means there is no relation between 'age & rating' and 'Occupation & rating'. Then how to implement model on age and occupation as input to predict rating??? There is big confusion.. Please solve this.. Thanking You
     
    #15
  16. Shyam Vittal

    Shyam Vittal Member

    Joined:
    Jul 5, 2019
    Messages:
    3
    Likes Received:
    0

    Thank you Sonal
     
    #16
  17. Shyam Vittal

    Shyam Vittal Member

    Joined:
    Jul 5, 2019
    Messages:
    3
    Likes Received:
    0
    Hello Sonal,

    Could you kindly show us a few examples codes on Web-Scraping, Extracting data from E-Mail, SharePoint or other resources using Python?
     
    #17

Share This Page