Most answered questions in Data Analytics

+4 votes
11 answers

Creating an empty data.frame with only column names - R

Hi, You need to create a data frame ...READ MORE

Dec 11, 2020 in Data Analytics by MD
• 95,460 points
108,090 views
0 votes
11 answers

Changing the legend title in ggplot

Hi, you can also try guides() to ...READ MORE

Jul 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
17,706 views
0 votes
7 answers

How to iterate over rows in a Dataframe in pandas (Python)?

You can use IMHO: for ind in df.index: ...READ MORE

Dec 10, 2018 in Data Analytics by Ishaan
5,600 views
+2 votes
5 answers

Printing a data.frame without index - Python

.tolist() function will remove index READ MORE

Mar 11, 2019 in Data Analytics by nishant thakur
87,960 views
+1 vote
5 answers

How to remove NA values from a Vector in R?

Hello team, you can use na.omit x <- c(NA, 3, ...READ MORE

Dec 9, 2020 in Data Analytics by anonymous
• 82,840 points
195,350 views
+1 vote
5 answers

How to remove NA values with dplyr::filter()

Try this: df %>% filter(!is.na(col1)) READ MORE

Mar 26, 2019 in Data Analytics by anonymous
332,023 views
+2 votes
4 answers

Which tool Should I learn first Tableu or SAS

Hello I think it will be very much ...READ MORE

Mar 13, 2019 in Data Analytics by MrBoot
• 1,230 points
2,680 views
+7 votes
4 answers

How can I include javascript code into my shiny R dashboard?

There are multiple ways doing this. One ...READ MORE

Dec 5, 2018 in Data Analytics by Maverick
• 10,840 points
6,594 views
+1 vote
4 answers

Which is the best r package used to scrap web pages?

You can use rvest or Rselenium package. READ MORE

Feb 13, 2019 in Data Analytics by Marv
1,180 views
+1 vote
4 answers

Python vs. R for data science

I would say both Python and R ...READ MORE

Aug 1, 2019 in Data Analytics by briny
2,246 views
0 votes
4 answers

How to change font size of text and axes on R plots ?

To change the font size of text ...READ MORE

Dec 16, 2020 in Data Analytics by Gitika
• 65,770 points
122,864 views
0 votes
3 answers

2) Which of the following are applicable to Bigdata technologies(Select all applicable)

Replication, transaction processing READ MORE

Nov 25, 2021 in Data Analytics by anonymous
3,420 views
0 votes
3 answers

How to select rows in a range from dataframe?

This should do it integer_location = np.where(df.index == ...READ MORE

Dec 16, 2020 in Data Analytics by Roshni
• 10,480 points
15,176 views
0 votes
3 answers

Code snippet to find number of null values in each column in a dataframe in R

colSums(is.na(data_frame_name)) will return you number of nulls ...READ MORE

Jul 5, 2019 in Data Analytics by sindhu
17,716 views
+1 vote
3 answers

How to change the value of a variable using R programming in a data frame?

Try this: df$symbol <- as.character(df$symbol) df$symbol[df$sym ...READ MORE

Jan 11, 2019 in Data Analytics by Tyrion anex
• 8,700 points
35,862 views
0 votes
3 answers

Can a C program be written in R programming language?

If you have a algorithm you can ...READ MORE

Apr 9, 2019 in Data Analytics by anonymous
1,986 views
+3 votes
3 answers

What is NLP? Can you tell me about its future?

When you ask Siri to give you ...READ MORE

Dec 18, 2018 in Data Analytics by Kalgi
• 52,350 points
1,768 views
+4 votes
3 answers

Issue with dynamic messages when creating a dashboard using shiny R

I had a wrong argument to one ...READ MORE

Dec 3, 2018 in Data Analytics by Ali
• 11,360 points
2,969 views
+6 votes
3 answers

"Error: '\U' used without hex digits in character string starting ""C:\U"" when trying to read a csv file in R

Replace all \ with \\. Its trying ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
45,046 views
+1 vote
3 answers

Which language should I learn when starting career as data scientist - R or Python

I'll put down a few parameters on ...READ MORE

Oct 26, 2018 in Data Analytics by Kalgi
• 52,350 points
1,650 views
+1 vote
3 answers

What is logistic regression?

Logistic regression is analysis to conduct when ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
2,037 views
0 votes
3 answers

What is Linear Regression?

linear regression is useful for finding relationship ...READ MORE

Aug 7, 2019 in Data Analytics by nikita
1,572 views
+1 vote
3 answers

%>% What are these symbols/characters used for in R?

%>% is called a pipe. The process ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
1,358 views
0 votes
3 answers

What is the goal of A/B Testing?

With A/B Testing you can see which ...READ MORE

Sep 18, 2018 in Data Analytics by zombie
• 3,790 points
3,171 views
+10 votes
3 answers

Which is a better initiative to learn data science: Python or R?

Well it truly depends on your requirement, If ...READ MORE

Aug 9, 2018 in Data Analytics by Abhi
• 3,720 points
1,664 views
+1 vote
3 answers

Number of missing values in dataset

Try this, lapply(airquality, function(x) { sum(is.na(x)) }) READ MORE

Aug 7, 2019 in Data Analytics by anonymous
4,341 views
0 votes
3 answers

How can I add YAML current date in rmarkdown ?

<$today:MM/dd/yyyy> READ MORE

Mar 25, 2019 in Data Analytics by Anupam Das
15,821 views
+5 votes
3 answers

Counting the frequency of unique values - R

Hi, You can use plyr module. It will give ...READ MORE

Dec 14, 2020 in Data Analytics by MD
• 95,460 points
98,665 views
0 votes
3 answers

How to write lines to a text file in R?

sink("outfile.txt") cat("hello") cat("\n" ...READ MORE

May 24, 2019 in Data Analytics by anonymous
19,072 views
+4 votes
3 answers

How to sum a variable by group in R?

You can also try this way, x_new = ...READ MORE

Aug 1, 2019 in Data Analytics by Cherukuri
• 33,030 points
78,200 views
+1 vote
3 answers

How to change column names of a Data frame?

Hi, To change the name of a column ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
1,744 views
0 votes
3 answers

R vs MATLAB, which is better with respect to machine learning?

Hello, Both are a good programming language you ...READ MORE

Apr 12, 2019 in Data Analytics by SA
• 1,090 points
1,541 views
+1 vote
3 answers

Filtering R data-frame with multiple conditions

You can use the 'filter' function from ...READ MORE

Mar 26, 2018 in Data Analytics by Bharani
• 4,660 points
87,188 views
+1 vote
3 answers

Integration of Google Collaboratory with github

You can use SSH protocol to connect ...READ MORE

Aug 7, 2018 in Data Analytics by Kalgi
• 52,350 points
3,195 views
+2 votes
3 answers

Problem with installation of Wordcloud in anaconda

Using Anaconda Python 3.6 version For Windows ...READ MORE

Aug 7, 2018 in Data Analytics by Priyaj
• 58,020 points
18,728 views
+2 votes
2 answers

How to create our own dataframe in R?

Data frames are tabular data objects. Unlike ...READ MORE

Oct 29, 2020 in Data Analytics by anonymous
1,377 views
0 votes
2 answers

R: Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...)

Use unlist function to convert the list ...READ MORE

Oct 14, 2019 in Data Analytics by anonymous
• 33,030 points
4,119 views
+1 vote
2 answers

web scraping on Tripadvisor's review

Hi, I used the below code to ...READ MORE

Sep 16, 2019 in Data Analytics by Cherukuri
• 33,030 points
4,326 views
0 votes
2 answers

how to convert a data frame into a list in R

Convert whole data frame into a list?? ...READ MORE

Sep 4, 2019 in Data Analytics by anonymous
• 33,030 points
1,344 views
0 votes
2 answers

Error with installing ggplotly.

@bobby, uninstall Rtools and reinstall Rtools with ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
1,118 views
0 votes
2 answers

How to call Rmarkdown from another R script?

render() is used to call external Rmarkdown ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
7,395 views
0 votes
2 answers

How to add an image to shiny application?

Hi Prachi. To include an image in the ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
12,358 views
0 votes
2 answers

R maps using Tmaps

Check this out! https://www.youtube.com/watch?v=GMi1ThlGFMo READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
1,140 views
+1 vote
2 answers

change the color for bars in geom_bar in ggplot

Hi @radha, You can have 2 types of ...READ MORE

Jul 24, 2019 in Data Analytics by Cherukuri
• 33,030 points
35,806 views
0 votes
2 answers

Top N and Last N records in R Data Frame

Hi, top_n( ) and top_frac( ) also is ...READ MORE

Sep 3, 2019 in Data Analytics by anonymous
• 33,030 points
5,127 views
0 votes
2 answers

Change the default order of labels of factor in R

You can also use relevel() to change ...READ MORE

Jun 27, 2019 in Data Analytics by sindhu
3,043 views
0 votes
2 answers

R Package installed or not

To see all installed packages in system ...READ MORE

Jun 27, 2019 in Data Analytics by anonymous
• 33,030 points
955 views
+1 vote
2 answers

Keras TypeError: 'int' not iterable

Long Short Term Memory networks are implemented ...READ MORE

Jun 17, 2019 in Data Analytics by Sophie may
• 10,620 points
3,300 views
0 votes
2 answers

Tensorflow installation error

Hi there, If you are trying to install ...READ MORE

Jul 16, 2020 in Data Analytics by Suhana
• 340 points
3,223 views
0 votes
2 answers

What is supervised learning?

Supervised learning is the machine learning task ...READ MORE

Sep 3, 2019 in Data Analytics by anonymous
• 33,030 points
1,840 views