Welcome to the Simplilearn Community

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

Sign Up

Search results

  1. R

    TypeError: '>' not supported between instances of 'numpy.ndarray' and 'int'

    #comparison np_weekly_hours = np.array(['42','36','30','24','18','12']) np_weekly_hours[np_weekly_hours>30] --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-17-a3f8d7e7ac03> in <module> 1 #comparison 2...
  2. R

    True Divide not supported

    #calculate speed distance = ['30','40','50','60'] time = ['3','4','5','6'] np_dist = np.array(distance) np_time = np.array(time) speed = np_dist/np_time speed --------------------------------------------------------------------------- TypeError Traceback (most recent call last)...
  3. R

    XML parser is not working

    XML parser is not working when I am using BeautifulSoup. Kindly help to rectify. Regards Rohit soup.body.a.prettify(formatter = 'xml') Error Message: --------------------------------------------------------------------------- KeyError Traceback (most recent call last)...
  4. R

    Issue with Matplotlib

    Finding error with matplotlib? command : plt.figure(figsize=(10,10)) TypeError: 'module' object is not callable plt.pie(percentile,labels=cause,explode=explode,autopct='%1.1%%',startangle=70) AttributeError: module 'matplotlib' has no attribute 'pie' I installed matplotlib again using command...
Top