Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Bhagwati Dubey

Bhagwati Dubey

Community Learner
Share
32Questions
31Answers
42.3KViews on questions

How to sum a variable by group in R

To sum by group in r, you can use the group_by and the summarise_at functions to get the summation by group: iris %>% # Specify data frame group_by(Species) %>% # Specify group indicator summarise_at(vars(Sepal. Length), # Specify column list(name = sum)) # Specify function # A tibble: 3 x 2 # Species name # # 1…

Python

Answered Apr 22, 2021 · 743 Views Read answer →

What is SQL Server Transactional Replication from 2005 to 2017?

SQL Server Transactional Replication:Transactional replication is a feature of Azure SQL Managed Instance and SQL Server that enables you to replicate data from a table in Azure SQL Managed Instance or a SQL Server instance to tables placed on remote databases. This feature allows you to synchronize multiple tables in…

SQL Server

Answered Apr 16, 2021 · 791 Views Read answer →

What's the advantage of the client secret in OAuth2?

You can use OAuth2, for client secret mechanism as it is a means of authorizing a client, the software requesting an access token. You can also think of Oauth2 as a secret passphrase that proves to the authenticated user that the client app is authorized to make a request on the behalf of the users. An app requesting…

Salesforce

Answered Apr 16, 2021 · 1 Views Read answer →

How to change the column names in a dataframe in R?

A data frame is a structure having 2 dimensions which contains data in the form or rows and columns.It is like a spreadsheet or dictionaries of series. To create a dataframe in R, we use data.frame function which combines all the input data and creates a dataframe. In R, colnames() function can be used to change the…

Data Science

Answered Jan 2, 2020 · 1.0K Views Read answer →

Explain with a case study how to implement polynomial regression in R.

For polynomial regression, we have to read the data. # Importing the dataset dataset = read.csv('Position_Salaries.csv') dataset = dataset[2:3] Although the dataset is small, so we will not be splitting for training and testing First we will fit using linear regression model # Fitting Linear Regression to the dataset…

Data Science

Answered Nov 9, 2019 · 915 Views Read answer →

Explain the tidyr() function in R along with installation.

tidyr() is a complimentary package in R used to create tidy datasets. Tidy data is when we have a data set where every row is an observation and every column is a variable, this way the data is organized in such a way where every cell is a value for a specific variable of a specific observation. Having data in this…

Data Science

Answered Nov 9, 2019 · 986 Views Read answer →

More members from the Python community

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

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.

Learn & Explore

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