Thank you for a wonderful tutorial! I'm working with large dataset, and I can see the results I'm looking for in the console by doing head() but its not applying to my actual dataset when i do View(). Im not sure what im doing wrong here. Any advice?
Hmm, you should see similar things with head and View, assuming you pass them each the same data set. My guess is that your inputs aren't exactly the same. Good luck!
what if a column contains a vector, instead of Johny Smith you have c(Johny, Smith) and instead of Mary Smith you have c(Mary, Smith). How do you separate them? thanks
Hello, Thank you for the video, this was very explanatory. But what do we do if we want to split the observations in Multiple columns in our dataset into multiple columns, what do we do? I tried the separate function, but this didn't work
Hi! The separate() command specifically targets a single column, probably because a lot could go wrong if you were to split multiple columns at once. While you could iterate the process, I'd be nervous about doing so.
Professor. It is a great content. I have a large dataset of tick level data. So, each day i have thousands of transactions. Is it possible to split daily transactions data into three buckets- namely low, medium, and large transactions. Say there are 30k transactions. I want first 10k as low, the middle 10k as medium, and the rest as large? Thank You.
I have some question . This is my code and I think I did same as you, but it doesnt work. separate(Graduation_1, col = date, into = c("year", "month", "day"))
Error code : Must extract column with a single valid subscript. x Subscript `var` has the wrong type `function`. i It must be numeric or character. Run `rlang::last_error()` to see where the error occurred.
You can find materials supporting this vid (and others) at github.com/equitable-equations/youtube.
separate has been replaced with separate_wider_(delim, position or regex). It is a great function.
Thank you so much for teaching this lesson!
Cool, very useful command! Thank you so much!
What an amazing channel. Thank you for your help!
Thanks! Glad it's been helpful.
Thank you for a wonderful tutorial! I'm working with large dataset, and I can see the results I'm looking for in the console by doing head() but its not applying to my actual dataset when i do View(). Im not sure what im doing wrong here. Any advice?
Hmm, you should see similar things with head and View, assuming you pass them each the same data set. My guess is that your inputs aren't exactly the same. Good luck!
what if a column contains a vector, instead of Johny Smith you have c(Johny, Smith) and instead of Mary Smith you have c(Mary, Smith). How do you separate them? thanks
Hi! The hoist() command is probably what you're looking for.
how do you separate the values of a column where no delimiter is given?
There has to be some sort of delimiter in order for this task to make sense, right? Either in the data or user-specified.
@@EquitableEquations Thanks, I've figured it out. I used, sep = 1 to split the values of a column sexage into 2 new columns sex and age..
Wonderfully thaks!!!
Hello, Thank you for the video, this was very explanatory. But what do we do if we want to split the observations in Multiple columns in our dataset into multiple columns, what do we do? I tried the separate function, but this didn't work
Hi! The separate() command specifically targets a single column, probably because a lot could go wrong if you were to split multiple columns at once. While you could iterate the process, I'd be nervous about doing so.
Thanks for the video
Professor. It is a great content. I have a large dataset of tick level data. So, each day i have thousands of transactions. Is it possible to split daily transactions data into three buckets- namely low, medium, and large transactions. Say there are 30k transactions. I want first 10k as low, the middle 10k as medium, and the rest as large? Thank You.
Hi! Either cut() or one of the slice_*() functions should do the job. I have a vid on the latter: ruclips.net/video/7bqtmMfDg-4/видео.html
Wonderful
Thank you!
hi it is not saving in smits data after you split! right?
I have some question .
This is my code and I think I did same as you, but it doesnt work.
separate(Graduation_1,
col = date,
into = c("year", "month", "day"))
Error code :
Must extract column with a single valid subscript.
x Subscript `var` has the wrong type `function`.
i It must be numeric or character.
Run `rlang::last_error()` to see where the error occurred.
Hi! For specific questions like this, I recommend the R4DS learning community. www.rfordatasci.com/