questions/data-science
Try this: df %>% filter(!is.na(col1)) READ MORE
Hello team, you can use na.omit x <- c(NA, 3, ...READ MORE
To change the font size of text ...READ MORE
You can change data types using as.* ...READ MORE
Hi, You need to create a data frame ...READ MORE
Hi, You can use plyr module. It will give ...READ MORE
Hi Swathi, You can use ls() to list ...READ MORE
.tolist() function will remove index READ MORE
You can use the 'filter' function from ...READ MORE
Description Windows & Linux Mac Clear console Ctrl+L ...READ MORE
You can also try this way, x_new = ...READ MORE
Check out file.exists() function!! The function file.exists() returns a ...READ MORE
The function match works on vectors : x <- sample(1:10) x # ...READ MORE
The difference are - A list holds different ...READ MORE
Replace all \ with \\. Its trying ...READ MORE
Let me explain in simple words, set seed ...READ MORE
It's easier to convert alpha to characters ...READ MORE
Try this: df$symbol <- as.character(df$symbol) df$symbol[df$sym ...READ MORE
Hi @radha, You can have 2 types of ...READ MORE
Overfitting is a modeling error which occurs when ...READ MORE
Yes, Just like @Maverik said, It happens ...READ MORE
We can Drop Columns by name in ...READ MORE
m <- 1:50 n<- m[seq(1, length(m), 6)] The above ...READ MORE
RDBMS: Relational Database Management System A relational database ...READ MORE
You can map the facetting variable to ...READ MORE
Hi, @Prasanna, The “TypeError: ‘tuple’ object is not ...READ MORE
You just have to add 'outlier.shape=NA' inside ...READ MORE
There are several solutions to this. One of ...READ MORE
Hi Radha, You can change the order of ...READ MORE
Let's assume your list of lists is ...READ MORE
This should work: for ( i in 1:dim(m)[[1]] ...READ MORE
There are multiple functions for this purpose ...READ MORE
Follow this: tools > global options > appearance ...READ MORE
This question appears if your user environment ...READ MORE
To replace all the variables to character ...READ MORE
sink("outfile.txt") cat("hello") cat("\n" ...READ MORE
Using Anaconda Python 3.6 version For Windows ...READ MORE
If you used sub() to replace the ...READ MORE
Hi, you can also try guides() to ...READ MORE
colSums(is.na(data_frame_name)) will return you number of nulls ...READ MORE
You missed out " " for variables ...READ MORE
Here are the two main approaches. I ...READ MORE
Remote we are connecting to hive with ...READ MORE
<$today:MM/dd/yyyy> READ MORE
This should do it integer_location = np.where(df.index == ...READ MORE
The same rules almost follow for all ...READ MORE
Hi, You can use tahs$h1() to h6() to ...READ MORE
Hi, The below code returns rows without ...READ MORE
Principal Component Analysis (PCA) is an unsupervised ...READ MORE
data = data.frame( zzz11def = sample(LETTERS[1:3], 100, replace=TRUE), zbc123qws1 ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.