Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Ajit Yadav

Ajit Yadav

Community Learner
Share
24Questions
23Answers
33.0KViews on questions

Mongodb: failed to connect to server on first connect

By using the below-mentioned codes you can solve mongoerror: failed to connect to server [localhost:27017] on first connect, you can use : mongoose.connect('mongodb://localhost/users_test'); or mongoose.connect('localhost/users_test'); or mongoose.connect('localhost','users_test');But not…

Devops

Answered Jun 14, 2021 · 1.2K Views Read answer →

Soql in Vf page using sForce.connection

sforce connect : The version of the AJAX Toolkit is in the URL. After this script executes, the toolkit is loaded and a global object, sforce. connection , is created. This object contains all of the API calls and AJAX Toolkit methods, and manages the session ID. To get the list of records from the result You need…

Salesforce

Answered Apr 16, 2021 · 1.4K Views Read answer →

How to plot a histogram using Matplotlib in Python with a list of data?

If you want to do python plot histogram from list using matplotlib you can use the following piece of code also you don't need to attach any 'names' to x-values, as on x-axis you would have bins:- import matplotlib.pyplot as pltimport numpy as np %matplotlib inline x = np.random.normal(size = 1000) plt.hist(x,…

Python

Answered Apr 14, 2021 · 1.4K Views Read answer →

Git error fatal: Authentication failed

Go to the Control Panel and then navigate to Credential manager. Change the username and password from Git repository. Usually, when you are pushing the repository, there is a pop-up that asks you to login to your Azure account. You can also set the username and email in the beginning by setting the global variable.…

Devops

Answered Feb 26, 2021 · 3.6K Views Read answer →

fatal: not a git repository (or any of the parent directories): .git

For this question, you need to enter the directory and then if you run git status Then the status shows that you are on the master. example:- $ git clone git://cfdem.git.sourceforge.net/gitroot/cfdem/liggghts Cloning into 'directory'... remote: Counting objects: 3005, done. remote: Compressing objects: 100%…

Salesforce

Answered Feb 23, 2021 · 1.3K Views Read answer →

Explain how a polynomial regression works.

Polynomial Regression is linear on the coefficients since we don’t have any power of the coefficients (all the coefficients are raised to the power of 1: b0, b1, ..., bn). However, Polynomial Regression is a nonlinear function of the input x, since we have the inputs raised to several powers: x (power 1), x2 (power…

Data Science

Answered Dec 25, 2019 · 708 Views Read answer →

How to read an SQL file in R?

SQL file can be read by connecting to a database and it completely depends on the type of database that we use. One such library is RODBC. To connect the database, we can use the following Install and load the library install.packages("RODBC") # RODBC Example of syntax library(RODBC) Establish a connection myconn

Data Science

Answered Nov 9, 2019 · 802 Views Read answer →

Explain dplyr() library along with installation in R.

dplyr() is used to provide much better flexibility in R regarding data manipulation and other operations.dplyr aims to provide following operations filter()- It is used to select subset of rows based on conditions passed arrange()- It is used in ordering sequence or rows based on the condition passed. select()- It is…

Data Science

Answered Nov 4, 2019 · 873 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.