Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Pavithra Shah

Pavithra Shah

Community Learner
Share
6Questions
5Answers
8.6KViews on questions

What is Java fraction?

Violation of the rules The changeNumerator and Java fraction methods don’t work. Fix them. You may NOT change their signatures. Each fix should require the addition of just one word. You did change the signatures. public static int fracs() { // DO NOT CHANGE THIS SIGNATURE! Now, in the spirit of the course, I'm not…

Java

Answered Oct 13, 2022 · 1.1K Views Read answer →

How to convert a bar histogram into a line histogram in R?

The histograms are meant to be bars but representing them as a continuous line makes more visual sense. Using default R graphics (i.e. without installing ggplot) we can do the following, which might also make what the density function does a bit clearer: # Generate some data data=rnorm(1000) # Get the density estimate…

Data Science

Answered Aug 1, 2020 · 1.5K Views Read answer →

How to create an object in python?

We saw above that we can use a class object to access its own different attributes. It can also be used to create a new object and process is to create a new object is mentioned below: ob = MyClass() This code line will create an object instance “ob” for class “MyClass()” defined in the previous question. By using…

Data Science

Answered Jan 16, 2020 · 1.7K Views Read answer →

How to define python variables?

There are some important points that you keep in mind while declaring a variable in python. That is: Variable should begin with the alphabet (a-z, A-Z) or underscore (_) but not with a special character or numeric digits. Other characters can be a letter, numbers, underscore but not a special character. Python is case…

Data Science

Answered Nov 12, 2019 · 1.5K Views Read answer →

More members from the Data Science community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.