Importing libraries to run.
library(tidyverse)
## Warning: package 'tidyverse' was built under R version 4.2.3
## Warning: package 'ggplot2' was built under R version 4.2.3
## Warning: package 'tibble' was built under R version 4.2.3
## Warning: package 'tidyr' was built under R version 4.2.3
## Warning: package 'readr' was built under R version 4.2.3
## Warning: package 'purrr' was built under R version 4.2.3
## Warning: package 'dplyr' was built under R version 4.2.3
## Warning: package 'stringr' was built under R version 4.2.3
## Warning: package 'forcats' was built under R version 4.2.3
## Warning: package 'lubridate' was built under R version 4.2.3
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr 1.1.2 ✔ readr 2.1.4
## ✔ forcats 1.0.0 ✔ stringr 1.5.0
## ✔ ggplot2 3.4.3 ✔ tibble 3.2.1
## ✔ lubridate 1.9.2 ✔ tidyr 1.3.0
## ✔ purrr 1.0.2
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag() masks stats::lag()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
Initially setting our directories and loading our data.
knitr::opts_knit$set(root.dir = "C:/Users/Prana/OneDrive/Documents/Topics in Info FA23(Grad)")
youtube <- read_delim("./Global Youtube Statistics.csv", delim = ",")
## Rows: 995 Columns: 28
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (7): Youtuber, category, Title, Country, Abbreviation, channel_type, cr...
## dbl (21): rank, subscribers, video views, uploads, video_views_rank, country...
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
Creating first random sample of data
s1<-youtube[,c("category","video views","subscribers")]
df1<-data.frame(sample_frac(s1,0.5,replace = TRUE))
df1
## category video.views subscribers
## 1 Entertainment 6041264489 2.30e+07
## 2 Comedy 3037260680 1.65e+07
## 3 Gaming 6889304306 1.50e+07
## 4 Film & Animation 13013567335 3.36e+07
## 5 Education 1349288771 1.58e+07
## 6 Howto & Style 2939201386 1.37e+07
## 7 People & Blogs 3485373675 1.26e+07
## 8 People & Blogs 10336420490 2.74e+07
## 9 Entertainment 7612385622 1.75e+07
## 10 Music 13405849040 2.26e+07
## 11 Music 7489455451 1.25e+07
## 12 Entertainment 8826138204 1.67e+07
## 13 News & Politics 14198154095 1.52e+07
## 14 Entertainment 2683297849 1.30e+07
## 15 Gaming 9996133066 1.50e+07
## 16 Comedy 2764127969 2.02e+07
## 17 Music 11423792969 1.44e+07
## 18 Film & Animation 7683670251 1.24e+07
## 19 Entertainment 27684955537 3.02e+07
## 20 Music 2131548711 1.41e+07
## 21 People & Blogs 6269945014 2.13e+07
## 22 Sports 5529131886 1.94e+07
## 23 Music 10227242833 1.62e+07
## 24 Science & Technology 3606912471 1.72e+07
## 25 Gaming 14631710289 4.81e+07
## 26 Howto & Style 7018015062 1.48e+07
## 27 Entertainment 23844936965 2.83e+07
## 28 Entertainment 13174393401 1.27e+07
## 29 Music 11288359365 2.18e+07
## 30 Shows 148000000000 1.59e+08
## 31 Howto & Style 10414479943 2.38e+07
## 32 Education 2165885634 1.39e+07
## 33 Entertainment 4021409291 1.24e+07
## 34 People & Blogs 15751661213 2.32e+07
## 35 Entertainment 9956764048 2.84e+07
## 36 Gaming 2036408398 1.32e+07
## 37 Music 25579831081 2.31e+07
## 38 Entertainment 3912334359 1.35e+07
## 39 Entertainment 10939966484 2.30e+07
## 40 Music 28837144516 5.72e+07
## 41 Education 14814192034 2.83e+07
## 42 Entertainment 41139050371 4.46e+07
## 43 Comedy 6388439235 1.43e+07
## 44 People & Blogs 15510153803 2.37e+07
## 45 People & Blogs 4552581106 2.75e+07
## 46 Howto & Style 2831275503 1.33e+07
## 47 Entertainment 14431830557 1.64e+07
## 48 Science & Technology 7172386509 1.56e+07
## 49 Gaming 6862529416 1.56e+07
## 50 People & Blogs 1674409945 1.23e+07
## 51 News & Politics 15013096899 2.15e+07
## 52 Film & Animation 24118230580 8.69e+07
## 53 People & Blogs 11058049885 2.09e+07
## 54 News & Politics 7263619576 1.75e+07
## 55 Entertainment 16602198273 4.52e+07
## 56 Entertainment 6270909026 1.30e+07
## 57 Entertainment 7195314800 1.68e+07
## 58 People & Blogs 7741764747 1.24e+07
## 59 Education 30516172739 5.33e+07
## 60 Gaming 2122062016 1.36e+07
## 61 Film & Animation 11317309935 2.01e+07
## 62 Nonprofits & Activism 3523578665 1.69e+07
## 63 People & Blogs 9392093496 2.17e+07
## 64 Music 20826993957 7.56e+07
## 65 Gaming 8768697257 2.05e+07
## 66 Sports 9601137077 1.80e+07
## 67 People & Blogs 3152402405 1.26e+07
## 68 Comedy 11405809704 3.35e+07
## 69 Film & Animation 4454917643 2.19e+07
## 70 Music 25367126292 1.84e+07
## 71 Music 3587576784 1.48e+07
## 72 People & Blogs 1674409945 1.23e+07
## 73 Music 12889240875 2.31e+07
## 74 Entertainment 55299840198 3.52e+07
## 75 Comedy 11717217293 1.35e+07
## 76 Entertainment 5819508534 1.66e+07
## 77 Gaming 9983065083 1.81e+07
## 78 Music 6626563508 1.57e+07
## 79 Entertainment 41139050371 4.46e+07
## 80 Comedy 5457203710 1.37e+07
## 81 Music 8831179714 1.26e+07
## 82 People & Blogs 5994136760 3.33e+07
## 83 Comedy 2274007523 1.76e+07
## 84 People & Blogs 1845329502 1.59e+07
## 85 Music 10847948832 1.70e+07
## 86 Howto & Style 3696973456 1.66e+07
## 87 Entertainment 2650061211 1.34e+07
## 88 Comedy 4434679706 1.64e+07
## 89 Entertainment 11009148579 2.05e+07
## 90 Entertainment 47005053156 4.03e+07
## 91 Science & Technology 3606912471 1.72e+07
## 92 Gaming 374123483 1.23e+07
## 93 Gaming 6534326412 1.59e+07
## 94 Gaming 8761255550 1.86e+07
## 95 Comedy 11405809704 3.35e+07
## 96 Education 14814192034 2.83e+07
## 97 Music 6662288136 1.28e+07
## 98 Music 17688774915 2.38e+07
## 99 Entertainment 4625777945 1.25e+07
## 100 People & Blogs 7450345720 1.39e+07
## 101 Entertainment 4977284539 1.49e+07
## 102 Entertainment 23353115850 2.01e+07
## 103 Film & Animation 9023952946 1.44e+07
## 104 Gaming 6148303268 1.87e+07
## 105 Comedy 10238593147 1.42e+07
## 106 Entertainment 23844936965 2.83e+07
## 107 Education 11022391339 2.03e+07
## 108 People & Blogs 1777072487 1.51e+07
## 109 Gaming 2930015381 3.17e+07
## 110 Gaming 2036408398 1.32e+07
## 111 Entertainment 8265920659 1.35e+07
## 112 Film & Animation 3693798804 1.68e+07
## 113 Entertainment 2238134438 1.75e+07
## 114 Gaming 6668507856 1.51e+07
## 115 Shows 13930021471 1.96e+07
## 116 News & Politics 2255542592 1.94e+07
## 117 Music 15901824841 2.36e+07
## 118 Film & Animation 18961241905 3.65e+07
## 119 Howto & Style 3193226072 1.39e+07
## 120 Music 30367676736 5.35e+07
## 121 Music 12746535822 3.43e+07
## 122 Howto & Style 2588501115 2.48e+07
## 123 Film & Animation 18961241905 3.65e+07
## 124 Sports 9029609749 1.23e+07
## 125 Education 30516172739 5.33e+07
## 126 Gaming 6404852037 1.80e+07
## 127 People & Blogs 5014888374 1.45e+07
## 128 Sports 7135820721 1.64e+07
## 129 Entertainment 2465473772 1.47e+07
## 130 Science & Technology 1820559912 1.38e+07
## 131 Comedy 9270331567 1.69e+07
## 132 News & Politics 7263619576 1.75e+07
## 133 Howto & Style 7962725960 2.56e+07
## 134 Entertainment 13897932103 1.51e+07
## 135 Education 7776706184 1.55e+07
## 136 Entertainment 2182651464 1.31e+07
## 137 Music 19883150017 2.74e+07
## 138 Entertainment 8779729549 1.96e+07
## 139 People & Blogs 1674409945 1.23e+07
## 140 News & Politics 10489367372 1.51e+07
## 141 Education 7776706184 1.55e+07
## 142 Gaming 4076692623 1.62e+07
## 143 Entertainment 5224764969 1.32e+07
## 144 nan 0 9.36e+07
## 145 Entertainment 6970899521 1.28e+07
## 146 Music 23755792542 2.46e+07
## 147 Film & Animation 13116313599 1.58e+07
## 148 Entertainment 4609753237 1.69e+07
## 149 Autos & Vehicles 9597894786 2.16e+07
## 150 People & Blogs 4051072188 1.85e+07
## 151 Music 19607009165 3.01e+07
## 152 Entertainment 23844936965 2.83e+07
## 153 Film & Animation 1796227417 2.04e+07
## 154 Howto & Style 6804072897 1.28e+07
## 155 Entertainment 13378360425 1.81e+07
## 156 Music 8623705301 1.40e+07
## 157 Music 19883150017 2.74e+07
## 158 Music 21306315429 3.46e+07
## 159 Comedy 4079141673 2.92e+07
## 160 People & Blogs 4122634467 1.58e+07
## 161 Music 4579773883 1.27e+07
## 162 Entertainment 10239836582 1.50e+07
## 163 Education 7274150246 2.02e+07
## 164 Shows 8265129639 1.55e+07
## 165 People & Blogs 9924103188 1.50e+07
## 166 Gaming 19417887510 2.74e+07
## 167 Entertainment 7923901253 1.33e+07
## 168 Entertainment 8658553456 1.50e+07
## 169 News & Politics 10489367372 1.51e+07
## 170 Science & Technology 5711208484 3.17e+07
## 171 Entertainment 11428794827 1.42e+07
## 172 News & Politics 4598387043 1.45e+07
## 173 Comedy 2129773714 1.23e+07
## 174 People & Blogs 22302547082 3.94e+07
## 175 Education 22593193994 3.01e+07
## 176 Entertainment 9884886099 1.32e+07
## 177 Howto & Style 7018015062 1.48e+07
## 178 nan 7399296005 1.61e+07
## 179 Education 4029253667 1.47e+07
## 180 Music 1576633086 1.51e+07
## 181 Entertainment 22519705183 4.74e+07
## 182 Music 10189027455 3.37e+07
## 183 Entertainment 6944967581 1.45e+07
## 184 News & Politics 9569814790 1.34e+07
## 185 Howto & Style 2214167846 1.40e+07
## 186 Entertainment 15916882228 2.71e+07
## 187 Science & Technology 1820559912 1.38e+07
## 188 Entertainment 2951914200 2.02e+07
## 189 People & Blogs 7780934187 2.18e+07
## 190 Comedy 4434679706 1.64e+07
## 191 Gaming 8768697257 2.05e+07
## 192 nan 11041261296 2.41e+07
## 193 Education 44900897958 3.92e+07
## 194 nan 1159290255 1.27e+07
## 195 Education 14814192034 2.83e+07
## 196 Education 2073073070 2.12e+07
## 197 Music 6048517979 1.42e+07
## 198 Gaming 4521573939 3.05e+07
## 199 People & Blogs 14655527943 2.48e+07
## 200 Entertainment 18208196857 3.76e+07
## 201 Entertainment 7141825267 1.63e+07
## 202 Shows 28519339489 3.82e+07
## 203 Entertainment 10047736580 2.13e+07
## 204 Entertainment 12362331529 1.47e+07
## 205 Film & Animation 17247584185 1.77e+07
## 206 Music 8134379376 1.37e+07
## 207 Music 6033295543 2.00e+07
## 208 Music 6017932195 1.46e+07
## 209 Entertainment 9110348202 1.31e+07
## 210 Film & Animation 17247584185 1.77e+07
## 211 nan 10613701948 2.25e+07
## 212 People & Blogs 20847038152 2.26e+07
## 213 Gaming 4959982720 1.40e+07
## 214 Gaming 2930015381 3.17e+07
## 215 Comedy 3145161634 3.07e+07
## 216 Music 17308961985 2.60e+07
## 217 Entertainment 4177184071 1.33e+07
## 218 People & Blogs 15913320995 1.49e+07
## 219 Sports 2656528205 1.53e+07
## 220 Science & Technology 2262690743 1.33e+07
## 221 Education 7776706184 1.55e+07
## 222 Music 18699145555 3.21e+07
## 223 Music 32312431239 5.40e+07
## 224 Entertainment 4956090094 2.06e+07
## 225 Entertainment 9710962528 1.71e+07
## 226 Entertainment 12295637162 1.87e+07
## 227 Gaming 11513738907 1.54e+07
## 228 People & Blogs 1493776391 1.38e+07
## 229 Entertainment 7590582024 1.92e+07
## 230 Music 19883150017 2.74e+07
## 231 Music 18597534412 2.60e+07
## 232 Comedy 3276891538 1.88e+07
## 233 nan 19180039918 3.27e+07
## 234 Gaming 8920141342 2.01e+07
## 235 People & Blogs 3213324455 1.82e+07
## 236 Music 19607009165 3.01e+07
## 237 Education 9813245108 1.89e+07
## 238 Comedy 4434679706 1.64e+07
## 239 Entertainment 2182651464 1.31e+07
## 240 Music 27118354077 3.57e+07
## 241 People & Blogs 4329121104 1.92e+07
## 242 People & Blogs 1302818088 1.25e+07
## 243 Entertainment 5234251168 1.95e+07
## 244 News & Politics 8396875537 1.77e+07
## 245 Entertainment 20522339099 1.62e+07
## 246 Music 22731415608 3.80e+07
## 247 People & Blogs 4526271677 2.11e+07
## 248 Music 12607488647 1.24e+07
## 249 Gaming 6862529416 1.56e+07
## 250 Education 22593193994 3.01e+07
## 251 Comedy 10999000479 2.41e+07
## 252 Entertainment 4749833967 2.63e+07
## 253 Music 57271630846 5.84e+07
## 254 Gaming 6534326412 1.59e+07
## 255 Music 5914071870 1.57e+07
## 256 Music 4608751851 1.31e+07
## 257 Comedy 5457203710 1.37e+07
## 258 Music 6391679636 1.52e+07
## 259 News & Politics 12961669452 1.47e+07
## 260 Film & Animation 4214172991 1.31e+07
## 261 Entertainment 3733856870 1.33e+07
## 262 Music 29533230328 6.10e+07
## 263 Entertainment 5994002464 2.36e+07
## 264 Music 6637820731 1.31e+07
## 265 Education 8903647480 1.72e+07
## 266 People & Blogs 22302547082 3.94e+07
## 267 Music 6662288136 1.28e+07
## 268 Entertainment 2798273962 1.66e+07
## 269 Gaming 4521573939 3.05e+07
## 270 Music 6993406259 1.24e+07
## 271 Gaming 2084791147 1.42e+07
## 272 Gaming 6404852037 1.80e+07
## 273 Entertainment 5217553897 1.39e+07
## 274 Comedy 10238593147 1.42e+07
## 275 Music 17324976752 2.09e+07
## 276 Comedy 10238593147 1.42e+07
## 277 Gaming 2036408398 1.32e+07
## 278 People & Blogs 7912733203 1.77e+07
## 279 People & Blogs 4558380251 1.85e+07
## 280 nan 20563378 1.34e+07
## 281 Entertainment 10366850490 2.01e+07
## 282 Film & Animation 1796227417 2.04e+07
## 283 Film & Animation 22919271731 3.14e+07
## 284 People & Blogs 3647267655 1.77e+07
## 285 Entertainment 14727238483 2.92e+07
## 286 Gaming 1402042328 1.25e+07
## 287 Education 26355088167 3.28e+07
## 288 Entertainment 600154268 1.44e+07
## 289 Entertainment 17387583720 2.48e+07
## 290 Entertainment 5380132790 1.35e+07
## 291 Entertainment 4935793409 1.25e+07
## 292 Education 10714145606 1.53e+07
## 293 Entertainment 1450874545 1.27e+07
## 294 Gaming 17763586483 1.74e+07
## 295 Music 25154232306 3.89e+07
## 296 Film & Animation 8595760553 2.64e+07
## 297 Trailers 17608931161 4.14e+07
## 298 Entertainment 10239836582 1.50e+07
## 299 nan 7008250496 1.86e+07
## 300 Film & Animation 5997599089 1.60e+07
## 301 Entertainment 15278668857 1.66e+07
## 302 Music 14564170905 1.54e+07
## 303 Entertainment 8229883114 1.70e+07
## 304 Music 11544297793 1.84e+07
## 305 Education 20269857567 3.34e+07
## 306 nan 6153495609 1.57e+07
## 307 Education 3392022527 1.24e+07
## 308 Gaming 2036408398 1.32e+07
## 309 Entertainment 8826138204 1.67e+07
## 310 Entertainment 23844936965 2.83e+07
## 311 Nonprofits & Activism 3523578665 1.69e+07
## 312 Shows 24519022988 4.24e+07
## 313 Entertainment 6036496916 1.41e+07
## 314 Music 3579555124 2.04e+07
## 315 Entertainment 5333569294 1.31e+07
## 316 Music 2131548711 1.41e+07
## 317 Gaming 1656452554 1.63e+07
## 318 Entertainment 10366850490 2.01e+07
## 319 Music 28634566938 7.13e+07
## 320 Shows 24519022988 4.24e+07
## 321 Film & Animation 2244318380 1.39e+07
## 322 People & Blogs 9938811455 1.53e+07
## 323 Film & Animation 902225615 1.73e+07
## 324 Entertainment 7151683497 1.52e+07
## 325 Music 27286058807 4.66e+07
## 326 Gaming 4768370464 1.63e+07
## 327 Music 15777682516 2.77e+07
## 328 Music 6339584661 1.91e+07
## 329 Entertainment 4033400167 1.49e+07
## 330 Music 7520242626 1.63e+07
## 331 Entertainment 2182651464 1.31e+07
## 332 Entertainment 5217553897 1.39e+07
## 333 Gaming 5673347763 1.39e+07
## 334 Music 12884264778 4.37e+07
## 335 Education 30516172739 5.33e+07
## 336 Gaming 2930015381 3.17e+07
## 337 Film & Animation 10955619815 1.97e+07
## 338 Comedy 3037260680 1.65e+07
## 339 Music 11039343563 1.38e+07
## 340 Entertainment 8582696157 1.45e+07
## 341 Gaming 13061739758 3.21e+07
## 342 Gaming 9786595271 1.60e+07
## 343 Entertainment 7739048000 1.77e+07
## 344 People & Blogs 12761253839 2.13e+07
## 345 Howto & Style 2588501115 2.48e+07
## 346 Comedy 4465772496 1.25e+07
## 347 Entertainment 3920221322 1.41e+07
## 348 Science & Technology 2634 2.32e+07
## 349 Music 8040036209 2.24e+07
## 350 Film & Animation 2431154438 2.25e+07
## 351 Entertainment 8658553456 1.50e+07
## 352 Music 12413869881 1.51e+07
## 353 Entertainment 10939966484 2.30e+07
## 354 Comedy 4465772496 1.25e+07
## 355 Entertainment 8011977288 1.44e+07
## 356 People & Blogs 2551113422 2.31e+07
## 357 Music 7337212581 1.72e+07
## 358 Film & Animation 2431154438 2.25e+07
## 359 Film & Animation 17247584185 1.77e+07
## 360 Film & Animation 18961241905 3.65e+07
## 361 News & Politics 10409352249 2.52e+07
## 362 Entertainment 6766461070 2.36e+07
## 363 Entertainment 2135644776 2.36e+07
## 364 Music 30686342319 4.61e+07
## 365 Gaming 8768697257 2.05e+07
## 366 Music 9198986881 1.59e+07
## 367 Entertainment 2650061211 1.34e+07
## 368 Music 5264039679 1.31e+07
## 369 Comedy 5525773746 1.46e+07
## 370 Sports 7135820721 1.64e+07
## 371 Entertainment 8696631898 1.57e+07
## 372 News & Politics 10489367372 1.51e+07
## 373 Nonprofits & Activism 7339333120 3.86e+07
## 374 Entertainment 5333569294 1.31e+07
## 375 Music 11288359365 2.18e+07
## 376 Entertainment 11371738047 1.73e+07
## 377 Entertainment 27262462114 3.75e+07
## 378 News & Politics 10463166404 1.80e+07
## 379 Music 8623705301 1.40e+07
## 380 Music 3802280098 1.76e+07
## 381 Entertainment 4831311245 4.36e+07
## 382 Music 19458807708 2.51e+07
## 383 nan 2214684303 1.23e+07
## 384 Music 24004842608 5.27e+07
## 385 Entertainment 7600740993 2.82e+07
## 386 Education 44900897958 3.92e+07
## 387 Entertainment 3178222797 1.29e+07
## 388 Film & Animation 9715291883 2.00e+07
## 389 Entertainment 5057163256 1.30e+07
## 390 Entertainment 13478392540 1.64e+07
## 391 Music 10242981063 2.57e+07
## 392 Entertainment 77180169894 9.89e+07
## 393 Entertainment 8658553456 1.50e+07
## 394 Music 8623705301 1.40e+07
## 395 People & Blogs 4776507159 1.43e+07
## 396 Music 20115544708 1.77e+07
## 397 Entertainment 6582932625 2.39e+07
## 398 People & Blogs 7741764747 1.24e+07
## 399 Gaming 4236036141 1.51e+07
## 400 Education 11819051552 2.03e+07
## 401 Education 9877365274 5.22e+07
## 402 People & Blogs 5890180734 2.15e+07
## 403 People & Blogs 7780934187 2.18e+07
## 404 Entertainment 3920221322 1.41e+07
## 405 Shows 5585085130 1.29e+07
## 406 Music 14619523361 1.55e+07
## 407 Entertainment 6872702790 1.61e+07
## 408 nan 0 1.19e+08
## 409 People & Blogs 1689090619 1.24e+07
## 410 People & Blogs 4122634467 1.58e+07
## 411 People & Blogs 12761253839 2.13e+07
## 412 Howto & Style 1778318927 1.42e+07
## 413 People & Blogs 8658941531 2.07e+07
## 414 Entertainment 16097531087 2.62e+07
## 415 People & Blogs 4813127504 1.62e+07
## 416 Entertainment 55299840198 3.52e+07
## 417 Comedy 13562853889 1.50e+07
## 418 People & Blogs 9924103188 1.50e+07
## 419 Music 6290721701 1.45e+07
## 420 Film & Animation 4214172991 1.31e+07
## 421 People & Blogs 4051072188 1.85e+07
## 422 nan 2733682792 1.31e+07
## 423 Music 2750993392 1.35e+07
## 424 Music 23005313609 3.41e+07
## 425 Film & Animation 5652938599 2.40e+07
## 426 Music 2440718089 1.45e+07
## 427 Education 3018032423 1.60e+07
## 428 nan 19180039918 3.27e+07
## 429 Film & Animation 24118230580 8.69e+07
## 430 Gaming 2480957682 1.38e+07
## 431 People & Blogs 9938811455 1.53e+07
## 432 Entertainment 8582696157 1.45e+07
## 433 Comedy 13562853889 1.50e+07
## 434 Howto & Style 26236790209 8.01e+07
## 435 Howto & Style 6119294270 2.01e+07
## 436 Gaming 16107116549 1.75e+07
## 437 Music 11039343563 1.38e+07
## 438 Music 6264261757 2.14e+07
## 439 Entertainment 15038593883 2.05e+07
## 440 Music 16476978876 3.17e+07
## 441 Comedy 19694265358 2.02e+07
## 442 Film & Animation 8588704539 1.78e+07
## 443 Film & Animation 59316472754 5.95e+07
## 444 Gaming 2122062016 1.36e+07
## 445 Film & Animation 35302243691 5.46e+07
## 446 Gaming 8761255550 1.86e+07
## 447 Comedy 9596430464 1.37e+07
## 448 News & Politics 12961669452 1.47e+07
## 449 People & Blogs 4963275018 1.37e+07
## 450 Gaming 4741434420 1.50e+07
## 451 Entertainment 5410164682 2.07e+07
## 452 Music 25579831081 2.31e+07
## 453 Music 21306315429 3.46e+07
## 454 Music 10069000444 1.49e+07
## 455 Gaming 2543809954 2.37e+07
## 456 People & Blogs 15510153803 2.37e+07
## 457 Comedy 1803249241 1.97e+07
## 458 Gaming 10323391593 4.61e+07
## 459 Music 9573641299 1.88e+07
## 460 Entertainment 9710962528 1.71e+07
## 461 People & Blogs 3152402405 1.26e+07
## 462 Howto & Style 2994726412 2.47e+07
## 463 People & Blogs 7912733203 1.77e+07
## 464 Music 15901824841 2.36e+07
## 465 Entertainment 8897705695 1.50e+07
## 466 Entertainment 3875172235 2.00e+07
## 467 Gaming 7410536668 4.04e+07
## 468 People & Blogs 11280732382 1.84e+07
## 469 Gaming 1556003039 1.83e+07
## 470 Entertainment 3299216601 1.33e+07
## 471 Entertainment 1136534702 1.25e+07
## 472 Entertainment 8658553456 1.50e+07
## 473 Music 16718192386 3.83e+07
## 474 People & Blogs 11057945183 1.78e+07
## 475 Film & Animation 1796227417 2.04e+07
## 476 nan 6001189018 1.27e+07
## 477 Entertainment 37939780685 4.32e+07
## 478 People & Blogs 4776507159 1.43e+07
## 479 People & Blogs 9602246828 2.52e+07
## 480 Film & Animation 4040297006 1.42e+07
## 481 Music 17308961985 2.60e+07
## 482 Music 25367126292 1.84e+07
## 483 Music 18699145555 3.21e+07
## 484 News & Politics 9569814790 1.34e+07
## 485 Entertainment 4956090094 2.06e+07
## 486 Entertainment 26800674545 3.20e+07
## 487 Education 5141201173 1.36e+07
## 488 People & Blogs 16560557488 1.74e+07
## 489 Film & Animation 4040297006 1.42e+07
## 490 nan 0 9.36e+07
## 491 People & Blogs 7213499085 2.39e+07
## 492 Music 12140232004 2.18e+07
## 493 Music 20042571499 1.45e+07
## 494 Entertainment 3733856870 1.33e+07
## 495 Music 25154232306 3.89e+07
## 496 Music 2131548711 1.41e+07
## 497 Education 13206471140 2.29e+07
## 498 Entertainment 2224911030 1.38e+07
Created a data frame from a random sample containing the columns ‘category’, ‘video views’ and ’subscribers. The sample is 50% of the data.
Creating second random sample of data
s2<-youtube[,c("Country","video views","subscribers")]
df2<-data.frame(sample_frac(s2,0.5,replace = TRUE))
df2
## Country video.views subscribers
## 1 United States 11081602368 2.52e+07
## 2 Canada 12831200855 3.00e+07
## 3 United States 59316472754 5.95e+07
## 4 United States 0 1.70e+08
## 5 nan 6746269458 1.79e+07
## 6 United States 15788208522 1.48e+07
## 7 United States 1948925559 1.36e+07
## 8 Saudi Arabia 8761255550 1.86e+07
## 9 India 11371738047 1.73e+07
## 10 Canada 7451792132 2.37e+07
## 11 nan 9383431376 1.48e+07
## 12 nan 15901824841 2.36e+07
## 13 United States 23353115850 2.01e+07
## 14 India 4712624489 1.31e+07
## 15 Indonesia 1181292450 1.35e+07
## 16 United States 14696003229 5.64e+07
## 17 Mexico 8984089026 1.55e+07
## 18 South Korea 3178222797 1.29e+07
## 19 United States 12624879732 2.07e+07
## 20 United States 4329121104 1.92e+07
## 21 India 11428794827 1.42e+07
## 22 nan 15318895118 2.81e+07
## 23 Indonesia 2143140898 1.51e+07
## 24 India 3445794123 1.35e+07
## 25 United States 13835173331 2.25e+07
## 26 Thailand 20196704276 1.86e+07
## 27 Canada 7451792132 2.37e+07
## 28 nan 1936582704 1.31e+07
## 29 United States 8588704539 1.78e+07
## 30 United States 9962188084 1.59e+07
## 31 United Kingdom 1612094871 1.25e+07
## 32 Thailand 4434679706 1.64e+07
## 33 Canada 7451792132 2.37e+07
## 34 India 7741764747 1.24e+07
## 35 Latvia 20919403720 2.02e+07
## 36 India 1758603195 1.32e+07
## 37 United Kingdom 17387583720 2.48e+07
## 38 Brazil 3980991248 1.80e+07
## 39 India 20269857567 3.34e+07
## 40 United States 11041261296 2.41e+07
## 41 Mexico 8984089026 1.55e+07
## 42 United Arab Emirates 7520379951 1.29e+07
## 43 nan 1302818088 1.25e+07
## 44 India 16476978876 3.17e+07
## 45 Argentina 7657171980 2.06e+07
## 46 United States 9346383505 2.16e+07
## 47 Canada 4021409291 1.24e+07
## 48 United States 5141834668 2.13e+07
## 49 United States 5380073627 2.29e+07
## 50 United Kingdom 5380132790 1.35e+07
## 51 United States 12513842343 1.39e+07
## 52 United States 3299216601 1.33e+07
## 53 Japan 16097531087 2.62e+07
## 54 nan 14101010609 2.60e+07
## 55 India 7776706184 1.55e+07
## 56 United States 9927699419 1.27e+07
## 57 nan 12916159065 2.41e+07
## 58 nan 7762077012 1.88e+07
## 59 United States 77428473662 9.60e+07
## 60 nan 4831311245 4.36e+07
## 61 France 3086254545 1.44e+07
## 62 India 6264261757 2.14e+07
## 63 India 5217553897 1.39e+07
## 64 United States 2319515787 1.34e+07
## 65 India 11552190002 1.25e+07
## 66 United States 3299216601 1.33e+07
## 67 United States 13378360425 1.81e+07
## 68 United Kingdom 6969178081 1.26e+07
## 69 Samoa 6637820731 1.31e+07
## 70 Spain 8623705301 1.40e+07
## 71 United States 11136266461 2.22e+07
## 72 Ukraine 7018015062 1.48e+07
## 73 United States 13154314376 2.00e+07
## 74 Brazil 9029609749 1.23e+07
## 75 United States 2165885634 1.39e+07
## 76 India 2139769210 1.34e+07
## 77 Canada 4021409291 1.24e+07
## 78 Colombia 11789678655 1.34e+07
## 79 Pakistan 301547793 1.30e+07
## 80 Indonesia 11819051552 2.03e+07
## 81 nan 13577142726 2.83e+07
## 82 Egypt 5324913850 1.51e+07
## 83 Ukraine 7018015062 1.48e+07
## 84 United States 9378175604 1.32e+07
## 85 United States 5759442450 1.98e+07
## 86 India 7043235131 1.65e+07
## 87 United Kingdom 3280481927 1.41e+07
## 88 nan 13577142726 2.83e+07
## 89 nan 9201428420 1.45e+07
## 90 Indonesia 2143140898 1.51e+07
## 91 India 5711208484 3.17e+07
## 92 India 20269857567 3.34e+07
## 93 Brazil 13917423958 1.99e+07
## 94 nan 9201428420 1.45e+07
## 95 nan 2315962318 1.68e+07
## 96 United States 20297931219 3.52e+07
## 97 United States 4067878931 2.39e+07
## 98 nan 9602246828 2.52e+07
## 99 Brazil 13943030228 2.40e+07
## 100 United States 15199330166 3.02e+07
## 101 India 11351015824 3.40e+07
## 102 United States 13013567335 3.36e+07
## 103 Indonesia 3647267655 1.77e+07
## 104 Indonesia 11827310821 1.50e+07
## 105 United States 4177184071 1.33e+07
## 106 United States 4067878931 2.39e+07
## 107 United States 5264039679 1.31e+07
## 108 United States 7773543609 1.33e+07
## 109 Canada 6033295543 2.00e+07
## 110 Iraq 5863456698 1.28e+07
## 111 Saudi Arabia 8265129639 1.55e+07
## 112 nan 11504090820 1.29e+07
## 113 Indonesia 8074260978 1.49e+07
## 114 nan 9964116817 1.42e+07
## 115 United States 8588704539 1.78e+07
## 116 United States 12385924995 2.44e+07
## 117 Indonesia 11819051552 2.03e+07
## 118 India 15653786446 3.66e+07
## 119 South Korea 20826993957 7.56e+07
## 120 United States 6766461070 2.36e+07
## 121 Brazil 8897705695 1.50e+07
## 122 United Kingdom 14696994366 2.35e+07
## 123 United States 28516250629 3.27e+07
## 124 nan 0 2.93e+07
## 125 United States 19547696190 4.24e+07
## 126 Australia 8903647480 1.72e+07
## 127 nan 6543629679 1.60e+07
## 128 United States 5469103954 1.54e+07
## 129 Indonesia 6098644584 2.02e+07
## 130 United States 15446707595 1.29e+07
## 131 India 7151683497 1.52e+07
## 132 South Korea 15038593883 2.05e+07
## 133 Canada 6033295543 2.00e+07
## 134 United States 4733873025 1.27e+07
## 135 Sweden 10292874715 2.06e+07
## 136 United States 29884657286 5.29e+07
## 137 Mexico 2700914170 2.42e+07
## 138 United States 329774870 2.41e+07
## 139 Egypt 5324913850 1.51e+07
## 140 Philippines 19428308461 3.19e+07
## 141 India 12895427184 2.13e+07
## 142 Morocco 4315486422 1.45e+07
## 143 India 1002219689 1.25e+07
## 144 Indonesia 9710962528 1.71e+07
## 145 India 10384848759 1.25e+07
## 146 India 2262690743 1.33e+07
## 147 India 9465863821 2.34e+07
## 148 Brazil 4608751851 1.31e+07
## 149 United States 13013567335 3.36e+07
## 150 United States 34300482066 2.54e+07
## 151 India 29533230328 6.10e+07
## 152 nan 5652938599 2.40e+07
## 153 United Kingdom 10602236110 3.21e+07
## 154 United States 12385924995 2.44e+07
## 155 nan 7066711323 2.02e+07
## 156 United States 9088562002 1.33e+07
## 157 nan 0 1.19e+08
## 158 United States 77180169894 9.89e+07
## 159 Vietnam 5457203710 1.37e+07
## 160 United Kingdom 14777034543 2.35e+07
## 161 United States 21031745531 3.17e+07
## 162 United States 13546549817 3.03e+07
## 163 Brazil 7828610828 4.47e+07
## 164 nan 0 2.93e+07
## 165 Vietnam 9867515979 1.79e+07
## 166 nan 3920221322 1.41e+07
## 167 India 9924103188 1.50e+07
## 168 India 5320485069 2.29e+07
## 169 nan 6518418501 1.68e+07
## 170 India 12889240875 2.31e+07
## 171 India 13102611515 3.70e+07
## 172 Indonesia 11372071889 2.59e+07
## 173 United States 8696631898 1.57e+07
## 174 Indonesia 6430853035 2.54e+07
## 175 India 7612385622 1.75e+07
## 176 United States 10414479943 2.38e+07
## 177 Indonesia 5994136760 3.33e+07
## 178 India 30516172739 5.33e+07
## 179 Colombia 11789678655 1.34e+07
## 180 Indonesia 3647267655 1.77e+07
## 181 India 6624168155 1.52e+07
## 182 India 6047584292 1.86e+07
## 183 United States 12293479945 1.98e+07
## 184 United States 9924807127 2.20e+07
## 185 United States 2730879024 1.50e+07
## 186 United States 4260187928 1.45e+07
## 187 Sweden 7155736006 1.61e+07
## 188 India 2431154438 2.25e+07
## 189 Saudi Arabia 17507060680 2.26e+07
## 190 Philippines 15065753455 2.65e+07
## 191 nan 7277493940 3.01e+07
## 192 nan 15318895118 2.81e+07
## 193 India 2255542592 1.94e+07
## 194 United States 13626331061 4.79e+07
## 195 India 20847038152 2.26e+07
## 196 United States 5614621131 2.18e+07
## 197 Brazil 2908120896 1.85e+07
## 198 Indonesia 3963007415 3.40e+07
## 199 United States 13405849040 2.26e+07
## 200 India 30516172739 5.33e+07
## 201 Mexico 2798273962 1.66e+07
## 202 India 101000000000 8.30e+07
## 203 United States 20115544708 1.77e+07
## 204 nan 32312431239 5.40e+07
## 205 India 26820902622 4.25e+07
## 206 United States 29884657286 5.29e+07
## 207 nan 22065582014 2.15e+07
## 208 Indonesia 6036496916 1.41e+07
## 209 Germany 31494513067 2.30e+07
## 210 India 15657673422 3.55e+07
## 211 Turkey 56106087508 2.41e+07
## 212 United States 6888074944 1.79e+07
## 213 United States 10955619815 1.97e+07
## 214 Brazil 5224764969 1.32e+07
## 215 United States 8451754769 1.39e+07
## 216 United States 8594440895 2.20e+07
## 217 United Kingdom 2214684303 1.23e+07
## 218 nan 0 1.19e+08
## 219 South Korea 32144597566 8.98e+07
## 220 nan 0 1.19e+08
## 221 nan 11022391339 2.03e+07
## 222 Indonesia 4122634467 1.58e+07
## 223 United States 5469103954 1.54e+07
## 224 nan 8301731337 1.89e+07
## 225 nan 3568392223 1.32e+07
## 226 Australia 9601137077 1.80e+07
## 227 United States 9877365274 5.22e+07
## 228 United States 1777072487 1.51e+07
## 229 Thailand 4434679706 1.64e+07
## 230 United States 15788208522 1.48e+07
## 231 United States 16793072362 3.07e+07
## 232 Indonesia 11827310821 1.50e+07
## 233 Brazil 8134379376 1.37e+07
## 234 Indonesia 1181292450 1.35e+07
## 235 United States 2182651464 1.31e+07
## 236 Thailand 5549770244 1.49e+07
## 237 nan 11022391339 2.03e+07
## 238 nan 8603468420 2.80e+07
## 239 United States 4306212515 1.34e+07
## 240 Indonesia 7195314800 1.68e+07
## 241 India 5141201173 1.36e+07
## 242 Australia 5269059435 1.48e+07
## 243 United States 2165885634 1.39e+07
## 244 India 7683670251 1.24e+07
## 245 India 17608931161 4.14e+07
## 246 Mexico 4674164601 1.40e+07
## 247 United States 5264039679 1.31e+07
## 248 nan 15901824841 2.36e+07
## 249 Indonesia 9710962528 1.71e+07
## 250 Spain 6662288136 1.28e+07
## 251 Colombia 1714955279 1.27e+07
## 252 Russia 4448334716 1.71e+07
## 253 Colombia 1714955279 1.27e+07
## 254 India 21388725229 4.55e+07
## 255 United States 14543594822 1.70e+07
## 256 India 5320485069 2.29e+07
## 257 Indonesia 3963007415 3.40e+07
## 258 nan 4508184467 1.93e+07
## 259 nan 5055576881 1.61e+07
## 260 India 3579555124 2.04e+07
## 261 India 264228052 1.93e+07
## 262 India 3392918989 1.58e+07
## 263 nan 0 9.36e+07
## 264 United States 11058049885 2.09e+07
## 265 India 2131548711 1.41e+07
## 266 Brazil 4684983333 1.47e+07
## 267 India 14864294792 3.35e+07
## 268 Canada 12831200855 3.00e+07
## 269 nan 21306315429 3.46e+07
## 270 nan 14431830557 1.64e+07
## 271 nan 5055576881 1.61e+07
## 272 United States 2465473772 1.47e+07
## 273 India 6554000320 1.42e+07
## 274 United Kingdom 12413869881 1.51e+07
## 275 Afghanistan 13397000296 2.04e+07
## 276 United States 14784781923 1.62e+07
## 277 India 7043235131 1.65e+07
## 278 United States 2182651464 1.31e+07
## 279 United States 161254021 1.25e+07
## 280 Philippines 1318442641 1.66e+07
## 281 United States 17963202261 2.07e+07
## 282 United States 22553923546 3.66e+07
## 283 nan 3594936775 1.41e+07
## 284 United States 4306212515 1.34e+07
## 285 Pakistan 37939780685 4.32e+07
## 286 Germany 2378448129 2.08e+07
## 287 nan 3920221322 1.41e+07
## 288 India 17318452893 2.71e+07
## 289 Russia 7719743112 1.40e+07
## 290 United States 4388047013 2.67e+07
## 291 Colombia 18699145555 3.21e+07
## 292 United States 1556003039 1.83e+07
## 293 India 28648024439 6.56e+07
## 294 United States 5890180734 2.15e+07
## 295 United States 1833519700 1.48e+07
## 296 United States 3152402405 1.26e+07
## 297 United States 17921124985 1.80e+07
## 298 India 9439857193 1.66e+07
## 299 United States 1556003039 1.83e+07
## 300 nan 1302818088 1.25e+07
## 301 United States 24004842608 5.27e+07
## 302 Pakistan 301547793 1.30e+07
## 303 United States 22440611155 2.73e+07
## 304 United States 12355992466 3.07e+07
## 305 Chile 8409641722 2.15e+07
## 306 United States 2761547758 1.51e+07
## 307 India 7564652648 1.52e+07
## 308 Colombia 6802382479 1.59e+07
## 309 United States 7406207930 1.65e+07
## 310 United States 10336420490 2.74e+07
## 311 United States 16086808918 1.24e+07
## 312 United States 26355088167 3.28e+07
## 313 United States 5918314128 2.19e+07
## 314 India 4712624489 1.31e+07
## 315 Brazil 7739048000 1.77e+07
## 316 India 2139769210 1.34e+07
## 317 Brazil 3980991248 1.80e+07
## 318 United States 5918314128 2.19e+07
## 319 United States 20289689389 2.37e+07
## 320 nan 6339584661 1.91e+07
## 321 India 12597067132 1.40e+07
## 322 Canada 6033295543 2.00e+07
## 323 India 1693149479 2.09e+07
## 324 United States 0 7.50e+07
## 325 nan 3392022527 1.24e+07
## 326 Saudi Arabia 2230986039 1.47e+07
## 327 Indonesia 3647267655 1.77e+07
## 328 United Kingdom 30367676736 5.35e+07
## 329 India 4749833967 2.63e+07
## 330 United States 15199330166 3.02e+07
## 331 United States 7008250496 1.86e+07
## 332 United States 8588704539 1.78e+07
## 333 India 13542939513 1.40e+07
## 334 nan 17988347989 2.28e+07
## 335 Andorra 2400037562 1.51e+07
## 336 nan 2380248899 2.43e+07
## 337 Sweden 374123483 1.23e+07
## 338 United States 14784781923 1.62e+07
## 339 United States 16241549158 5.95e+07
## 340 Brazil 7938616641 2.69e+07
## 341 Brazil 2908120896 1.85e+07
## 342 United States 13116313599 1.58e+07
## 343 United States 6889304306 1.50e+07
## 344 India 1138262456 1.32e+07
## 345 India 8281724393 1.90e+07
## 346 India 1138262456 1.32e+07
## 347 Brazil 4214172991 1.31e+07
## 348 Sweden 10292874715 2.06e+07
## 349 nan 19329351143 2.18e+07
## 350 Germany 1573058816 2.14e+07
## 351 Brazil 2440718089 1.45e+07
## 352 United States 27286058807 4.66e+07
## 353 United States 9884886099 1.32e+07
## 354 Brazil 16690788752 1.25e+07
## 355 United States 13546549817 3.03e+07
## 356 Mexico 7489455451 1.25e+07
## 357 United States 14198154095 1.52e+07
## 358 United States 13930021471 1.96e+07
## 359 United States 6613422635 1.63e+07
## 360 Mexico 7489455451 1.25e+07
## 361 India 9299371231 2.31e+07
## 362 Netherlands 1778318927 1.42e+07
## 363 United States 2930015381 3.17e+07
## 364 United States 6300933122 1.29e+07
## 365 India 4963275018 1.37e+07
## 366 India 3392918989 1.58e+07
## 367 United States 20289689389 2.37e+07
## 368 United States 2761547758 1.51e+07
## 369 Argentina 7657171980 2.06e+07
## 370 India 28837144516 5.72e+07
## 371 nan 4967784343 1.51e+07
## 372 United States 10435474336 2.61e+07
## 373 United States 22440611155 2.73e+07
## 374 Russia 2855519150 1.89e+07
## 375 South Korea 15126092508 1.90e+07
## 376 United States 19547696190 4.24e+07
## 377 China 2977741577 1.76e+07
## 378 India 1640078055 1.53e+07
## 379 nan 2315962318 1.68e+07
## 380 Indonesia 11819051552 2.03e+07
## 381 United States 4779139505 1.24e+07
## 382 Saudi Arabia 8761255550 1.86e+07
## 383 Saudi Arabia 4129249415 1.33e+07
## 384 Argentina 6041264489 2.30e+07
## 385 United States 16241549158 5.95e+07
## 386 Indonesia 11372071889 2.59e+07
## 387 Russia 7719743112 1.40e+07
## 388 Bangladesh 12129583055 1.39e+07
## 389 India 40602020243 5.80e+07
## 390 Spain 3337074920 1.46e+07
## 391 Brazil 13824277846 1.90e+07
## 392 Ukraine 6973932553 1.42e+07
## 393 United Kingdom 5380132790 1.35e+07
## 394 nan 30686342319 4.61e+07
## 395 Canada 12831200855 3.00e+07
## 396 Russia 36458726976 4.32e+07
## 397 India 30516172739 5.33e+07
## 398 United States 10435474336 2.61e+07
## 399 United States 9789121606 2.10e+07
## 400 United States 8279004442 2.40e+07
## 401 United States 24059336857 2.23e+07
## 402 nan 6862529416 1.56e+07
## 403 United States 1833519700 1.48e+07
## 404 Argentina 8040036209 2.24e+07
## 405 United States 14816075927 2.01e+07
## 406 India 3789736218 1.32e+07
## 407 South Korea 15038593883 2.05e+07
## 408 United Kingdom 1612094871 1.25e+07
## 409 United States 6050102764 1.33e+07
## 410 Egypt 5324913850 1.51e+07
## 411 India 61510906457 6.46e+07
## 412 Mexico 2750902766 1.46e+07
## 413 United States 6613422635 1.63e+07
## 414 India 61510906457 6.46e+07
## 415 Philippines 10489367372 1.51e+07
## 416 United States 1656452554 1.63e+07
## 417 Saudi Arabia 21528116909 3.84e+07
## 418 nan 1576633086 1.51e+07
## 419 India 26800674545 3.20e+07
## 420 United States 10507474316 3.92e+07
## 421 United States 2750993392 1.35e+07
## 422 nan 1450874545 1.27e+07
## 423 nan 0 2.93e+07
## 424 India 4963275018 1.37e+07
## 425 Brazil 5094050461 1.40e+07
## 426 India 16476978876 3.17e+07
## 427 United States 9544277833 1.69e+07
## 428 Venezuela 9673649438 3.12e+07
## 429 India 35302243691 5.46e+07
## 430 Indonesia 4122634467 1.58e+07
## 431 India 1159290255 1.27e+07
## 432 United States 2851024430 1.96e+07
## 433 United States 1026425106 1.73e+07
## 434 China 2977741577 1.76e+07
## 435 Philippines 50292540392 4.42e+07
## 436 United Kingdom 11717217293 1.35e+07
## 437 nan 9964116817 1.42e+07
## 438 nan 3364230487 1.33e+07
## 439 Barbados 22477745835 4.19e+07
## 440 Canada 4021409291 1.24e+07
## 441 Argentina 21226945136 2.93e+07
## 442 South Korea 15038593883 2.05e+07
## 443 United States 8696631898 1.57e+07
## 444 Pakistan 41139050371 4.46e+07
## 445 United States 3961318438 1.96e+07
## 446 Spain 7038827526 1.84e+07
## 447 United States 8649303688 1.48e+07
## 448 nan 2709954270 1.27e+07
## 449 Ukraine 8396875537 1.77e+07
## 450 United States 13598903820 3.82e+07
## 451 Philippines 9569814790 1.34e+07
## 452 United States 6388439235 1.43e+07
## 453 United States 28516250629 3.27e+07
## 454 nan 12916159065 2.41e+07
## 455 Indonesia 14169516119 2.50e+07
## 456 nan 2897907132 1.93e+07
## 457 South Korea 600154268 1.44e+07
## 458 Brazil 5094050461 1.40e+07
## 459 United Kingdom 4352427049 1.50e+07
## 460 United Kingdom 15510153803 2.37e+07
## 461 Philippines 9569814790 1.34e+07
## 462 Saudi Arabia 4129249415 1.33e+07
## 463 India 6646953396 1.38e+07
## 464 United States 3647987299 2.46e+07
## 465 United States 8451754769 1.39e+07
## 466 India 17318452893 2.71e+07
## 467 Brazil 1967930734 1.37e+07
## 468 Jordan 9106781518 1.39e+07
## 469 nan 11280732382 1.84e+07
## 470 Russia 439098 1.49e+07
## 471 United Kingdom 2084791147 1.42e+07
## 472 Peru 1629801448 1.44e+07
## 473 Malaysia 9059696049 1.77e+07
## 474 Brazil 2602614088 1.24e+07
## 475 United Kingdom 10170264839 1.63e+07
## 476 Vietnam 9867515979 1.79e+07
## 477 Colombia 15777682516 2.77e+07
## 478 Brazil 4684983333 1.47e+07
## 479 United Kingdom 10170264839 1.63e+07
## 480 Indonesia 6036496916 1.41e+07
## 481 Saudi Arabia 2230986039 1.47e+07
## 482 India 5320485069 2.29e+07
## 483 United States 24519022988 4.24e+07
## 484 Brazil 7762905663 2.10e+07
## 485 Brazil 4959982720 1.40e+07
## 486 United States 4637474071 1.30e+07
## 487 United States 9378175604 1.32e+07
## 488 United States 7008250496 1.86e+07
## 489 Brazil 5224764969 1.32e+07
## 490 United States 10115316784 2.27e+07
## 491 United States 16086808918 1.24e+07
## 492 Canada 44900897958 3.92e+07
## 493 nan 14101010609 2.60e+07
## 494 United States 2543809954 2.37e+07
## 495 India 1973638757 1.37e+07
## 496 Spain 4977284539 1.49e+07
## 497 Chile 14631710289 4.81e+07
## 498 India 1001465469 1.70e+07
Created a data frame from a random sample containing the columns ‘Country’, ‘video views’ an ’subscribers. The sample is 50% of the data.
Creating third random sample of data
s3<-youtube[,c("Youtuber","highest_yearly_earnings")]
df3<-data.frame(sample_frac(s3,0.5,replace = TRUE))
df3
## Youtuber
## 1 BIGBANG
## 2 Jess No Limit
## 3 Talking Tom & Friends
## 4 Willyrex
## 5 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 6 Becky G
## 7 Drake
## 8 Heidi and Zidane HZHtube
## 9 Vania Mania Kids
## 10 JuegaGerman
## 11 Sonotek
## 12 ADEL et SAMI
## 13 Colors TV
## 14 Like Nastya ESP
## 15 NDTV
## 16 Topper Guild
## 17 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 18 The Weeknd
## 19 Vlad and Niki Arabic
## 20 DangMattSmith
## 21 AzzyLand
## 22 Blossom
## 23 Henrique e Juliano
## 24 MrBeast en Espa�\xef
## 25 MrBeast
## 26 Shorts Break
## 27 penguinz0
## 28 BBC News Hindi
## 29 ARY Digital HD
## 30 Shakira
## 31 Camila Cabello
## 32 Jass Records
## 33 DM - Desi Melodies
## 34 Lyrical Lemonade
## 35 Ariana Grande
## 36 Ultra Movie Parlour
## 37 SMTOWN
## 38 The Q
## 39 Zee Music Company
## 40 DLS News
## 41 Linus Tech Tips
## 42 SSundee
## 43 Chapitosiki
## 44 People Vs Food
## 45 ADEL et SAMI
## 46 Like Nastya
## 47 DeToxoMoroxo
## 48 Felipe Neto
## 49 Migos ATL
## 50 SIS vs BRO
## 51 whinderssonnunes
## 52 Matheus Yurley
## 53 Zach King
## 54 infobells
## 55 Jason Derulo
## 56 THE BROWN SIBLINGS
## 57 etvteluguindia
## 58 Shemaroo
## 59 Noor Stars
## 60 YouTube Movies
## 61 shfa
## 62 les boys tv2
## 63 Cardi B
## 64 Mrwhosetheboss
## 65 Canal Canalha
## 66 AuronPlay
## 67 TheOdd1sOut
## 68 Drake
## 69 Masha y el Oso
## 70 HUBA��
## 71 Dangal TV Channel
## 72 Trakin Tech
## 73 Duo Tiempo De Sol
## 74 Harsh Beniwal
## 75 SCTV
## 76 Liza Koshy
## 77 Felipe Neto
## 78 O Que N�����\xef\xbf
## 79 Prime Video India
## 80 VanossGaming
## 81 MrBeast en Espa�\xef
## 82 Michael Jackson
## 83 Kerajinan 5-Menit
## 84 Renato Garcia YT
## 85 Peet Montzingo
## 86 HUM TV
## 87 Jesser
## 88 DJ Khaled
## 89 Topper Guild
## 90 Rajshri
## 91 How Ridiculous
## 92 RobleisIUTU
## 93 Totoy kids - Espa�\xef
## 94 SOMOY TV
## 95 Emiway Bantai
## 96 TWICE
## 97 BBC News
## 98 Ultra Bollywood
## 99 KatyPerryVEVO
## 100 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd KIMPRO
## 101 Wow Kidz Action
## 102 Justin Bieber
## 103 MalumaVEVO
## 104 Billie Eilish
## 105 Kurzgesagt �����\xef\xbf
## 106 Kimberly Loaiza
## 107 7 Minutoz
## 108 Ishaan Ali 11
## 109 Geo News
## 110 CoryxKenshin
## 111 Yuya
## 112 Vlad and Niki IDN
## 113 Diana and Roma EN
## 114 Becky G
## 115 XXXTENTACION
## 116 Camila Cabello
## 117 LankyBox
## 118 IDEIAS INCR��
## 119 melanie martinez
## 120 SCTV
## 121 BETER B��
## 122 Infinite
## 123 Zee Bangla
## 124 BuzzFeedVideo
## 125 Gusttavo Lima Oficial
## 126 Marmok
## 127 Ami Rodriguez
## 128 Enaldinho
## 129 Avicii
## 130 Britain's Got Talent
## 131 netd m�\xef\xbf
## 132 Live
## 133 TV Ana Emilia
## 134 LeoNata Family
## 135 JD Pantoja
## 136 Everson Zoio
## 137 Avril Lavigne
## 138 Gaming
## 139 Spider Slack
## 140 Lele Pons
## 141 REACT
## 142 Maya and Mary
## 143 Stubborn Facts
## 144 White Hill Music
## 145 BANGTANTV
## 146 Dyland PROS
## 147 ChuChu TV Nursery Rhymes & Kids Songs
## 148 mmoshaya
## 149 Zhong
## 150 WatchMojo.com
## 151 TheRichest
## 152 BabyBus - Kids Songs and Cartoons
## 153 Matt Steffanina
## 154 O Reino Infantil
## 155 BETER B��
## 156 SriBalajiMovies
## 157 H2ODelirious
## 158 Yair17
## 159 It's Mamix
## 160 Beast Philanthropy
## 161 wifistudy
## 162 ZutiGang
## 163 SCTV
## 164 JFlaMusic
## 165 Camilo
## 166 Luisito Comunica
## 167 Bruno Mars
## 168 tuzelity SHUFFLE
## 169 Diana and Roma IND
## 170 SOMOY TV
## 171 PewDiePie
## 172 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfdSULGI
## 173 Unbox Therapy
## 174 Sports
## 175 TV Ana Emilia
## 176 Troom Troom India
## 177 Taylor Swift
## 178 Masha and The Bear
## 179 Disney Latinoam��
## 180 Smosh
## 181 Like Nastya Stories
## 182 Knowledge Tv ������
## 183 THE BROWN SIBLINGS
## 184 Z������\xef
## 185 The Q
## 186 BRIGHT SIDE
## 187 Shemaroo Movies
## 188 Dream
## 189 Telemundo
## 190 DEV Ke Facts
## 191 Sonotek Bhakti
## 192 Lucas and Marcus
## 193 Goldmines Dishoom
## 194 Bayashi TV
## 195 Shemaroo Comedy
## 196 MyMissAnand
## 197 Ozuna
## 198 Goldmines Cineplex
## 199 Ishtar Music
## 200 IDEAS EN 5 MINUTOS
## 201 Rafa & Luiz
## 202 #Ref����
## 203 CKM
## 204 LooLoo Kids - Nursery Rhymes and Children's Songs
## 205 Ch3Thailand
## 206 Rub������
## 207 BuzzFeedVideo
## 208 Avicii
## 209 Sony PAL
## 210 Maluma
## 211 Roman Atwood Vlogs
## 212 enchufetv
## 213 FACT FIRE KING
## 214 Musas
## 215 EminemMusic
## 216 WatchMojo.com
## 217 SET India
## 218 J Balvin
## 219 Desi Music Factory
## 220 Hacksmith Industries
## 221 Gibby :)
## 222 DALLMYD
## 223 MoreAliA
## 224 ABS-CBN News
## 225 Dyland PROS
## 226 Saregama Music
## 227 Jess No Limit
## 228 Goldmines Dishoom
## 229 EminemMusic
## 230 Shakira
## 231 KL BRO Biju Rithvik
## 232 NikkieTutorials
## 233 Eros Now Music
## 234 HAR PAL GEO
## 235 Jass Records
## 236 Mis Pastelitos
## 237 Renato Garcia YT
## 238 Vania Mania Kids
## 239 Sony PAL
## 240 Avicii
## 241 Jennifer Lopez
## 242 Happy Lives
## 243 Peet Montzingo
## 244 Tu COSMOPOLIS
## 245 Valentina Pontes ofc
## 246 Post Malone
## 247 Eros Now Music
## 248 O Que N�����\xef\xbf
## 249 Mark Rober
## 250 BBC News
## 251 Preston
## 252 Luli Pamp�
## 253 Rafa & Luiz
## 254 KSI
## 255 Becky G
## 256 Ricis Official
## 257 Health Time
## 258 Painzeiro
## 259 Renato Garcia YT
## 260 TazerCraft
## 261 Rclbeauty101
## 262 Chetan Monga Vlogs
## 263 toyorbabytv
## 264 Jass Records
## 265 Pop Chartbusters
## 266 W2S
## 267 WB Kids
## 268 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd Liziqi
## 269 Katakit Baby TV
## 270 SriBalajiMovies
## 271 Like Nastya VNM
## 272 BabyBus - Cerita & Lagu Anak-anak
## 273 ABC News
## 274 IGN
## 275 DeGoBooM
## 276 Manoj parihar
## 277 PrestonPlayz
## 278 KatieAngel
## 279 CVS 3D Rhymes & Kids Songs
## 280 Super JoJo - Nursery Rhymes & Kids Songs
## 281 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd one31
## 282 PewDiePie
## 283 It's Mamix
## 284 Michael Jackson
## 285 Nicki Minaj
## 286 La Rosa de Guadalupe
## 287 Sony AATH
## 288 Yudist Ardhana
## 289 JesseAndMike
## 290 Frost Diamond
## 291 Little Mix
## 292 Trap Nation
## 293 Les' Copaque Production
## 294 Sidemen
## 295 EeOneGuy
## 296 Gallina Pintadita
## 297 Willie Salim
## 298 Luis Fonsi
## 299 BUDI01 GAMING
## 300 VexTrex
## 301 Lofi Girl
## 302 MR. INDIAN HACKER
## 303 Jess No Limit
## 304 Rclbeauty101
## 305 FAPTV
## 306 The Tonight Show Starring Jimmy Fallon
## 307 FFUNTV
## 308 LankyBox
## 309 Willyrex
## 310 Panda Shorts
## 311 Manual do Mundo
## 312 Chapitosiki
## 313 Katy Perry
## 314 INCR�\xef\xbf
## 315 ARY Digital HD
## 316 Saad Lamjarred | �����\xef\xbf
## 317 toycantando
## 318 Rans Entertainment
## 319 5-Minute Crafts FAMILY
## 320 Pitbull
## 321 CKM
## 322 Saregama Music
## 323 StudyIQ IAS
## 324 H2ODelirious
## 325 Veritasium
## 326 EnriqueIglesiasVEVO
## 327 Blippi - Educational Videos for Kids
## 328 Spinnin' Records
## 329 Morgz
## 330 The Chainsmokers
## 331 Antrax
## 332 JYP Entertainment
## 333 Trakin Tech
## 334 Musas
## 335 POPS Kids
## 336 BUDI01 GAMING
## 337 Desi Gamers
## 338 Lil Nas X
## 339 shfa2 - ��
## 340 MattyBRaps
## 341 Jkk Entertainment
## 342 Danny Fitt
## 343 Wave Music Bhojpuri
## 344 Eva Bravo Play
## 345 Diana and Roma IND
## 346 Anitta
## 347 MoreAliA
## 348 Peppa Pig - Official Channel
## 349 Ja Mill
## 350 James Charles
## 351 Chapitosiki
## 352 Gusttavo Lima Oficial
## 353 Lindsey Stirling
## 354 Sun TV
## 355 Little Mix
## 356 Blippi - Educational Videos for Kids
## 357 karameeshchannel
## 358 ZAMZAM ELECTRONICS TRADING
## 359 HolaSoyGerman.
## 360 BuzzFeedVideo
## 361 Zee Tamil
## 362 Skrillex
## 363 PowerKids TV
## 364 Matheus Yurley
## 365 #Ref����
## 366 Coldplay
## 367 Maria Clara & JP
## 368 Badabun
## 369 Peppa Pig em Portugu��������\xef\xbf
## 370 Diana and Roma ARA
## 371 Ricis Official
## 372 Thairath Online
## 373 W2S
## 374 Rauw Alejandro
## 375 Felipe Neto
## 376 Kuplinov ��\xef\xbf
## 377 Salman Noman
## 378 Masha e o Urso
## 379 Fun For Kids TV - Hindi Rhymes
## 380 Cardi B
## 381 PlayStation
## 382 Felipe Neto
## 383 FAPTV
## 384 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 385 BigSchool
## 386 Goldmines
## 387 Kiddiestv Hindi - Nursery Rhymes & Kids Songs
## 388 Maroon5VEVO
## 389 CrashCourse
## 390 Ozuna
## 391 whinderssonnunes
## 392 Marta and Rustam
## 393 Vlad and Niki PRT
## 394 Jorge & Mateus Oficial
## 395 Masha e o Urso
## 396 ZAMZAM ELECTRONICS TRADING
## 397 penguinz0
## 398 Neha Kakkar
## 399 Mundo Bita
## 400 Lokdhun Punjabi
## 401 Galinha Pintadinha
## 402 Chetan Monga Vlogs
## 403 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd | Arab Games Network
## 404 \xfd\xfd\xfd Kids Roma Show
## 405 Like Nastya IDN
## 406 Boram Tube Vlog [��������\xef\xbf
## 407 National Geographic
## 408 Fueled By Ramen
## 409 netd m�\xef\xbf
## 410 \xfd\xfd\xfd Kids Roma Show
## 411 Ultra Records
## 412 TheOdd1sOut
## 413 Zeinab Harake
## 414 Cyprien
## 415 Tlnovelas
## 416 5-Minute Crafts PLAY
## 417 WiederDude
## 418 Aditya Movies
## 419 Kuplinov ��\xef\xbf
## 420 MAIKI021
## 421 PopularMMOs
## 422 Zig & Sharko
## 423 Blockbuster Movies
## 424 The Weeknd
## 425 Bounce Patrol - Kids Songs
## 426 Infinite
## 427 Pen Movies
## 428 Good Mythical Morning
## 429 DaniRep | +6 V����������\xef
## 430 Daily Dose Of Internet
## 431 Family Fitness
## 432 VexTrex
## 433 Lil Nas X
## 434 Drawblogs
## 435 NDTV India
## 436 Sidhu Moose Wala
## 437 RS 1313 SHORTS
## 438 BBC
## 439 Crazy XYZ
## 440 Little Baby Bum - Nursery Rhymes & Kids Songs
## 441 EminemVEVO
## 442 Avril Lavigne
## 443 DM - Desi Melodies
## 444 Willyrex
## 445 Vilmei
## 446 Logan Paul
## 447 Village Cooking Channel
## 448 NichLmao
## 449 Goldmines Great Indian Comedy
## 450 Blockbuster Movies
## 451 Britain's Got Talent
## 452 Jass Records
## 453 ERB
## 454 Gibby :)
## 455 Werever2morro
## 456 SriBalajiMovies
## 457 Sonotek Bhakti
## 458 Vogue
## 459 YouTube Movies
## 460 Marvel Entertainment
## 461 DopeLyrics
## 462 Vijay Kumar Viner Vlogs
## 463 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd 5 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 464 PlayStation
## 465 El Reino a Jugar
## 466 Roman Atwood Vlogs
## 467 Lotus Music
## 468 With Kids[����\xef
## 469 Boram Tube ToysReview [��������\xef\xbf
## 470 League of Legends
## 471 Maha Fun Tv
## 472 Davie504
## 473 RobleisIUTU
## 474 SriBalajiMovies
## 475 Lana Del Rey
## 476 Felipe Neto
## 477 Marques Brownlee
## 478 That Little Puff
## 479 Green Gold TV - Official Channel
## 480 IndiaTV
## 481 Bollywood Classics
## 482 tanboy kun
## 483 EeOneGuy
## 484 Zee Bangla
## 485 melanie martinez
## 486 Linus Tech Tips
## 487 Vogue
## 488 Sebasti���
## 489 Vania Mania Kids
## 490 MR. INDIAN HACKER
## 491 Rihanna
## 492 1theK (����\xef
## 493 Enes Batur
## 494 La Rosa de Guadalupe
## 495 MalumaVEVO
## 496 WorkpointOfficial
## 497 Top Viral Talent
## 498 WatchMojo.com
## highest_yearly_earnings
## 1 2.000e+06
## 2 2.630e+07
## 3 1.300e+06
## 4 7.395e+05
## 5 4.300e+06
## 6 5.000e+06
## 7 1.000e+00
## 8 4.606e+05
## 9 7.500e+06
## 10 3.200e+06
## 11 1.400e+06
## 12 1.300e+06
## 13 5.700e+07
## 14 1.540e+07
## 15 2.800e+06
## 16 3.300e+07
## 17 6.570e+04
## 18 1.790e+07
## 19 3.100e+06
## 20 6.193e+05
## 21 2.586e+05
## 22 2.100e+06
## 23 7.900e+06
## 24 1.600e+06
## 25 6.470e+07
## 26 2.900e+03
## 27 9.100e+06
## 28 6.300e+06
## 29 5.520e+07
## 30 1.700e+07
## 31 2.000e+06
## 32 5.000e-02
## 33 6.800e+06
## 34 3.800e+06
## 35 7.700e+06
## 36 0.000e+00
## 37 1.120e+07
## 38 1.400e-01
## 39 3.860e+07
## 40 1.500e+06
## 41 4.200e+06
## 42 8.400e+06
## 43 3.420e+07
## 44 7.363e+05
## 45 1.300e+06
## 46 2.300e+06
## 47 0.000e+00
## 48 6.300e+06
## 49 2.400e+06
## 50 5.000e+00
## 51 1.300e+06
## 52 7.100e+03
## 53 6.000e+00
## 54 1.100e+06
## 55 2.150e+07
## 56 4.900e+06
## 57 1.310e+07
## 58 1.120e+07
## 59 7.467e+05
## 60 5.800e-01
## 61 7.630e+04
## 62 2.160e+04
## 63 3.400e-01
## 64 8.000e+06
## 65 1.100e+06
## 66 5.829e+05
## 67 1.500e+06
## 68 1.000e+00
## 69 1.000e-01
## 70 1.530e+07
## 71 2.690e+07
## 72 2.100e+06
## 73 2.600e+06
## 74 1.300e+06
## 75 1.600e+01
## 76 8.450e+04
## 77 6.300e+06
## 78 4.200e+06
## 79 1.610e+07
## 80 2.600e+06
## 81 1.600e+06
## 82 7.600e+06
## 83 9.475e+05
## 84 4.000e+06
## 85 1.910e+07
## 86 3.290e+07
## 87 4.400e+06
## 88 1.800e+01
## 89 3.300e+07
## 90 1.310e+07
## 91 1.880e+07
## 92 1.300e+06
## 93 5.400e+06
## 94 7.790e+02
## 95 2.000e+06
## 96 4.700e+06
## 97 3.200e+06
## 98 0.000e+00
## 99 4.300e+06
## 100 1.634e+08
## 101 5.100e+06
## 102 8.500e+06
## 103 4.700e+06
## 104 7.000e+06
## 105 1.400e+06
## 106 6.600e+06
## 107 1.400e+06
## 108 3.500e+07
## 109 4.800e+06
## 110 5.000e+06
## 111 1.610e+04
## 112 6.400e+06
## 113 8.500e+06
## 114 5.000e+06
## 115 2.800e+06
## 116 2.000e+06
## 117 3.910e+07
## 118 1.362e+05
## 119 2.700e+06
## 120 1.600e+01
## 121 7.020e+07
## 122 3.300e+06
## 123 2.900e+06
## 124 4.374e+05
## 125 1.030e+07
## 126 1.800e+06
## 127 1.270e+07
## 128 1.450e+07
## 129 3.900e+06
## 130 2.600e+06
## 131 2.040e+07
## 132 0.000e+00
## 133 1.300e+06
## 134 5.630e+07
## 135 6.496e+05
## 136 1.465e+05
## 137 2.400e+06
## 138 0.000e+00
## 139 3.650e+07
## 140 8.903e+05
## 141 1.100e+06
## 142 2.100e+06
## 143 4.020e+04
## 144 4.500e+06
## 145 8.100e+06
## 146 4.617e+05
## 147 2.020e+07
## 148 3.500e+06
## 149 0.000e+00
## 150 2.400e+06
## 151 0.000e+00
## 152 6.100e+06
## 153 9.260e+04
## 154 5.300e+06
## 155 7.020e+07
## 156 7.400e+06
## 157 8.057e+05
## 158 4.257e+05
## 159 7.672e+05
## 160 1.800e+03
## 161 6.858e+05
## 162 1.660e+07
## 163 1.600e+01
## 164 5.327e+05
## 165 2.900e+06
## 166 0.000e+00
## 167 8.400e+06
## 168 2.650e+07
## 169 2.200e+06
## 170 7.790e+02
## 171 1.900e+06
## 172 5.400e+06
## 173 8.025e+05
## 174 7.700e-01
## 175 1.300e+06
## 176 8.290e+05
## 177 2.540e+07
## 178 3.220e+07
## 179 2.270e+02
## 180 3.300e+06
## 181 1.400e+06
## 182 1.000e-01
## 183 4.900e+06
## 184 8.800e+06
## 185 1.400e-01
## 186 0.000e+00
## 187 8.900e+06
## 188 1.300e+06
## 189 2.300e+06
## 190 1.310e+07
## 191 1.200e+06
## 192 1.500e+07
## 193 6.200e+06
## 194 1.190e+02
## 195 4.900e+06
## 196 1.300e+06
## 197 8.100e+06
## 198 2.300e+06
## 199 8.700e+06
## 200 3.100e+03
## 201 5.700e+06
## 202 3.332e+05
## 203 6.308e+05
## 204 8.000e+00
## 205 0.000e+00
## 206 2.460e+07
## 207 4.374e+05
## 208 3.900e+06
## 209 2.000e+07
## 210 7.200e-01
## 211 7.600e+04
## 212 1.200e+06
## 213 2.500e+06
## 214 4.000e+00
## 215 1.250e+07
## 216 2.400e+06
## 217 8.750e+07
## 218 6.200e+06
## 219 0.000e+00
## 220 4.000e+06
## 221 4.933e+05
## 222 1.500e+06
## 223 1.200e+07
## 224 8.700e+06
## 225 4.617e+05
## 226 2.560e+07
## 227 2.630e+07
## 228 6.200e+06
## 229 1.250e+07
## 230 1.700e+07
## 231 9.760e+07
## 232 1.700e+06
## 233 9.726e+05
## 234 6.420e+07
## 235 5.000e-02
## 236 2.400e+06
## 237 4.000e+06
## 238 7.500e+06
## 239 2.000e+07
## 240 3.900e+06
## 241 3.000e+06
## 242 0.000e+00
## 243 1.910e+07
## 244 7.747e+05
## 245 1.400e+06
## 246 9.400e+06
## 247 9.726e+05
## 248 4.200e+06
## 249 4.300e+06
## 250 3.200e+06
## 251 7.300e+06
## 252 9.700e+06
## 253 5.700e+06
## 254 2.611e+05
## 255 5.000e+06
## 256 7.500e+06
## 257 6.690e+04
## 258 2.100e+06
## 259 4.000e+06
## 260 1.900e+06
## 261 4.145e+05
## 262 5.500e+06
## 263 8.100e+06
## 264 5.000e-02
## 265 3.500e+06
## 266 1.478e+05
## 267 6.700e+06
## 268 1.100e+06
## 269 4.400e+06
## 270 7.400e+06
## 271 4.100e+06
## 272 5.400e+06
## 273 8.900e+06
## 274 4.700e+06
## 275 4.800e+06
## 276 1.800e+06
## 277 7.300e+06
## 278 2.500e+06
## 279 6.500e+06
## 280 1.580e+07
## 281 6.800e+06
## 282 1.900e+06
## 283 7.672e+05
## 284 7.600e+06
## 285 5.000e+06
## 286 0.000e+00
## 287 1.320e+07
## 288 8.500e+06
## 289 2.000e+06
## 290 0.000e+00
## 291 1.900e+06
## 292 2.200e+06
## 293 5.700e+06
## 294 3.800e+06
## 295 7.850e+04
## 296 3.400e+06
## 297 9.500e+06
## 298 0.000e+00
## 299 6.449e+05
## 300 0.000e+00
## 301 1.500e+06
## 302 5.200e+06
## 303 2.630e+07
## 304 4.145e+05
## 305 1.700e+06
## 306 0.000e+00
## 307 3.800e+06
## 308 3.910e+07
## 309 7.395e+05
## 310 2.300e+07
## 311 2.600e+06
## 312 3.420e+07
## 313 6.400e+06
## 314 8.662e+05
## 315 5.520e+07
## 316 1.800e+06
## 317 8.300e+06
## 318 2.800e+06
## 319 1.300e+06
## 320 4.200e+06
## 321 6.308e+05
## 322 2.560e+07
## 323 3.600e+06
## 324 8.057e+05
## 325 2.100e+06
## 326 3.600e+06
## 327 8.700e+06
## 328 4.800e+06
## 329 2.800e+06
## 330 3.900e+06
## 331 2.255e+05
## 332 1.480e+07
## 333 2.100e+06
## 334 4.000e+00
## 335 1.230e+07
## 336 6.449e+05
## 337 2.400e-01
## 338 2.200e+06
## 339 1.190e+07
## 340 1.100e+06
## 341 2.400e+06
## 342 1.320e+07
## 343 2.500e+06
## 344 3.100e+06
## 345 2.200e+06
## 346 3.500e+06
## 347 1.200e+07
## 348 1.180e+07
## 349 0.000e+00
## 350 2.800e+06
## 351 3.420e+07
## 352 1.030e+07
## 353 7.333e+05
## 354 4.710e+07
## 355 1.900e+06
## 356 8.700e+06
## 357 4.200e+06
## 358 7.670e+07
## 359 1.900e-01
## 360 4.374e+05
## 361 1.680e+07
## 362 1.200e+06
## 363 1.530e+07
## 364 7.100e+03
## 365 3.332e+05
## 366 9.500e+06
## 367 1.210e+07
## 368 2.100e+01
## 369 1.300e+06
## 370 3.200e+06
## 371 7.500e+06
## 372 1.080e+07
## 373 1.478e+05
## 374 9.900e+06
## 375 6.300e+06
## 376 4.700e+06
## 377 3.400e-01
## 378 0.000e+00
## 379 5.300e+06
## 380 3.400e-01
## 381 2.000e+06
## 382 6.300e+06
## 383 1.700e+06
## 384 3.400e+06
## 385 0.000e+00
## 386 8.600e-01
## 387 5.400e+06
## 388 4.700e+06
## 389 3.445e+05
## 390 8.100e+06
## 391 1.300e+06
## 392 2.170e+07
## 393 1.900e+06
## 394 4.200e+06
## 395 0.000e+00
## 396 7.670e+07
## 397 9.100e+06
## 398 1.200e+06
## 399 1.030e+07
## 400 1.700e+06
## 401 1.940e+07
## 402 5.500e+06
## 403 2.100e+06
## 404 8.400e+06
## 405 2.100e+06
## 406 1.100e+06
## 407 2.200e+06
## 408 2.900e+06
## 409 2.040e+07
## 410 8.400e+06
## 411 3.900e+06
## 412 1.500e+06
## 413 5.802e+05
## 414 5.480e+05
## 415 7.420e+02
## 416 5.100e+06
## 417 2.700e+06
## 418 1.090e+07
## 419 4.700e+06
## 420 3.570e+05
## 421 7.342e+05
## 422 3.000e+06
## 423 0.000e+00
## 424 1.790e+07
## 425 6.100e+06
## 426 3.300e+06
## 427 4.600e+06
## 428 0.000e+00
## 429 4.000e+06
## 430 1.920e+07
## 431 1.130e+07
## 432 0.000e+00
## 433 2.200e+06
## 434 4.810e+04
## 435 2.400e+06
## 436 7.700e+06
## 437 1.020e+07
## 438 2.100e+06
## 439 4.900e+06
## 440 4.700e+06
## 441 6.700e+06
## 442 2.400e+06
## 443 6.800e+06
## 444 7.395e+05
## 445 1.270e+07
## 446 5.186e+05
## 447 9.300e+06
## 448 2.910e+07
## 449 3.200e+06
## 450 0.000e+00
## 451 2.600e+06
## 452 5.000e-02
## 453 5.301e+05
## 454 4.933e+05
## 455 0.000e+00
## 456 7.400e+06
## 457 1.200e+06
## 458 2.200e+06
## 459 5.800e-01
## 460 3.000e+00
## 461 4.759e+05
## 462 5.300e+06
## 463 1.600e+06
## 464 2.000e+06
## 465 4.000e+06
## 466 7.600e+04
## 467 1.100e+06
## 468 2.200e+06
## 469 2.381e+05
## 470 2.100e+06
## 471 2.295e+05
## 472 1.400e+06
## 473 1.300e+06
## 474 7.400e+06
## 475 6.500e+06
## 476 6.300e+06
## 477 2.500e+06
## 478 3.620e+07
## 479 0.000e+00
## 480 1.400e+07
## 481 7.300e+06
## 482 2.300e+06
## 483 7.850e+04
## 484 2.900e+06
## 485 2.700e+06
## 486 4.200e+06
## 487 2.200e+06
## 488 5.300e+06
## 489 7.500e+06
## 490 5.200e+06
## 491 8.800e+06
## 492 5.100e+06
## 493 0.000e+00
## 494 0.000e+00
## 495 4.700e+06
## 496 6.300e+06
## 497 1.400e+06
## 498 2.400e+06
Created a data frame from a random sample containing the columns ‘Youtuber’ and their ‘highest yearly earnings’. The sample is 50% of the data.
Creating fourth random sample of data
s4<-youtube[,c("Youtuber","uploads")]
df4<-data.frame(sample_frac(s4,0.5,replace = TRUE))
df4
## Youtuber
## 1 Gulshan Kalra
## 2 BANGTANTV
## 3 DUDU e CAROL
## 4 TWICE
## 5 RS 1313 SHORTS
## 6 Skrillex
## 7 Zee Telugu
## 8 Saad Lamjarred | �����\xef\xbf
## 9 BETER B��
## 10 Vlad and Niki IDN
## 11 Jake Paul
## 12 The ACE Family
## 13 #Ref����
## 14 TEDx Talks
## 15 5-Minute Crafts DIY
## 16 Kashvi Adlakha
## 17 David Guetta
## 18 GMM GRAMMY OFFICIAL
## 19 5-Minute Crafts
## 20 Vijay Television
## 21 Family Fitness
## 22 Vilmei
## 23 TED
## 24 YouTube Movies
## 25 SIS vs BRO
## 26 Trap City
## 27 Music
## 28 DaFuq!?Boom!
## 29 Dear Sir
## 30 Panda Shorts
## 31 Willyrex
## 32 Shakira
## 33 Ultra Bollywood
## 34 Netflix Jr.
## 35 Village Cooking Channel
## 36 Vlad and Niki ESP
## 37 Jake Paul
## 38 Bispo Bruno Leonardo
## 39 Ben Azelart
## 40 BETER B��
## 41 Troom Troom PT
## 42 News18 India
## 43 Worldwide Records Bhojpuri
## 44 YRF
## 45 PlayStation
## 46 Wiz Khalifa
## 47 Dream
## 48 LOUD
## 49 shfa
## 50 TEDx Talks
## 51 Henrique e Juliano
## 52 First We Feast
## 53 Camila Loures
## 54 Tekashi 6ix9ine
## 55 ZutiGang
## 56 KOMPASTV
## 57 Ivana Alawi
## 58 WWE
## 59 zbing z.
## 60 Renato Garcia YT
## 61 HYBE LABELS
## 62 Alan Chikin Chow
## 63 TV9 Bharatvarsh
## 64 It's Mamix
## 65 Aphmau
## 66 1theK (����\xef
## 67 Ricis Official
## 68 Sony Music South
## 69 YouTube Movies
## 70 Rosanna Pansino
## 71 Saad Lamjarred | �����\xef\xbf
## 72 Rub������
## 73 mmoshaya
## 74 Popular on YouTube
## 75 Sun TV
## 76 News18 India
## 77 Willie Salim
## 78 Invento na Hora
## 79 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 80 David Guetta
## 81 Linkin Park
## 82 Niana Guerrero
## 83 The Vishal bhatt
## 84 JULIA GISELLA
## 85 Mikecrack
## 86 Shawn Mendes
## 87 Prime Video India
## 88 Vijay Kumar Viner Vlogs
## 89 Wolfoo Family
## 90 Nicki Minaj
## 91 H2ODelirious
## 92 toyorbabytv
## 93 Maroon5VEVO
## 94 Movieclips
## 95 Lana Del Rey
## 96 DeGoBooM
## 97 Lindsey Stirling
## 98 Bruno Mars
## 99 DaniRep | +6 V����������\xef
## 100 A4
## 101 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 102 Ajay Sharma
## 103 Valentina Pontes ofc
## 104 Wolfoo Channel
## 105 WatchMojo.com
## 106 Sony PAL
## 107 ATHLEAN-X�
## 108 F2Freestylers - Ultimate Soccer Skills Channel
## 109 Vlad v��\xef
## 110 RS 1313 SHORTS
## 111 Pencilmation
## 112 Go Ami Go!
## 113 Daftar Populer
## 114 Melon City Show - ����������\xef\xbf
## 115 Goldmines Movies
## 116 Maya and Mary
## 117 JJ Olatunji
## 118 tabii Urdu
## 119 WorkpointOfficial
## 120 SAAIHALILINTAR
## 121 BeatboxJCOP
## 122 7 Minutoz
## 123 CrashCourse
## 124 Naisa Alifia Yuriza (N.A.Y)
## 125 Awakening Music
## 126 GMM GRAMMY OFFICIAL
## 127 BUDI01 GAMING
## 128 NDTV
## 129 Ei Nerd
## 130 bharatzkitchen HINDI
## 131 MissaSinfonia
## 132 XpressTV
## 133 SMTOWN
## 134 Invento na Hora
## 135 OneDirectionVEVO
## 136 LosPolinesios
## 137 The Dodo
## 138 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 139 The Vishal bhatt
## 140 Dan-Sa / Daniel Saboya
## 141 MGC Playhouse
## 142 The Shiny Peanut
## 143 E-MasterSensei
## 144 Pencilmation
## 145 GMA Integrated News
## 146 Sebasti���
## 147 Mundo Bita
## 148 WorkpointOfficial
## 149 TRANS TV Official
## 150 Colors Rishtey
## 151 Family GamesTV
## 152 ABP NEWS
## 153 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd KIMPRO
## 154 Jelly
## 155 Pencilmation
## 156 Troom Troom Es
## 157 REACT
## 158 LeoNata Family
## 159 That Little Puff
## 160 Coke Studio
## 161 Indosiar
## 162 KOMPASTV
## 163 theRadBrad
## 164 netd m�\xef\xbf
## 165 Zee Music Classic
## 166 Troom Troom Es
## 167 Vijay Television
## 168 Robin Hood Gamer
## 169 CookingShooking Hindi
## 170 EminemVEVO
## 171 Fifth Harmony
## 172 Liza Koshy
## 173 Priyal Kukreja
## 174 Caeli YT
## 175 Infobells Bangla
## 176 TommyInnit
## 177 DeToxoMoroxo
## 178 Ivana Alawi
## 179 infobells - Tamil
## 180 Bruno Mars
## 181 Junya.����
## 182 Ariana Grande
## 183 Vlad and Niki PRT
## 184 Speed Records
## 185 Avicii
## 186 Khan GS Research Centre
## 187 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd | Arab Games Network
## 188 Jason Vlogs
## 189 Camila Cabello
## 190 Voot Kids
## 191 Indosiar
## 192 Henrique e Juliano
## 193 Like Nastya PRT
## 194 Neha Kakkar
## 195 5-Minute Crafts
## 196 BUDI01 GAMING
## 197 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfdSULGI
## 198 ABP NEWS
## 199 Bispo Bruno Leonardo
## 200 AboFlah
## 201 Team Films Bhojpuri
## 202 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 203 Zee Kids
## 204 FailArmy
## 205 Crescendo com Luluca
## 206 1theK (����\xef
## 207 Canal Nostalgia
## 208 Yudist Ardhana
## 209 PANDA BOI
## 210 Shemaroo Comedy
## 211 #Ref����
## 212 Mariale
## 213 XXXTENTACION
## 214 BuzzFeedVideo
## 215 WiederDude
## 216 CarryMinati
## 217 Airrack
## 218 CollegeHumor
## 219 Dan Rhodes
## 220 Pok���������
## 221 shakiraVEVO
## 222 Darkar Company Studios
## 223 Telemundo
## 224 RCTI - LAYAR DRAMA INDONESIA
## 225 Calvin Harris
## 226 NickyJamTV
## 227 tanboy kun
## 228 GMMTV OFFICIAL��
## 229 Worldwide Records Bhojpuri
## 230 SAM SMITH
## 231 MrBeast 2
## 232 JOJO TV - Hindi Stories
## 233 Jass Records
## 234 Mis Pastelitos
## 235 Juan De Dios Pantoja
## 236 Nicki Minaj
## 237 SMTOWN
## 238 Vlad and Niki IDN
## 239 whinderssonnunes
## 240 Lofi Girl
## 241 Harry Styles
## 242 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd Ms Yeah
## 243 The ACE Family
## 244 Little Angel - M����������
## 245 The World Adventures ������
## 246 NishaMadhulika
## 247 RobleisIUTU
## 248 AboFlah
## 249 DALLMYD
## 250 Planeta das G��
## 251 PowerfulJRE
## 252 karameeshchannel
## 253 J Balvin
## 254 Kurt Hugo Schneider
## 255 DisneyMusicVEVO
## 256 Collins Key
## 257 Pinkfong Baby Shark - Kids' Songs & Stories
## 258 Wow Kidz Action
## 259 Pastor Ant����\xef
## 260 Techno Gamerz
## 261 RCTI - LAYAR DRAMA INDONESIA
## 262 Jake Paul
## 263 les boys tv2
## 264 DanTDM
## 265 D Billions
## 266 Make Joke Of
## 267 FunFun Toy Doll TV
## 268 SriBalajiMovies
## 269 Family GamesTV
## 270 toycantando
## 271 Narins Beauty
## 272 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd - Al-Remas
## 273 Bebefinn - Nursery Rhymes & Kids Songs
## 274 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 275 Beast Philanthropy
## 276 Fatos Desconhecidos
## 277 BBC News
## 278 KatyPerryVEVO
## 279 Beast Philanthropy
## 280 Lyrical Lemonade
## 281 WB Kids
## 282 Infobells Bangla
## 283 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd
## 284 Unbox Therapy
## 285 CrashCourse
## 286 America's Got Talent
## 287 jbalvinVEVO
## 288 Adexe & Nau
## 289 Peet Montzingo
## 290 infobells - Kannada
## 291 Goldmines
## 292 Arif muhammad
## 293 Just For Laughs Gags
## 294 NMF News
## 295 jacksepticeye
## 296 FunFun Toy Doll TV
## 297 Peppa Pig - Official Channel
## 298 WORLDSTARHIPHOP
## 299 Marmok
## 300 Super Simple Songs - Kids Songs
## 301 Las Ratitas
## 302 Linus Tech Tips
## 303 jaanvi patel
## 304 My Mate Nate
## 305 Quantum Tech HD
## 306 Prime Video India
## 307 DM - Desi Melodies
## 308 Canal Nostalgia
## 309 5-Minute Crafts DIY
## 310 Voc���
## 311 Willie Salim
## 312 Musas
## 313 HAR PAL GEO
## 314 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 315 First We Feast
## 316 Zee Bangla
## 317 Morgz
## 318 Gallina Pintadita
## 319 Gyan Gaming�
## 320 SAAIHALILINTAR
## 321 Jimmy Kimmel Live
## 322 Goldmines Movies
## 323 Vania Mania Kids
## 324 Tu COSMOPOLIS
## 325 Noman Official
## 326 Ivana Alawi
## 327 Akon
## 328 XO TEAM
## 329 ISSEI / ����
## 330 Peppa Pig - Official Channel
## 331 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd - Al-Remas
## 332 Sony Music South
## 333 5-Minute Crafts DIY
## 334 People Vs Food
## 335 Markiplier
## 336 WowKidz
## 337 Vlad and Niki ARA
## 338 iTownGamePlay *Terror&Diversi�\xef
## 339 TV9 Bharatvarsh
## 340 EminemVEVO
## 341 Telemundo
## 342 PowerKids TV
## 343 Natan por A\xef\xbf
## 344 Free Fire India Official
## 345 ADEL et SAMI
## 346 Ray William Johnson
## 347 Kimberly Loaiza
## 348 Heidi y Zidane
## 349 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd - Genevieve's Playhouse
## 350 MrSuicideSheep
## 351 T-Series
## 352 Mister Max
## 353 Daddy Yankee
## 354 Drake
## 355 Jingle Toons
## 356 Smile Family Spanish
## 357 THE BROWN SIBLINGS
## 358 Trap City
## 359 RedeTV
## 360 Vlad and Niki ESP
## 361 NishaMadhulika
## 362 PowerfulJRE
## 363 Skrillex
## 364 Troom Troom India
## 365 The MriDul
## 366 Sony Music India
## 367 Chad Wild Clay
## 368 Like Nastya Vlog
## 369 Chris Brown
## 370 Reaction Time
## 371 GMM GRAMMY OFFICIAL
## 372 tabii Urdu
## 373 Maria Clara & JP
## 374 Stubborn Facts
## 375 Younes Zarou
## 376 Minecraft - Topic
## 377 Hero Movies 2023
## 378 Super Simple Songs - Kids Songs
## 379 Kwebbelkop
## 380 Make Joke Of
## 381 Neha Kakkar
## 382 Disney Junior
## 383 Chetan Monga Vlogs
## 384 Bispo Bruno Leonardo
## 385 Speed Records
## 386 BuzzFeedVideo
## 387 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd KIMPRO
## 388 Hacksmith Industries
## 389 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd - Genevieve's Playhouse
## 390 LIV Crime
## 391 elrubiusOMG
## 392 JD Pantoja
## 393 Shawn Mendes
## 394 karameeshchannel
## 395 LEGO
## 396 Just For Laughs Gags
## 397 Quantum Tech HD
## 398 SCTV
## 399 GRAMMY GOLD OFFICIAL
## 400 Diana and Roma IND
## 401 Anaysa
## 402 Troom Troom PT
## 403 La Rosa de Guadalupe
## 404 Vibhu 96
## 405 AH
## 406 POPS Kids
## 407 Talking Angela
## 408 MattyBRaps
## 409 Sonotek
## 410 Like Nastya Vlog
## 411 THE BROWN SIBLINGS
## 412 Luli Pamp�
## 413 Saturday Night Live
## 414 MC Divertida
## 415 Mar�����
## 416 CarryMinati
## 417 T-Series Hamaar Bhojpuri
## 418 Collins Key
## 419 Hacksmith Industries
## 420 Timba Vk
## 421 Jordan Matter
## 422 Sony Music India
## 423 The Tonight Show Starring Jimmy Fallon
## 424 Lyna
## 425 Like Nastya Stories
## 426 Mobile Legends: Bang Bang
## 427 Sia
## 428 DUDU e CAROL
## 429 AM3NlC
## 430 Manoj parihar
## 431 Stokes Twins
## 432 Zee News
## 433 Valentina Pontes ofc
## 434 Piuzinho
## 435 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 436 Unspeakable
## 437 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 438 Like Nastya IDN
## 439 Canal KondZilla
## 440 YoungBoy Never Broke Again
## 441 GMMTV OFFICIAL��
## 442 FC Barcelona
## 443 Talking Tom
## 444 Wiz Khalifa
## 445 Little Mix
## 446 The ACE Family
## 447 Matt Steffanina
## 448 Dear Sir
## 449 The Lallantop
## 450 Atlantic Records
## 451 AH
## 452 TED
## 453 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 454 League of Legends
## 455 Avicii
## 456 Gusttavo Lima Oficial
## 457 IDEIAS INCR��
## 458 HUBA��
## 459 FC Barcelona
## 460 dednahype
## 461 Preston
## 462 Aadishakti Films
## 463 whinderssonnunes
## 464 SelenaGomezVEVO
## 465 LosPolinesios
## 466 BLACKPINK
## 467 ATHLEAN-X�
## 468 EminemVEVO
## 469 Sony Music South
## 470 SlivkiShow
## 471 1MILLION Dance Studio
## 472 Tekashi 6ix9ine
## 473 Ami Rodriguez
## 474 TheGrefg
## 475 Juan De Dios Pantoja
## 476 FactTechz
## 477 Smile Family Spanish
## 478 Mar�����
## 479 Jimmy Kimmel Live
## 480 Niana Guerrero
## 481 Franco Escamilla
## 482 Jazzghost
## 483 Masha y el Oso
## 484 MyMissAnand
## 485 YoungBoy Never Broke Again
## 486 Pari's Lifestyle
## 487 Pencilmation
## 488 Ch3Thailand
## 489 Vilmei
## 490 Vlad and Niki ESP
## 491 Werever2morro
## 492 Cyprien
## 493 Badabun
## 494 Kurzgesagt �����\xef\xbf
## 495 Salman Noman
## 496 JJ Olatunji
## 497 KL BRO Biju Rithvik
## 498 Alex Gonzaga Official
## uploads
## 1 545
## 2 2281
## 3 2942
## 4 1123
## 5 5628
## 6 241
## 7 3
## 8 176
## 9 2738
## 10 498
## 11 1006
## 12 712
## 13 846
## 14 200933
## 15 5062
## 16 1525
## 17 749
## 18 15462
## 19 1
## 20 51515
## 21 1699
## 22 1324
## 23 4445
## 24 1
## 25 60
## 26 3
## 27 0
## 28 214
## 29 633
## 30 667
## 31 7550
## 32 326
## 33 9168
## 34 1996
## 35 219
## 36 515
## 37 1006
## 38 4891
## 39 301
## 40 2738
## 41 2738
## 42 182742
## 43 6518
## 44 3707
## 45 20292
## 46 682
## 47 116
## 48 690
## 49 982
## 50 200933
## 51 325
## 52 1076
## 53 3978
## 54 51
## 55 1363
## 56 269050
## 57 180
## 58 70127
## 59 3151
## 60 3956
## 61 1337
## 62 865
## 63 293516
## 64 210
## 65 4411
## 66 18950
## 67 2736
## 68 2726
## 69 1
## 70 1248
## 71 176
## 72 921
## 73 1189
## 74 3
## 75 60964
## 76 182742
## 77 679
## 78 1281
## 79 1255
## 80 749
## 81 0
## 82 443
## 83 1040
## 84 19
## 85 1876
## 86 133
## 87 7090
## 88 1357
## 89 61
## 90 42
## 91 3727
## 92 1159
## 93 147
## 94 39113
## 95 43
## 96 4702
## 97 199
## 98 99
## 99 12419
## 100 1
## 101 1478
## 102 0
## 103 1291
## 104 22
## 105 24837
## 106 24089
## 107 1349
## 108 777
## 109 515
## 110 5628
## 111 1481
## 112 252
## 113 3810
## 114 1727
## 115 3
## 116 552
## 117 1294
## 118 1306
## 119 72580
## 120 409
## 121 748
## 122 521
## 123 1481
## 124 786
## 125 814
## 126 15462
## 127 319
## 128 151136
## 129 0
## 130 729
## 131 233
## 132 724
## 133 4158
## 134 1281
## 135 266
## 136 982
## 137 8
## 138 0
## 139 1040
## 140 1329
## 141 1426
## 142 2337
## 143 1300
## 144 1481
## 145 296272
## 146 237
## 147 253
## 148 72580
## 149 148225
## 150 23490
## 151 0
## 152 301308
## 153 1646
## 154 6066
## 155 1481
## 156 2912
## 157 4339
## 158 2321
## 159 769
## 160 450
## 161 65286
## 162 269050
## 163 8195
## 164 23491
## 165 1640
## 166 2912
## 167 51515
## 168 0
## 169 393
## 170 104
## 171 67
## 172 142
## 173 772
## 174 483
## 175 359
## 176 342
## 177 1
## 178 180
## 179 555
## 180 99
## 181 5985
## 182 147
## 183 516
## 184 10938
## 185 156
## 186 1
## 187 6289
## 188 83
## 189 80
## 190 4660
## 191 65286
## 192 325
## 193 654
## 194 149
## 195 1
## 196 319
## 197 683
## 198 301308
## 199 4891
## 200 641
## 201 19703
## 202 2210
## 203 1212
## 204 438
## 205 1307
## 206 18950
## 207 554
## 208 2854
## 209 967
## 210 4487
## 211 846
## 212 2618
## 213 133
## 214 7737
## 215 289
## 216 186
## 217 173
## 218 4340
## 219 1644
## 220 194
## 221 197
## 222 183
## 223 19201
## 224 1
## 225 79
## 226 392
## 227 739
## 228 23952
## 229 6518
## 230 230
## 231 27
## 232 1097
## 233 1
## 234 603
## 235 226
## 236 42
## 237 4158
## 238 498
## 239 558
## 240 409
## 241 0
## 242 435
## 243 712
## 244 795
## 245 1028
## 246 2158
## 247 1344
## 248 641
## 249 412
## 250 951
## 251 1037
## 252 2254
## 253 141
## 254 698
## 255 2068
## 256 257
## 257 2865
## 258 1525
## 259 4712
## 260 1
## 261 1
## 262 1006
## 263 453
## 264 3664
## 265 775
## 266 62
## 267 735
## 268 20102
## 269 0
## 270 619
## 271 431
## 272 2133
## 273 322
## 274 1021
## 275 34
## 276 6262
## 277 18972
## 278 175
## 279 34
## 280 420
## 281 2025
## 282 359
## 283 60
## 284 2175
## 285 1481
## 286 1894
## 287 237
## 288 594
## 289 319
## 290 433
## 291 1
## 292 542
## 293 6916
## 294 112261
## 295 5114
## 296 735
## 297 3589
## 298 6873
## 299 374
## 300 744
## 301 4
## 302 6542
## 303 512
## 304 1195
## 305 223
## 306 7090
## 307 79
## 308 554
## 309 5062
## 310 1558
## 311 679
## 312 159
## 313 100755
## 314 504
## 315 1076
## 316 132398
## 317 825
## 318 62
## 319 3086
## 320 409
## 321 6526
## 322 3
## 323 985
## 324 8741
## 325 560
## 326 180
## 327 39
## 328 189
## 329 1788
## 330 3589
## 331 2133
## 332 2726
## 333 5062
## 334 601
## 335 5490
## 336 2
## 337 510
## 338 8420
## 339 293516
## 340 104
## 341 19201
## 342 5621
## 343 1200
## 344 1500
## 345 503
## 346 1803
## 347 291
## 348 600
## 349 107
## 350 3483
## 351 20082
## 352 1099
## 353 505
## 354 3
## 355 240
## 356 457
## 357 965
## 358 3
## 359 36760
## 360 515
## 361 2158
## 362 1037
## 363 241
## 364 2385
## 365 106
## 366 3882
## 367 698
## 368 493
## 369 0
## 370 1717
## 371 15462
## 372 1306
## 373 744
## 374 287
## 375 2200
## 376 0
## 377 689
## 378 744
## 379 5198
## 380 62
## 381 149
## 382 4045
## 383 899
## 384 4891
## 385 10938
## 386 7737
## 387 1646
## 388 887
## 389 107
## 390 9850
## 391 703
## 392 16
## 393 133
## 394 2254
## 395 31889
## 396 6916
## 397 223
## 398 267
## 399 6287
## 400 534
## 401 591
## 402 2738
## 403 0
## 404 256
## 405 2197
## 406 3943
## 407 233
## 408 195
## 409 8285
## 410 493
## 411 965
## 412 294
## 413 8335
## 414 413
## 415 1
## 416 186
## 417 9862
## 418 257
## 419 887
## 420 1024
## 421 413
## 422 3882
## 423 8976
## 424 4906
## 425 479
## 426 1647
## 427 171
## 428 2942
## 429 5757
## 430 335
## 431 257
## 432 180092
## 433 1291
## 434 504
## 435 504
## 436 796
## 437 608
## 438 502
## 439 2572
## 440 142
## 441 23952
## 442 10988
## 443 2
## 444 682
## 445 278
## 446 712
## 447 331
## 448 633
## 449 51129
## 450 1660
## 451 2197
## 452 4445
## 453 0
## 454 1362
## 455 156
## 456 416
## 457 5430
## 458 538
## 459 10988
## 460 1935
## 461 4009
## 462 4790
## 463 558
## 464 186
## 465 982
## 466 543
## 467 1349
## 468 104
## 469 2726
## 470 462
## 471 0
## 472 51
## 473 460
## 474 3566
## 475 226
## 476 709
## 477 457
## 478 1
## 479 6526
## 480 443
## 481 2483
## 482 5494
## 483 6
## 484 340
## 485 142
## 486 459
## 487 1481
## 488 96214
## 489 1324
## 490 515
## 491 0
## 492 222
## 493 1
## 494 193
## 495 3
## 496 1294
## 497 1841
## 498 287
Created a data frame from a random sample containing the columns ‘Youtuber’ and their ‘uploads’. The sample is 50% of the data.
Creating fifth random sample of data
s5<-youtube[,c("Youtuber","Country","created_year")]
df5<-data.frame(sample_frac(s5,0.5,replace = TRUE))
df5
## Youtuber
## 1 LeoNata Family
## 2 Smosh
## 3 KOMPASTV
## 4 Drawblogs
## 5 Kerajinan 5-Menit
## 6 Aditya Movies
## 7 Ishtar Music
## 8 Jkk Entertainment
## 9 DisneyMusicVEVO
## 10 SRK MUSIC
## 11 League of Legends
## 12 Noor Stars
## 13 The Royalty Family
## 14 deepesh zo
## 15 Manual do Mundo
## 16 MrBeast 2
## 17 Total Gaming
## 18 Flowers Comedy
## 19 Jkk Entertainment
## 20 PowerKids TV
## 21 LosPolinesios
## 22 5-Minute Crafts PLAY
## 23 MissaSinfonia
## 24 Lele Pons
## 25 YouTube
## 26 shakiraVEVO
## 27 Daftar Populer
## 28 Unbox Therapy
## 29 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd - Al-Remas
## 30 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfdSULGI
## 31 Ami Rodriguez
## 32 Talking Tom
## 33 The Weeknd
## 34 XXXTENTACION
## 35 Ultra Movie Parlour
## 36 Liza Koshy
## 37 WiederDude
## 38 JesseAndMike
## 39 BIBO �����\xef\xbf
## 40 Jake Fellman
## 41 jbalvinVEVO
## 42 That Little Puff
## 43 Filaretiki
## 44 gymvirtual
## 45 BBC News
## 46 Lil Pump
## 47 ILYA BORZOV
## 48 RaptorGamer
## 49 Smosh
## 50 Jesser
## 51 T-Series Apna Punjab
## 52 LazarBeam
## 53 Panda
## 54 Goldmines Great Indian Comedy
## 55 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfdSULGI
## 56 Aadishakti Films
## 57 Little Baby Bum - Nursery Rhymes & Kids Songs
## 58 Maha Fun Tv
## 59 Hacksmith Industries
## 60 Ricis Official
## 61 Flowers Comedy
## 62 Gallina Pintadita
## 63 The Vishal bhatt
## 64 ERB
## 65 BabyBus - Kids Songs and Cartoons
## 66 AH
## 67 Maroon 5
## 68 jeffreestar
## 69 Heidi y Zidane
## 70 David Dobrik
## 71 BabyBus - Canciones Infantiles & Videos para Ni�\xef
## 72 Matheus Yurley
## 73 Technoblade
## 74 BETER B��
## 75 DanTDM
## 76 Trakin Tech
## 77 YouTube
## 78 TheDonato
## 79 Doggy Doggy Cartoons
## 80 NDTV
## 81 Wesley Safad�
## 82 Netflix
## 83 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 84 TEDx Talks
## 85 Alex Gonzaga Official
## 86 Kwebbelkop
## 87 infobells - Telugu
## 88 DeToxoMoroxo
## 89 Painzeiro
## 90 HiMan
## 91 Shemaroo
## 92 SSundee
## 93 Gaby and Alex
## 94 KSI
## 95 MrBeast
## 96 La Granja de Zen�
## 97 twenty one pilots
## 98 ZHC
## 99 Niana Guerrero
## 100 TheRichest
## 101 elcarteldesantatv
## 102 Hero Movies 2023
## 103 Reaction Time
## 104 Ajay Sharma
## 105 Khan GS Research Centre
## 106 H2ODelirious
## 107 Thairath Online
## 108 Health Time
## 109 GR6 EXPLODE
## 110 Like Nastya Vlog
## 111 Jimmy Kimmel Live
## 112 Telemundo
## 113 Dear Sir
## 114 Las Ratitas
## 115 1MILLION Dance Studio
## 116 Village Cooking Channel
## 117 Talking Angela
## 118 MattyBRaps
## 119 Vogue
## 120 Pitbull
## 121 Collins Key
## 122 tanboy kun
## 123 Deddy Corbuzier
## 124 Sony Music South
## 125 ADEL et SAMI
## 126 La Granja de Zen�
## 127 Parafernalha
## 128 Goldmines Cineplex
## 129 O Reino Infantil
## 130 Lachlan
## 131 JULIA GISELLA
## 132 LuisFonsiVEVO
## 133 O Que N�����\xef\xbf
## 134 Stokes Twins
## 135 VexTrex
## 136 DisneyChannelUK
## 137 SCTV
## 138 PrestonPlayz
## 139 Family GamesTV
## 140 Lotus Music
## 141 Calon Sarjana
## 142 Sun TV
## 143 Alex Gonzaga Official
## 144 SSSniperWolf
## 145 Rosanna Pansino
## 146 GMA Integrated News
## 147 Goldmines Movies
## 148 Akon
## 149 PANDA BOI
## 150 Goldmines Great Indian Comedy
## 151 DM - Desi Melodies
## 152 zayn
## 153 IDEAS EN 5 MINUTOS
## 154 Juliana Baltar
## 155 Sports
## 156 Koray Zeynep
## 157 CookieSwirlC
## 158 Cocomelon - Nursery Rhymes
## 159 Apple
## 160 Tekashi 6ix9ine
## 161 NickiMinajAtVEVO
## 162 Turma da M��
## 163 TV Ana Emilia
## 164 SAAIHALILINTAR
## 165 shakiraVEVO
## 166 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 167 Alfredo Larin
## 168 LEGO
## 169 Dua Lipa
## 170 Netflix
## 171 Little Angel Espa���������
## 172 Diana and Roma EN
## 173 Lucas and Marcus
## 174 Emiway Bantai
## 175 First We Feast
## 176 VanossGaming
## 177 Atlantic Records
## 178 SET India
## 179 HUM TV
## 180 Linus Tech Tips
## 181 Triggered Insaan
## 182 SMOL
## 183 La Granja de Zen�
## 184 Happy Lives
## 185 Ivana Alawi
## 186 KL BRO Biju Rithvik
## 187 Panda
## 188 HAR PAL GEO
## 189 GEN HALILINTAR
## 190 The LaBrant Fam
## 191 Ed Sheeran
## 192 Spider Slack
## 193 GEN HALILINTAR
## 194 FC Barcelona
## 195 David Dobrik
## 196 Peppa Pig - Official Channel
## 197 JD Pantoja
## 198 WWE
## 199 BB Ki Vines
## 200 Dushyant kukreja
## 201 The LaBrant Fam
## 202 LazarBeam
## 203 Make Joke Of
## 204 Ariana Grande
## 205 Lil Pump
## 206 Heidi y Zidane
## 207 Willie Salim
## 208 SMOL
## 209 Natan por A\xef\xbf
## 210 Mariale
## 211 TV9 Bharatvarsh
## 212 MR. INDIAN HACKER
## 213 Pentatonix
## 214 TheOdd1sOut
## 215 W2S
## 216 _vector_
## 217 NickiMinajAtVEVO
## 218 Like Nastya PRT
## 219 colinfurze
## 220 zbing z.
## 221 HaerteTest
## 222 Galinha Pintadinha
## 223 Doc Tops
## 224 Technoblade
## 225 JennaMarbles
## 226 Dan Rhodes
## 227 Lokdhun Punjabi
## 228 Tlnovelas
## 229 SelenaGomezVEVO
## 230 Lotus Music
## 231 Liza Koshy
## 232 DaFuq!?Boom!
## 233 Desi Gamers
## 234 ABPLIVE
## 235 AM3NlC
## 236 Cyprien
## 237 Ray William Johnson
## 238 Goldmines Movies
## 239 Mobile Legends: Bang Bang
## 240 AS Gaming
## 241 Jennifer Lopez
## 242 TV Ana Emilia
## 243 MNCTV OFFICIAL
## 244 Wiz Khalifa
## 245 elrubiusOMG
## 246 Oyuncak Av\xef\xbf
## 247 Chloe Ting
## 248 Just For Laughs Gags
## 249 Matheus Yurley
## 250 GMA Network
## 251 FACT FIRE KING
## 252 Wiz Khalifa
## 253 infobells
## 254 Vlad and Niki
## 255 Lotus Music
## 256 Goldmines Premiere
## 257 5-Minute Crafts Recycle
## 258 Mundo Bita
## 259 Bruno Mars
## 260 Felipe Neto
## 261 FunFun Toy Doll TV
## 262 TheEllenShow
## 263 AlArabiya ����\xef\xbf
## 264 The ACE Family
## 265 Sanjoy Das Official
## 266 SMTOWN
## 267 Ben Azelart
## 268 unknown boy varun
## 269 Maha Fun Tv
## 270 ArianaGrandeVevo
## 271 Luisito Comunica
## 272 Shemaroo
## 273 D Billions
## 274 Parafernalha
## 275 Chapitosiki
## 276 Mohamed Ramadan I ������\xef
## 277 Little Baby Bum en Espa�\xef
## 278 Marques Brownlee
## 279 Bad Bunny
## 280 David Guetta
## 281 Round2hell
## 282 Camilo
## 283 SUPER SLICK SLIME SAM
## 284 El Reino a Jugar
## 285 Peppa Pig em Portugu��������\xef\xbf
## 286 Shemaroo
## 287 TheGrefg
## 288 GEN HALILINTAR
## 289 MSA previously My Story Animated
## 290 Troom Troom Es
## 291 Sony LIV
## 292 Ei Nerd
## 293 Mr Bean
## 294 Willyrex
## 295 Ami Rodriguez
## 296 SMOL
## 297 Jkk Entertainment
## 298 FC Barcelona
## 299 Fifth Harmony
## 300 Aaj Tak
## 301 Brave Wilderness
## 302 Thairath Online
## 303 Pen Movies
## 304 Alan Walker
## 305 Yudist Ardhana
## 306 PANDA BOI
## 307 Dave and Ava - Nursery Rhymes and Baby Songs
## 308 Dan-Sa / Daniel Saboya
## 309 KatyPerryVEVO
## 310 CKN
## 311 Lucas and Marcus
## 312 KatieAngel
## 313 Crafty Panda
## 314 DeToxoMoroxo
## 315 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd - Al-Remas
## 316 Rotana
## 317 Fede Vigevani
## 318 That Little Puff
## 319 Narendra Modi
## 320 Smile Family
## 321 Sonotek Bhakti
## 322 Troom Troom
## 323 MrBeast
## 324 T3ddy
## 325 Auron
## 326 JFlaMusic
## 327 The Infographics Show
## 328 Ben Azelart
## 329 Jake Fellman
## 330 Kim Loaiza
## 331 WB Kids
## 332 tanboy kun
## 333 EminemVEVO
## 334 Infobells Bangla
## 335 League of Legends
## 336 SSSniperWolf
## 337 Taylor Swift
## 338 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 339 Kids TV - Nursery Rhymes And Baby Songs
## 340 Salman Noman
## 341 Eros Now Music
## 342 Koray Zeynep
## 343 Yudist Ardhana
## 344 Indosiar
## 345 News 24
## 346 50 Cent
## 347 Lotus Music
## 348 NDTV India
## 349 DeGoBooM
## 350 Gulshan Kalra
## 351 1theK (����\xef
## 352 Anuel AA
## 353 Beyonc\xef\xbf
## 354 JULIA GISELLA
## 355 ABC News
## 356 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd one31
## 357 TheRichest
## 358 Zhong
## 359 Get Movies
## 360 SEVENGERS
## 361 elcarteldesantatv
## 362 Alan Walker
## 363 Tlnovelas
## 364 KOMPASTV
## 365 Nicki Minaj
## 366 Lil Pump
## 367 Dude Perfect
## 368 Daily Dose Of Internet
## 369 YouTube Movies
## 370 MC Divertida
## 371 DEV Ke Facts
## 372 Official Pink Panther
## 373 Desi Gamers
## 374 TWICE
## 375 CookieSwirlC
## 376 enchufetv
## 377 AMARINTV : ������������
## 378 ExtraPolinesios
## 379 Jordan Matter
## 380 Dangal TV Channel
## 381 T-Series
## 382 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 383 Pencilmation
## 384 Vlad and Niki Arabic
## 385 Triggered Insaan
## 386 Alexa Rivera
## 387 Kashvi Adlakha
## 388 jbalvinVEVO
## 389 Diana and Roma ESP
## 390 elrubiusOMG
## 391 Vlad and Niki IDN
## 392 Deddy Corbuzier
## 393 Beast Reacts
## 394 Zig & Sharko
## 395 Pinkfong Baby Shark - Kids' Songs & Stories
## 396 Netflix
## 397 TheWillyrex
## 398 SonyMusicIndiaVEVO
## 399 PowerKids TV
## 400 Free Fire India Official
## 401 Blippi - Educational Videos for Kids
## 402 KSI
## 403 PANDA BOI
## 404 The Q
## 405 Kaykai Salaider
## 406 Trap Nation
## 407 AdMe
## 408 FaZe Rug
## 409 Koray Zeynep
## 410 penguinz0
## 411 Bayashi TV
## 412 Diana and Roma IND
## 413 That Little Puff
## 414 tuzelity SHUFFLE
## 415 Mis Pastelitos
## 416 EeOneGuy
## 417 MyMissAnand
## 418 Mundo Bita
## 419 Mundo Bita
## 420 shfa2 - ��
## 421 FC Barcelona
## 422 DUDU e CAROL
## 423 StudyIQ IAS
## 424 Lana Del Rey
## 425 Paulo Londra
## 426 BIBO �����\xef\xbf
## 427 zbing z.
## 428 VICE
## 429 Speed Records
## 430 La Granja de Zen�
## 431 People Vs Food
## 432 Family Fitness
## 433 FitDance
## 434 Ben Azelart
## 435 Top Viral Talent
## 436 Mariale
## 437 Jennifer Lopez
## 438 Mis Pastelitos
## 439 SOMOY TV
## 440 Dan-Sa / Daniel Saboya
## 441 Lil Nas X
## 442 Zach King
## 443 Sanjoy Das Official
## 444 BUDI01 GAMING
## 445 EnriqueIglesiasVEVO
## 446 NBA
## 447 DLS News
## 448 Eros Now Music
## 449 DALLMYD
## 450 Alex Gonzaga Official
## 451 Super JoJo - Nursery Rhymes & Kids Songs
## 452 Heidi and Zidane HZHtube
## 453 Martin Garrix
## 454 Markiplier
## 455 Linkin Park
## 456 Indore Physical Academy
## 457 Zeinab Harake
## 458 Mrwhosetheboss
## 459 dednahype
## 460 The Late Late Show with James Corden
## 461 The Weeknd
## 462 KatyPerryVEVO
## 463 EnriqueIglesiasVEVO
## 464 Everson Zoio
## 465 The Tonight Show Starring Jimmy Fallon
## 466 TheBrianMaps
## 467 ABS-CBN Entertainment
## 468 Lotus Music
## 469 That Little Puff
## 470 Vlad v��\xef
## 471 The Game Theorists
## 472 LazarBeam
## 473 Mr Bean
## 474 VexTrex
## 475 Kimberly Loaiza
## 476 Dental Digest
## 477 Susy Mouriz
## 478 Anitta
## 479 Shemaroo Filmi Gaane
## 480 SriBalajiMovies
## 481 Like Nastya Show
## 482 Priyal Kukreja
## 483 SEVENGERS
## 484 TheBrianMaps
## 485 Avril Lavigne
## 486 Canal Nostalgia
## 487 CaseyNeistat
## 488 JesseAndMike
## 489 Nick Jr.
## 490 Troom Troom India
## 491 T-Series
## 492 Geet MP3
## 493 Ninja
## 494 The Infographics Show
## 495 Disney Junior
## 496 Farruko
## 497 mmoshaya
## 498 Super Polina
## Country created_year
## 1 United States 2021
## 2 United States 2005
## 3 Indonesia 2013
## 4 Peru 2014
## 5 Indonesia 2018
## 6 India 2012
## 7 India 2005
## 8 India 2017
## 9 United States 2010
## 10 India 2012
## 11 United States 2009
## 12 United Arab Emirates 2014
## 13 United States 2017
## 14 nan 2021
## 15 Brazil 2006
## 16 United States 2011
## 17 nan 2006
## 18 India 2015
## 19 India 2017
## 20 nan 2014
## 21 Mexico 2012
## 22 United States 2017
## 23 Mexico 2011
## 24 United States 2015
## 25 United States 1970
## 26 United States 2009
## 27 Indonesia 2017
## 28 nan 2010
## 29 Iraq 2013
## 30 South Korea 2012
## 31 Colombia 2009
## 32 United States 2008
## 33 Canada 2011
## 34 United States 2015
## 35 India 2011
## 36 United States 2013
## 37 United States 2016
## 38 United States 2007
## 39 Russia 2019
## 40 United States 2012
## 41 Colombia 2010
## 42 United States 2020
## 43 United States 2021
## 44 Spain 2010
## 45 United Kingdom 2006
## 46 nan 2015
## 47 Russia 2021
## 48 Ecuador 2016
## 49 United States 2005
## 50 United States 2012
## 51 nan 2020
## 52 Australia 2015
## 53 United Kingdom 2006
## 54 nan 2016
## 55 South Korea 2012
## 56 India 2016
## 57 United States 2011
## 58 United States 2017
## 59 Canada 2006
## 60 Indonesia 2016
## 61 India 2015
## 62 Mexico 2011
## 63 India 2021
## 64 United States 2006
## 65 United States 2016
## 66 Indonesia 2014
## 67 United States 2006
## 68 United States 2006
## 69 United States 2019
## 70 United States 2014
## 71 Mexico 2018
## 72 Brazil 2015
## 73 United States 2013
## 74 Turkey 2012
## 75 United Kingdom 2012
## 76 India 2011
## 77 United States 1970
## 78 Argentina 2015
## 79 nan 2018
## 80 India 2006
## 81 Brazil 2009
## 82 United States 2012
## 83 South Korea 2017
## 84 United States 2009
## 85 Philippines 2017
## 86 United States 2008
## 87 India 2014
## 88 nan 2016
## 89 Brazil 2015
## 90 Russia 2014
## 91 India 2007
## 92 United States 2009
## 93 nan 2008
## 94 United Kingdom 2009
## 95 United States 2012
## 96 Argentina 2013
## 97 United States 2009
## 98 nan 2006
## 99 Philippines 2013
## 100 United States 2006
## 101 Mexico 2008
## 102 nan 2017
## 103 United States 2015
## 104 nan 2009
## 105 nan 2017
## 106 United States 2007
## 107 Thailand 2010
## 108 India 2016
## 109 Brazil 2014
## 110 Russia 2016
## 111 United States 2006
## 112 United States 2007
## 113 India 2016
## 114 nan 2019
## 115 Saudi Arabia 2019
## 116 India 2018
## 117 United Kingdom 2014
## 118 United States 2010
## 119 United States 2008
## 120 United States 2006
## 121 United States 2011
## 122 Indonesia 2016
## 123 Indonesia 2007
## 124 India 2014
## 125 United States 2018
## 126 Argentina 2013
## 127 Brazil 2011
## 128 India 2015
## 129 Brazil 2014
## 130 Australia 2013
## 131 United Kingdom 2015
## 132 United States 2009
## 133 Brazil 2015
## 134 United States 2008
## 135 Ukraine 2014
## 136 United Kingdom 2007
## 137 United Kingdom 2006
## 138 United States 2012
## 139 nan 2012
## 140 India 2021
## 141 Indonesia 2016
## 142 India 2016
## 143 Philippines 2017
## 144 United States 2013
## 145 United States 2010
## 146 Philippines 2007
## 147 nan 2018
## 148 United States 2005
## 149 Italy 2020
## 150 nan 2016
## 151 India 2017
## 152 United States 2016
## 153 Spain 2017
## 154 Brazil 2010
## 155 United States 2006
## 156 nan 2016
## 157 United States 2013
## 158 United States 2006
## 159 United States 2005
## 160 United States 2018
## 161 United States 2010
## 162 Brazil 2012
## 163 Mexico 2014
## 164 Indonesia 2012
## 165 United States 2009
## 166 Saudi Arabia 2017
## 167 nan 2015
## 168 Singapore 2005
## 169 United Kingdom 2011
## 170 United States 2012
## 171 Mexico 2018
## 172 United States 2011
## 173 United States 2011
## 174 India 2013
## 175 United States 2014
## 176 Canada 2011
## 177 United States 2006
## 178 India 2006
## 179 Pakistan 2011
## 180 Canada 2008
## 181 India 2014
## 182 nan 2006
## 183 Argentina 2013
## 184 United States 2016
## 185 Philippines 2018
## 186 nan 2020
## 187 United Kingdom 2006
## 188 Pakistan 2008
## 189 Indonesia 2015
## 190 United States 2012
## 191 United Kingdom 2006
## 192 Brazil 2020
## 193 Indonesia 2015
## 194 Spain 2006
## 195 United States 2014
## 196 United Kingdom 2013
## 197 nan 2017
## 198 United States 2007
## 199 India 2015
## 200 India 2015
## 201 United States 2012
## 202 Australia 2015
## 203 India 2017
## 204 United States 2007
## 205 nan 2015
## 206 United States 2019
## 207 Indonesia 2014
## 208 nan 2006
## 209 Brazil 2017
## 210 United States 2010
## 211 India 2018
## 212 India 2012
## 213 Canada 2006
## 214 United States 2014
## 215 United Kingdom 2012
## 216 United States 2019
## 217 United States 2010
## 218 nan 2019
## 219 United Kingdom 2006
## 220 Thailand 2014
## 221 Germany 2011
## 222 Brazil 2006
## 223 Ecuador 2014
## 224 United States 2013
## 225 United States 2010
## 226 United Kingdom 2015
## 227 India 2010
## 228 Mexico 2014
## 229 United States 2009
## 230 India 2021
## 231 United States 2013
## 232 United States 2016
## 233 nan 2020
## 234 nan 2014
## 235 Brazil 2012
## 236 France 2007
## 237 United States 2008
## 238 nan 2018
## 239 United States 2016
## 240 United States 2009
## 241 United States 2005
## 242 Mexico 2014
## 243 Indonesia 2012
## 244 United States 2008
## 245 nan 2011
## 246 Turkey 2014
## 247 Australia 2011
## 248 United States 2007
## 249 Brazil 2015
## 250 Philippines 2006
## 251 India 2020
## 252 United States 2008
## 253 India 2011
## 254 United States 2018
## 255 India 2021
## 256 India 2013
## 257 United States 2019
## 258 Brazil 2011
## 259 United States 2006
## 260 Brazil 2006
## 261 United States 2016
## 262 United States 2006
## 263 United Arab Emirates 2006
## 264 nan 2016
## 265 India 2015
## 266 nan 2006
## 267 United States 2014
## 268 India 2016
## 269 United States 2017
## 270 United States 2010
## 271 Mexico 2010
## 272 India 2007
## 273 United States 2019
## 274 Brazil 2011
## 275 Russia 2020
## 276 Egypt 2014
## 277 Spain 2014
## 278 United States 2008
## 279 nan 2005
## 280 United States 2009
## 281 India 2016
## 282 Colombia 2010
## 283 Mexico 2018
## 284 Argentina 2015
## 285 Brazil 2014
## 286 India 2007
## 287 Spain 2012
## 288 Indonesia 2015
## 289 United States 2021
## 290 nan 2016
## 291 India 2014
## 292 nan 2007
## 293 United Kingdom 2006
## 294 Spain 2009
## 295 Colombia 2009
## 296 nan 2006
## 297 India 2017
## 298 Spain 2006
## 299 United States 2013
## 300 India 2009
## 301 United States 2014
## 302 Thailand 2010
## 303 India 2014
## 304 Thailand 2006
## 305 Indonesia 2016
## 306 Italy 2020
## 307 United States 2014
## 308 Brazil 2007
## 309 United States 2009
## 310 Spain 2005
## 311 United States 2011
## 312 United States 2015
## 313 United States 2017
## 314 nan 2016
## 315 Iraq 2013
## 316 nan 2011
## 317 nan 2019
## 318 United States 2020
## 319 India 2007
## 320 France 2019
## 321 India 2010
## 322 United States 2015
## 323 United States 2012
## 324 Brazil 2012
## 325 Spain 2013
## 326 South Korea 2011
## 327 United States 2011
## 328 United States 2014
## 329 United States 2012
## 330 nan 2019
## 331 United States 2015
## 332 Indonesia 2016
## 333 United States 2009
## 334 India 2016
## 335 United States 2009
## 336 United States 2013
## 337 United States 2006
## 338 Russia 2015
## 339 United States 2013
## 340 nan 2022
## 341 India 2012
## 342 nan 2016
## 343 Indonesia 2016
## 344 Indonesia 2013
## 345 Ukraine 2006
## 346 United States 2007
## 347 India 2021
## 348 India 2008
## 349 Chile 2014
## 350 nan 2018
## 351 South Korea 2011
## 352 Colombia 2016
## 353 United States 2005
## 354 United Kingdom 2015
## 355 United States 2006
## 356 Thailand 2013
## 357 United States 2006
## 358 United States 2015
## 359 Russia 2006
## 360 India 2018
## 361 Mexico 2008
## 362 Thailand 2006
## 363 Mexico 2014
## 364 Indonesia 2013
## 365 United States 2013
## 366 nan 2015
## 367 United States 2009
## 368 United States 2015
## 369 United States 2006
## 370 Brazil 2018
## 371 India 2012
## 372 United States 2011
## 373 nan 2020
## 374 nan 2016
## 375 United States 2013
## 376 Colombia 2011
## 377 Thailand 2014
## 378 nan 2015
## 379 United States 2006
## 380 India 2017
## 381 India 2006
## 382 Saudi Arabia 2017
## 383 United States 2007
## 384 United States 2018
## 385 India 2014
## 386 nan 2010
## 387 India 2017
## 388 Colombia 2010
## 389 United States 2016
## 390 nan 2011
## 391 United States 2018
## 392 Indonesia 2007
## 393 United States 2016
## 394 nan 2015
## 395 United States 2011
## 396 United States 2012
## 397 Spain 2011
## 398 United States 2009
## 399 nan 2014
## 400 India 2018
## 401 United States 2014
## 402 United Kingdom 2009
## 403 Italy 2020
## 404 United States 2006
## 405 Thailand 2011
## 406 United States 2012
## 407 Spain 2006
## 408 Canada 2012
## 409 nan 2016
## 410 United States 2007
## 411 Japan 2012
## 412 United States 2019
## 413 United States 2020
## 414 Russia 2015
## 415 Mexico 2014
## 416 United States 2013
## 417 India 2014
## 418 Brazil 2011
## 419 Brazil 2011
## 420 United Arab Emirates 2017
## 421 Spain 2006
## 422 Brazil 2013
## 423 India 2015
## 424 United States 2011
## 425 Argentina 2016
## 426 Russia 2019
## 427 Thailand 2014
## 428 United States 2005
## 429 India 2012
## 430 Argentina 2013
## 431 United States 2013
## 432 India 2017
## 433 France 2006
## 434 United States 2014
## 435 United States 2014
## 436 United States 2010
## 437 United States 2005
## 438 Mexico 2014
## 439 United States 2013
## 440 Brazil 2007
## 441 nan 2018
## 442 nan 2013
## 443 India 2015
## 444 Indonesia 2019
## 445 United States 2009
## 446 United States 2005
## 447 India 2017
## 448 India 2012
## 449 United States 2011
## 450 Philippines 2017
## 451 United States 2019
## 452 Canada 2015
## 453 United States 2011
## 454 United States 2012
## 455 Afghanistan 2006
## 456 India 2014
## 457 Philippines 2017
## 458 United Kingdom 2011
## 459 Latvia 2020
## 460 United States 2006
## 461 Canada 2011
## 462 United States 2009
## 463 United States 2009
## 464 Brazil 2009
## 465 United States 2006
## 466 Russia 2012
## 467 Philippines 2008
## 468 India 2021
## 469 United States 2020
## 470 United States 2018
## 471 Australia NaN
## 472 Australia 2015
## 473 United Kingdom 2006
## 474 Ukraine 2014
## 475 Mexico 2016
## 476 nan 2020
## 477 Mexico 2017
## 478 Brazil 2011
## 479 India 2010
## 480 India 2011
## 481 United States 2017
## 482 India 2021
## 483 India 2018
## 484 Russia 2012
## 485 United States 2005
## 486 Spain 2010
## 487 United States 2010
## 488 United States 2007
## 489 United States 2012
## 490 nan 2015
## 491 India 2006
## 492 India 2016
## 493 United States 2011
## 494 United States 2011
## 495 United States 2008
## 496 United States 2009
## 497 Saudi Arabia 2010
## 498 United States 2014
Created a data frame from a random sample containing the columns ‘Youtuber’, their ‘Country’ and ‘created_year’. The sample is 50% of the data.
Creating sixth random sample of data
s6<-youtube[,c("Youtuber","category","created_year")]
df6<-data.frame(sample_frac(s6,0.5,replace = TRUE))
df6
## Youtuber
## 1 Sony PAL
## 2 Ja Mill
## 3 CrashCourse
## 4 Sebasti���
## 5 Official Pink Panther
## 6 Veritasium
## 7 Vlad and Niki
## 8 Parafernalha
## 9 Anitta
## 10 5-Minute Crafts PLAY
## 11 GR6 EXPLODE
## 12 Lil Nas X
## 13 HYBE LABELS
## 14 Like Nastya Stories
## 15 James Charles
## 16 DeToxoMoroxo
## 17 Like Nastya
## 18 Sun TV
## 19 JFlaMusic
## 20 SET India
## 21 Anitta
## 22 Emiway Bantai
## 23 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd
## 24 Sony Music South
## 25 LosPolinesios
## 26 Totoy kids - Espa�\xef
## 27 Fatos Desconhecidos
## 28 Dave and Ava - Nursery Rhymes and Baby Songs
## 29 SSundee
## 30 DanTDM
## 31 Roman Atwood Vlogs
## 32 Gallina Pintadita
## 33 Marmok
## 34 NOBRU
## 35 ABC News
## 36 FunFun Toy Doll TV
## 37 Henrique e Juliano
## 38 BIBO �����\xef\xbf
## 39 Nick Jr.
## 40 MissaSinfonia
## 41 Gallina Pintadita
## 42 Clash of Clans
## 43 Las Ratitas
## 44 Rclbeauty101
## 45 Paulo Londra
## 46 RedeTV
## 47 Minecraft - Topic
## 48 CKM
## 49 Wesley Safad�
## 50 Filaretiki
## 51 Frost Diamond
## 52 MrBeast 2
## 53 Boram Tube ToysReview [��������\xef\xbf
## 54 TheEllenShow
## 55 Reaction Time
## 56 JesseAndMike
## 57 Little Baby Bum - Nursery Rhymes & Kids Songs
## 58 Peppa Pig Espa���������
## 59 Turma da M��
## 60 Troom Troom PT
## 61 Rajshri
## 62 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd8 : Thai Ch8
## 63 Manual do Mundo
## 64 Ricis Official
## 65 BeatboxJCOP
## 66 Dude Perfect
## 67 Dental Digest
## 68 Zee Music Company
## 69 Fun For Kids TV - Hindi Rhymes
## 70 Like Nastya ESP
## 71 SET India
## 72 SriBalajiMovies
## 73 Avril Lavigne
## 74 ImagineDragons
## 75 Canal Canalha
## 76 Round2hell
## 77 Totoy kids - Espa�\xef
## 78 ATHLEAN-X�
## 79 MrBeast en Espa�\xef
## 80 Kwebbelkop
## 81 Neha Kakkar
## 82 HolaSoyGerman.
## 83 Les' Copaque Production
## 84 Diana and Roma ARA
## 85 Willie Salim
## 86 Shakira
## 87 CoryxKenshin
## 88 J Balvin
## 89 Bebefinn - Nursery Rhymes & Kids Songs
## 90 HiMan
## 91 Miley Cyrus
## 92 YoungBoy Never Broke Again
## 93 Gato Galactico | GAL�\xef\xbf
## 94 Miss Katy
## 95 Stokes Twins
## 96 Katy Perry
## 97 Chapitosiki
## 98 EeOneGuy
## 99 Coke Studio
## 100 Ami Rodriguez
## 101 mmoshaya
## 102 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 103 Ch7HD
## 104 Like Nastya Show
## 105 Clash of Clans
## 106 Gaming
## 107 Voot Kids
## 108 mujjuu___14
## 109 Melon City Show - ����������\xef\xbf
## 110 Katy Perry
## 111 Zee TV
## 112 Health Time
## 113 Fede Vigevani
## 114 Vlad and Niki Arabic
## 115 MrBeast Gaming
## 116 Junya.����
## 117 CookingShooking Hindi
## 118 Talking Tom
## 119 News18 India
## 120 Shemaroo
## 121 Logan Paul
## 122 BabyBus - Cerita & Lagu Anak-anak
## 123 Noor Stars
## 124 Rafa & Luiz
## 125 DaniRep | +6 V����������\xef
## 126 sagar kalra (Shorts)
## 127 O Reino Infantil
## 128 Mark Rober
## 129 David Dobrik
## 130 MiawAug
## 131 HUM TV
## 132 Clash of Clans
## 133 TKOR
## 134 El Payaso Plim Plim
## 135 FACT FIRE KING
## 136 Khan GS Research Centre
## 137 Voc���
## 138 JustinBieberVEVO
## 139 T-Series
## 140 ZEE5
## 141 MrBeast
## 142 deepesh zo
## 143 Venus Entertainment
## 144 Doc Tops
## 145 Sony SAB
## 146 Topper Guild
## 147 Indore Physical Academy
## 148 PANDA BOI
## 149 Gaby and Alex
## 150 Boyce Avenue
## 151 Sony Music India
## 152 Gusttavo Lima Oficial
## 153 Luisito Comunica
## 154 Koray Zeynep
## 155 Ishtar Music
## 156 Tilak
## 157 Dream
## 158 Tips Official
## 159 Stokes Twins
## 160 Diana and Roma EN
## 161 StarPlus
## 162 Panda Shorts
## 163 YouTube Movies
## 164 shfa
## 165 Werever2morro
## 166 \xfd\xfd\xfd\xfd\xfd\xfd
## 167 CrashCourse
## 168 theRadBrad
## 169 jeffreestar
## 170 PopularMMOs
## 171 TWICE
## 172 DisneyChannelUK
## 173 Vlad and Niki PRT
## 174 Sonotek
## 175 Acenix
## 176 Marvel Entertainment
## 177 Blockbuster Movies
## 178 GH'S
## 179 Juan De Dios Pantoja
## 180 AH
## 181 Happy Lives
## 182 Sony AATH
## 183 Jason Derulo
## 184 Miss Katy
## 185 Preston
## 186 EeOneGuy
## 187 THE BROWN SIBLINGS
## 188 Alexa Rivera
## 189 Ellie Goulding
## 190 GRAMMY GOLD OFFICIAL
## 191 NichLmao
## 192 How Ridiculous
## 193 Bruno Mars
## 194 DangMattSmith
## 195 Camilo
## 196 Noman Official
## 197 NDTV India
## 198 ABPLIVE
## 199 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd - Genevieve's Playhouse
## 200 T-Series Apna Punjab
## 201 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 202 Naisa Alifia Yuriza (N.A.Y)
## 203 Kaykai Salaider
## 204 NikkieTutorials
## 205 Ajay Sharma
## 206 Like Nastya Stories
## 207 Diana and Roma ARA
## 208 Ultra Bollywood
## 209 Brave Wilderness
## 210 Maroon 5
## 211 Smile Family
## 212 Ninja Kidz TV
## 213 Like Nastya Vlog
## 214 Technoblade
## 215 Khan GS Research Centre
## 216 infobells - Telugu
## 217 Koray Zeynep
## 218 HUM TV
## 219 Popular on YouTube
## 220 Infobells - Hindi
## 221 PopularMMOs
## 222 dednahype
## 223 DUDU e CAROL
## 224 Zee TV
## 225 Super Senya
## 226 Dua Lipa
## 227 Kids TV - Nursery Rhymes And Baby Songs
## 228 Drawblogs
## 229 Parafernalha
## 230 Supercar Blondie
## 231 KL BRO Biju Rithvik
## 232 News
## 233 Dental Digest
## 234 DM - Desi Melodies
## 235 SelenaGomezVEVO
## 236 Saregama Music
## 237 Boram Tube Vlog [��������\xef\xbf
## 238 Ivana Alawi
## 239 AM3NlC
## 240 Crafty Panda
## 241 YOLO AVENTURAS
## 242 Paulo Londra
## 243 Marta and Rustam
## 244 Demi Lovato
## 245 Daddy Yankee
## 246 Ali-A
## 247 Like Nastya PRT
## 248 Pok���������
## 249 CKN
## 250 Ozuna
## 251 Michael Jackson
## 252 StudyIQ IAS
## 253 Beast Reacts
## 254 Minecraft - Topic
## 255 invictor
## 256 Apple
## 257 The Tonight Show Starring Jimmy Fallon
## 258 Fueled By Ramen
## 259 Alejo Igoa
## 260 NickiMinajAtVEVO
## 261 POPS Kids
## 262 Clash of Clans
## 263 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd Ms Yeah
## 264 Technology Gyan
## 265 Shemaroo Filmi Gaane
## 266 Kaykai Salaider
## 267 Sony LIV
## 268 Adexe & Nau
## 269 EminemVEVO
## 270 The Lallantop
## 271 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd KIMPRO
## 272 Anuel AA
## 273 ViralHog
## 274 MoniLina
## 275 Lahari Music - TSeries
## 276 EeOneGuy
## 277 Ami Rodriguez
## 278 CookingShooking Hindi
## 279 Hero Movies 2023
## 280 Rclbeauty101
## 281 Nicki Minaj
## 282 Coldplay
## 283 Totoy kids - Portugu�
## 284 SUPER SLICK SLIME SAM
## 285 Hongyu ASMR ��
## 286 Natan por A\xef\xbf
## 287 Melon City Show - ����������\xef\xbf
## 288 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 289 Sony AATH
## 290 SCTV
## 291 Drawblogs
## 292 Camila Loures
## 293 AH
## 294 Dua Lipa
## 295 Vilmei
## 296 TheOdd1sOut
## 297 Right to Shiksha
## 298 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd | toyoraljanahtv
## 299 Juliana Baltar
## 300 KAROL G
## 301 Renato Garcia YT
## 302 Hero Movies 2023
## 303 Rotana
## 304 ISSEI / ����
## 305 sagar kalra (Shorts)
## 306 LosPolinesios
## 307 Kurzgesagt �����\xef\xbf
## 308 Roman Atwood Vlogs
## 309 Geo News
## 310 Juliana Baltar
## 311 The Vishal bhatt
## 312 Enaldinho
## 313 Conor Maynard
## 314 Infobells - Hindi
## 315 Crazy Frog
## 316 DEV Ke Facts
## 317 GMMTV OFFICIAL��
## 318 Matt Steffanina
## 319 NickiMinajAtVEVO
## 320 AuronPlay
## 321 BLACKPINK
## 322 Eros Now Music
## 323 WowKidz
## 324 Troom Troom
## 325 Heidi and Zidane HZHtube
## 326 Jess No Limit
## 327 AS Gaming
## 328 Aayu and Pihu Show
## 329 Lindsey Stirling
## 330 Mr Bean
## 331 Invento na Hora
## 332 Ch7HD
## 333 Aadishakti Films
## 334 Brave Wilderness
## 335 Infobells Bangla
## 336 Super Polina
## 337 NishaMadhulika
## 338 SonyMusicIndiaVEVO
## 339 Eli Kids - Cartoons & Songs
## 340 UFC - Ultimate Fighting Championship
## 341 FailArmy
## 342 The Dodo
## 343 Meghan Trainor
## 344 Bebefinn - Nursery Rhymes & Kids Songs
## 345 Fueled By Ramen
## 346 Jake Paul
## 347 DJ Snake
## 348 TheEllenShow
## 349 Prajapati News
## 350 les boys tv2
## 351 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd I \xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 352 Preston
## 353 TKOR
## 354 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 355 Lucas and Marcus
## 356 Goldmines
## 357 TheDonato
## 358 Crazy XYZ
## 359 BIBO����\xef
## 360 My Mate Nate
## 361 Aaj Tak
## 362 Free Fire India Official
## 363 Lele Pons
## 364 Infobells Bangla
## 365 Ozuna
## 366 Marshmello
## 367 JennaMarbles
## 368 Gyan Gaming�
## 369 ToyPuddingTV
## 370 Marshmello
## 371 TED
## 372 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 373 Queen Official
## 374 And TV
## 375 AS Gaming
## 376 Miley Cyrus
## 377 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd/Atro
## 378 jacksepticeye
## 379 The MriDul
## 380 Little Baby Bum - Nursery Rhymes & Kids Songs
## 381 gymvirtual
## 382 Blippi Espa�\xef
## 383 CKM
## 384 Juan De Dios Pantoja
## 385 MAIKI021
## 386 Jennifer Lopez
## 387 BANGTANTV
## 388 Marvel Entertainment
## 389 FunFun Toy Doll TV
## 390 AM3NlC
## 391 Vlad and Niki PRT
## 392 TV Ana Emilia
## 393 7 Minutoz
## 394 SCTV
## 395 Junya.����
## 396 Jane ASMR ��
## 397 Jennifer Lopez
## 398 JJ Olatunji
## 399 PopularMMOs
## 400 Little Baby Bum - Nursery Rhymes & Kids Songs
## 401 The Shiny Peanut
## 402 Major Lazer Official
## 403 VEGETTA777
## 404 Rclbeauty101
## 405 Vlad v��\xef
## 406 Jess No Limit
## 407 GH'S
## 408 ADEL et SAMI
## 409 Vlad and Niki Arabic
## 410 Kwebbelkop
## 411 Mrwhosetheboss
## 412 Zach King
## 413 Like Nastya PRT
## 414 AdeleVEVO
## 415 Netflix India
## 416 Kids TV India Hindi Nursery Rhymes
## 417 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd/Atro
## 418 DanTDM
## 419 RaptorGamer
## 420 ADEL et SAMI
## 421 Talking Angela
## 422 Vibhu 96
## 423 Heidi and Zidane HZHtube
## 424 ILYA BORZOV
## 425 Doggy Doggy Cartoons
## 426 Techno Gamerz
## 427 Paulo Londra
## 428 Little Baby Bum en Espa�\xef
## 429 Enrique Iglesias
## 430 T-Series Hamaar Bhojpuri
## 431 GMA Public Affairs
## 432 Talking Tom
## 433 Ishtar Music
## 434 Marmok
## 435 E-MasterSensei
## 436 Vilmei
## 437 Bobby chourasiya
## 438 Post Malone
## 439 GMA Network
## 440 Apple
## 441 A4
## 442 les boys tv2
## 443 BabyBus - Canciones Infantiles & Videos para Ni�\xef
## 444 Beyonc��
## 445 Crafty Panda
## 446 Voot Kids
## 447 Akshay Nagwadiya
## 448 Free Fire India Official
## 449 Troom Troom PT
## 450 colinfurze
## 451 Just For Laughs Gags
## 452 IShowSpeed
## 453 Markiplier
## 454 Henrique e Juliano
## 455 Hongyu ASMR ��
## 456 Shakira
## 457 Akon
## 458 T-Series Apna Punjab
## 459 Little Angel - M����������
## 460 Goldmines Dishoom
## 461 BeatboxJCOP
## 462 Jennifer Lopez
## 463 SAAIHALILINTAR
## 464 T-Series Bollywood Classics
## 465 POPS Kids
## 466 Village Cooking Channel
## 467 WiederDude
## 468 AdMe
## 469 Oyuncak Av\xef\xbf
## 470 News 24
## 471 Natan por A\xef\xbf
## 472 Vania Mania Kids
## 473 Jennifer Lopez
## 474 toycantando
## 475 Saad Lamjarred | �����\xef\xbf
## 476 WORLDSTARHIPHOP
## 477 WatchMojo.com
## 478 Veritasium
## 479 Camila Cabello
## 480 Khan GS Research Centre
## 481 LOKESH GAMER
## 482 HowToBasic
## 483 Republic Bharat
## 484 Boram Tube Vlog [��������\xef\xbf
## 485 colinfurze
## 486 Willie Salim
## 487 Think Music India
## 488 H2ODelirious
## 489 Ryan Trahan
## 490 Flowers Comedy
## 491 The Q
## 492 Movieclips
## 493 Team Films Bhojpuri
## 494 Davie504
## 495 WorkpointOfficial
## 496 Netflix
## 497 colinfurze
## 498 Pop Chartbusters
## category created_year
## 1 Shows 2014
## 2 People & Blogs 2006
## 3 Education 2006
## 4 News & Politics 2013
## 5 Film & Animation 2011
## 6 Education 2010
## 7 Entertainment 2018
## 8 Entertainment 2011
## 9 Music 2011
## 10 Howto & Style 2017
## 11 Music 2014
## 12 Music 2018
## 13 Music 2008
## 14 Entertainment 2019
## 15 Entertainment 2015
## 16 Entertainment 2016
## 17 People & Blogs 2016
## 18 People & Blogs 2016
## 19 Music 2011
## 20 Shows 2006
## 21 Music 2011
## 22 Music 2013
## 23 Education 2018
## 24 Music 2014
## 25 People & Blogs 2012
## 26 Film & Animation 2017
## 27 Entertainment 2013
## 28 Education 2014
## 29 Gaming 2009
## 30 Gaming 2012
## 31 People & Blogs 2013
## 32 Music 2011
## 33 Gaming 2008
## 34 Gaming 2006
## 35 News & Politics 2006
## 36 Entertainment 2016
## 37 Music 2009
## 38 Entertainment 2019
## 39 Film & Animation 2012
## 40 Comedy 2011
## 41 Music 2011
## 42 Gaming 2013
## 43 People & Blogs 2019
## 44 Comedy 2010
## 45 Music 2016
## 46 Entertainment 2011
## 47 nan 2013
## 48 Comedy 2018
## 49 Music 2009
## 50 nan 2021
## 51 Gaming 2006
## 52 People & Blogs 2011
## 53 People & Blogs 2016
## 54 Entertainment 2006
## 55 Entertainment 2015
## 56 Entertainment 2007
## 57 Education 2011
## 58 Film & Animation 2014
## 59 Film & Animation 2012
## 60 Howto & Style 2015
## 61 Music 2006
## 62 Entertainment 2011
## 63 Howto & Style 2006
## 64 People & Blogs 2016
## 65 Film & Animation 2011
## 66 Sports 2009
## 67 People & Blogs 2020
## 68 Music 2014
## 69 Entertainment 2017
## 70 Entertainment 2017
## 71 Shows 2006
## 72 Entertainment 2011
## 73 Music 2005
## 74 Music 2009
## 75 Comedy 2011
## 76 Comedy 2016
## 77 Film & Animation 2017
## 78 Howto & Style 2006
## 79 Entertainment 2021
## 80 Gaming 2008
## 81 Music 2012
## 82 Entertainment 2016
## 83 Film & Animation 2009
## 84 nan 2019
## 85 People & Blogs 2014
## 86 People & Blogs 2005
## 87 Gaming 2009
## 88 Music 2011
## 89 nan 2022
## 90 People & Blogs 2014
## 91 Entertainment 2009
## 92 Entertainment 2015
## 93 Film & Animation 2013
## 94 People & Blogs 2014
## 95 People & Blogs 2008
## 96 Music 2008
## 97 Entertainment 2020
## 98 Entertainment 2013
## 99 Music 2008
## 100 Entertainment 2009
## 101 People & Blogs 2010
## 102 People & Blogs 2015
## 103 Entertainment 2010
## 104 Entertainment 2017
## 105 Gaming 2013
## 106 nan 2013
## 107 Entertainment 2016
## 108 People & Blogs 2020
## 109 Comedy 2016
## 110 Music 2008
## 111 Entertainment 2005
## 112 Howto & Style 2016
## 113 Howto & Style 2019
## 114 nan 2018
## 115 Gaming 2011
## 116 Entertainment 2020
## 117 People & Blogs 2017
## 118 Comedy 2008
## 119 News & Politics 2007
## 120 Entertainment 2007
## 121 Entertainment 2015
## 122 Education 2019
## 123 Comedy 2014
## 124 Entertainment 2015
## 125 Gaming 2012
## 126 People & Blogs 2017
## 127 Music 2014
## 128 Science & Technology 2011
## 129 People & Blogs 2014
## 130 Gaming 2014
## 131 Entertainment 2011
## 132 Gaming 2013
## 133 Education 2006
## 134 Film & Animation 2013
## 135 nan 2020
## 136 Education 2017
## 137 Entertainment 2013
## 138 Music 2009
## 139 Music 2006
## 140 Entertainment 2018
## 141 Entertainment 2012
## 142 People & Blogs 2021
## 143 Entertainment 2016
## 144 Entertainment 2014
## 145 Shows 2007
## 146 Comedy 2014
## 147 People & Blogs 2014
## 148 Entertainment 2020
## 149 Entertainment 2008
## 150 Music 2007
## 151 Music 2009
## 152 Music 2010
## 153 Comedy 2010
## 154 People & Blogs 2016
## 155 Trailers 2005
## 156 Film & Animation 2020
## 157 Gaming 2014
## 158 Music 2007
## 159 People & Blogs 2008
## 160 People & Blogs 2011
## 161 Entertainment 2006
## 162 nan 2020
## 163 Film & Animation 2006
## 164 People & Blogs 2018
## 165 Entertainment 2010
## 166 People & Blogs 2008
## 167 Education 2006
## 168 Gaming 2006
## 169 Howto & Style 2006
## 170 Gaming 2012
## 171 Music 2016
## 172 Music 2007
## 173 nan 2018
## 174 Entertainment 2011
## 175 Gaming 2014
## 176 Entertainment 2011
## 177 Entertainment 2017
## 178 Gaming 2020
## 179 Entertainment 2014
## 180 Entertainment 2014
## 181 Science & Technology 2016
## 182 Shows 2013
## 183 Music 2008
## 184 People & Blogs 2014
## 185 Gaming 2012
## 186 Entertainment 2013
## 187 Entertainment 2016
## 188 Howto & Style 2010
## 189 Music 2007
## 190 Music 2014
## 191 People & Blogs 2018
## 192 Sports 2009
## 193 Music 2006
## 194 Entertainment 2011
## 195 Music 2010
## 196 Comedy 2019
## 197 News & Politics 2008
## 198 People & Blogs 2014
## 199 Education 2018
## 200 Music 2020
## 201 nan 2018
## 202 People & Blogs 2017
## 203 Comedy 2011
## 204 Howto & Style 2008
## 205 Entertainment 2009
## 206 Entertainment 2019
## 207 nan 2019
## 208 Trailers 2009
## 209 Pets & Animals 2014
## 210 Music 2006
## 211 People & Blogs 2019
## 212 Entertainment 2017
## 213 People & Blogs 2016
## 214 Gaming 2013
## 215 Education 2017
## 216 Education 2014
## 217 People & Blogs 2016
## 218 Entertainment 2011
## 219 nan 2017
## 220 Education 2014
## 221 Gaming 2012
## 222 Comedy 2020
## 223 Autos & Vehicles 2013
## 224 Entertainment 2005
## 225 Entertainment 2017
## 226 Music 2011
## 227 Shows 2013
## 228 Entertainment 2014
## 229 Entertainment 2011
## 230 Autos & Vehicles 2007
## 231 Entertainment 2020
## 232 nan 2013
## 233 People & Blogs 2020
## 234 Music 2017
## 235 Music 2009
## 236 Entertainment 2013
## 237 Entertainment 2012
## 238 nan 2018
## 239 Gaming 2012
## 240 People & Blogs 2017
## 241 People & Blogs 2018
## 242 Music 2016
## 243 Comedy 2021
## 244 Music 2008
## 245 Music 2011
## 246 Gaming 2016
## 247 Entertainment 2019
## 248 People & Blogs 2017
## 249 Entertainment 2005
## 250 Music 2016
## 251 Music 2005
## 252 Education 2015
## 253 People & Blogs 2016
## 254 nan 2013
## 255 Gaming 2016
## 256 Science & Technology 2005
## 257 Comedy 2006
## 258 Music 2006
## 259 Comedy 2014
## 260 Music 2010
## 261 Music 2014
## 262 Gaming 2013
## 263 People & Blogs 2017
## 264 Science & Technology 2015
## 265 Music 2010
## 266 Comedy 2011
## 267 Entertainment 2014
## 268 Music 2013
## 269 Music 2009
## 270 News & Politics 2015
## 271 nan 2017
## 272 Music 2016
## 273 People & Blogs 2014
## 274 Comedy 2016
## 275 Music 2011
## 276 Entertainment 2013
## 277 Entertainment 2009
## 278 People & Blogs 2017
## 279 People & Blogs 2017
## 280 Comedy 2010
## 281 Music 2013
## 282 Music 2010
## 283 Film & Animation 2014
## 284 Howto & Style 2018
## 285 People & Blogs 2021
## 286 Sports 2017
## 287 Comedy 2016
## 288 Entertainment 2017
## 289 Shows 2013
## 290 Entertainment 2006
## 291 Entertainment 2014
## 292 Music 2014
## 293 Entertainment 2014
## 294 Music 2011
## 295 nan 2013
## 296 Comedy 2014
## 297 Education 2020
## 298 Entertainment 2008
## 299 Entertainment 2010
## 300 Music 2013
## 301 Entertainment 2011
## 302 People & Blogs 2017
## 303 Music 2011
## 304 Comedy 2014
## 305 People & Blogs 2017
## 306 People & Blogs 2012
## 307 Education 2013
## 308 People & Blogs 2013
## 309 News & Politics 2007
## 310 Entertainment 2010
## 311 Comedy 2021
## 312 Comedy 2012
## 313 Music 2006
## 314 Education 2014
## 315 Music 2005
## 316 nan 2012
## 317 Entertainment 2010
## 318 Entertainment 2007
## 319 Music 2010
## 320 Comedy 2006
## 321 People & Blogs 2016
## 322 Entertainment 2012
## 323 Film & Animation 2006
## 324 Howto & Style 2015
## 325 Entertainment 2015
## 326 Entertainment 2017
## 327 Gaming 2009
## 328 Comedy 2017
## 329 Music 2007
## 330 Shows 2006
## 331 Film & Animation 2014
## 332 Entertainment 2010
## 333 Music 2016
## 334 Pets & Animals 2014
## 335 Education 2016
## 336 People & Blogs 2014
## 337 Howto & Style 2009
## 338 Music 2009
## 339 nan 2018
## 340 Sports 2006
## 341 Comedy 2011
## 342 Pets & Animals 2006
## 343 People & Blogs 2008
## 344 nan 2022
## 345 Music 2006
## 346 People & Blogs 2013
## 347 Music 2008
## 348 Entertainment 2006
## 349 Comedy 2013
## 350 Entertainment 2017
## 351 Entertainment 2017
## 352 Gaming 2012
## 353 Education 2006
## 354 Entertainment 2014
## 355 Entertainment 2011
## 356 Film & Animation 2006
## 357 Entertainment 2015
## 358 Entertainment 2017
## 359 Entertainment 2016
## 360 Comedy 2014
## 361 News & Politics 2009
## 362 People & Blogs 2018
## 363 Comedy 2015
## 364 Education 2016
## 365 Music 2016
## 366 Entertainment 2015
## 367 Comedy 2010
## 368 Gaming 2017
## 369 Entertainment 2017
## 370 Entertainment 2015
## 371 People & Blogs 2006
## 372 Entertainment 2016
## 373 Music 2008
## 374 Entertainment 2006
## 375 Gaming 2009
## 376 Entertainment 2009
## 377 Gaming 2017
## 378 Gaming 2007
## 379 Comedy 2015
## 380 Education 2011
## 381 Sports 2010
## 382 People & Blogs 2017
## 383 Comedy 2018
## 384 Entertainment 2014
## 385 Entertainment 2008
## 386 Music 2005
## 387 Music 2012
## 388 Entertainment 2011
## 389 Entertainment 2016
## 390 Gaming 2012
## 391 nan 2018
## 392 People & Blogs 2014
## 393 Music 2012
## 394 Entertainment 2006
## 395 Entertainment 2020
## 396 nan 2012
## 397 Music 2005
## 398 Gaming 2011
## 399 Gaming 2012
## 400 Education 2011
## 401 Education 2016
## 402 Music 2013
## 403 Gaming 2008
## 404 Comedy 2010
## 405 nan 2018
## 406 Entertainment 2017
## 407 Gaming 2020
## 408 Entertainment 2018
## 409 nan 2018
## 410 Gaming 2008
## 411 Science & Technology 2011
## 412 Entertainment 2013
## 413 Entertainment 2019
## 414 Music 2009
## 415 People & Blogs 2017
## 416 Shows 2014
## 417 Gaming 2017
## 418 Gaming 2012
## 419 People & Blogs 2016
## 420 Entertainment 2018
## 421 Entertainment 2014
## 422 nan 2022
## 423 Entertainment 2015
## 424 People & Blogs 2021
## 425 Entertainment 2018
## 426 Gaming 2010
## 427 Music 2016
## 428 Education 2014
## 429 Music 2007
## 430 Entertainment 2011
## 431 Entertainment 2009
## 432 Comedy 2008
## 433 Trailers 2005
## 434 Gaming 2008
## 435 Gaming 2016
## 436 nan 2013
## 437 People & Blogs 2019
## 438 Music 2011
## 439 Entertainment 2006
## 440 Science & Technology 2005
## 441 Gaming 2006
## 442 Entertainment 2017
## 443 Education 2018
## 444 Music 2009
## 445 People & Blogs 2017
## 446 Entertainment 2016
## 447 Entertainment 2017
## 448 People & Blogs 2018
## 449 Howto & Style 2015
## 450 Entertainment 2006
## 451 Comedy 2007
## 452 Gaming 2016
## 453 Gaming 2012
## 454 Music 2009
## 455 People & Blogs 2021
## 456 People & Blogs 2005
## 457 Music 2005
## 458 Music 2020
## 459 Entertainment 2018
## 460 Film & Animation 2016
## 461 Film & Animation 2011
## 462 Music 2005
## 463 Entertainment 2012
## 464 Music 2012
## 465 Music 2014
## 466 Howto & Style 2018
## 467 nan 2016
## 468 Entertainment 2006
## 469 Entertainment 2014
## 470 News & Politics 2006
## 471 Sports 2017
## 472 People & Blogs 2015
## 473 Music 2005
## 474 Music 2009
## 475 Music 2012
## 476 Music 2008
## 477 Music 2007
## 478 Education 2010
## 479 Music 2015
## 480 Education 2017
## 481 Gaming 2017
## 482 Howto & Style 2011
## 483 News & Politics 2018
## 484 Entertainment 2012
## 485 Entertainment 2006
## 486 People & Blogs 2014
## 487 Music 2009
## 488 Gaming 2007
## 489 Entertainment 2022
## 490 Entertainment 2015
## 491 People & Blogs 2006
## 492 Film & Animation 2006
## 493 Music 2014
## 494 Entertainment 2011
## 495 Entertainment 2012
## 496 Entertainment 2012
## 497 Entertainment 2006
## 498 Music 2011
Created a data frame from a random sample containing the columns ‘Youtuber’, their ‘category’ and ‘created_year’. The sample is 50% of the data.
Columns used for creating random samples: 1.Category 2.Video Views 3.Subscribers 4.Country 5.Youtuber 6.highest yearly earnings 7.uploads 8.created year
Scrutinizing the data:
At first, let us look at the differences between all the random samples of dataframes. We have 6 six dataframes: df1, df2, df3, df4, df5 and df6.
df1 and df2 have are based on two different categorical columns ‘category’ and ‘Country’ but contain the same numerical attributes ‘subscribers’ and ‘video views’.
df3 and df4 are based on the same categorical column ‘Youtuber’ but contain different numerical attributes being ‘uploads’ and ‘highest yearly earnings’.
df5 and df6 are based on same categorical column ‘Youtuber’ and same numerical column ‘created year’ but are differentiated with the categorical columns ‘category’ and ‘Country’.
Now within the pairs of dataframes mentioned above, let us look some differences between the pairs.
For df1 and df2:
summary(df1$video.views)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000e+00 4.356e+09 7.918e+09 1.078e+10 1.320e+10 1.480e+11
summary(df2$video.views)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000e+00 4.123e+09 7.740e+09 1.048e+10 1.340e+10 1.010e+11
summary(df1$subscribers)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 12300000 14400000 17500000 22437349 24075000 159000000
summary(df2$subscribers)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 12300000 14200000 17950000 23279116 24375000 170000000
The differences between df1 and df2 can be assessed by the differences in the summary values of their respective matching numerical attributes. We can see that the mean video views for df2 is 171 million more than df1. This shows that df2 has those Youtube channels with greater views than df1. Another noticeable difference is the minimum and maximum values for the subdcriber count of both samples. It can be seen that minimum value for df1 and df2 is similar. However, the maximum subscriber count for df2 is way higher than df1 and so is the mean as well. This shows that df2 has Youtube channels with greater subscribers than df1.
For df3 and df4:
length(setdiff(df3$Youtuber,df4$Youtuber))
## [1] 245
length(setdiff(df4$Youtuber,df3$Youtuber))
## [1] 241
The differences between df3 and df4 can be assessed by the checking the Youtube channels that are in df3 but not in df4 and similarly those in df4 but not in df3. After analyzing this, we notice there are 233 Youtube channels in df3 that are not in df4, and there are 250 Youtube channels in df4 but not in df3.
For df5 and df6:
length(setdiff(df5$Youtuber,df6$Youtuber))
## [1] 231
length(setdiff(df6$Youtuber,df5$Youtuber))
## [1] 230
find_mode <- function(x) {
uniq_x <- unique(x)
freq_x <- table(x)
mode_values <- uniq_x[which.max(freq_x)]
return(mode_values)
}
find_mode(df5$created_year)
## [1] 2013
find_mode(df6$created_year)
## [1] 2015
The differences between df5 and df6 can be assessed by checking the Youtube channels that are in df5 but not in df6 and similarly those in df6 but not in df5 After analyzing this, we notice there are 251 Youtube channels in df5 that are not in df6, and there are 256 Youtube channels in df6 but not in df5. Another analysis that can be done is to find the most occured created year in each dataframe. It noticed that the most occurred year in df5 is 2009 and for df6 it is 2020. This shows that df5 contains Youtube channels that are relatively old. However df6 contains Youtube channels that are relatively new.
df3[!duplicated(df3$Youtuber) & !duplicated(df4$Youtuber, fromLast = TRUE), ]
## Youtuber
## 1 BIGBANG
## 2 Jess No Limit
## 4 Willyrex
## 7 Drake
## 16 Topper Guild
## 21 AzzyLand
## 25 MrBeast
## 27 penguinz0
## 28 BBC News Hindi
## 30 Shakira
## 31 Camila Cabello
## 32 Jass Records
## 33 DM - Desi Melodies
## 34 Lyrical Lemonade
## 35 Ariana Grande
## 39 Zee Music Company
## 40 DLS News
## 44 People Vs Food
## 47 DeToxoMoroxo
## 48 Felipe Neto
## 49 Migos ATL
## 50 SIS vs BRO
## 53 Zach King
## 55 Jason Derulo
## 58 Shemaroo
## 59 Noor Stars
## 60 YouTube Movies
## 61 shfa
## 62 les boys tv2
## 64 Mrwhosetheboss
## 65 Canal Canalha
## 67 TheOdd1sOut
## 69 Masha y el Oso
## 70 HUBA��
## 71 Dangal TV Channel
## 72 Trakin Tech
## 73 Duo Tiempo De Sol
## 74 Harsh Beniwal
## 75 SCTV
## 76 Liza Koshy
## 79 Prime Video India
## 80 VanossGaming
## 84 Renato Garcia YT
## 85 Peet Montzingo
## 88 DJ Khaled
## 91 How Ridiculous
## 92 RobleisIUTU
## 93 Totoy kids - Espa�\xef
## 94 SOMOY TV
## 95 Emiway Bantai
## 96 TWICE
## 97 BBC News
## 99 KatyPerryVEVO
## 100 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd KIMPRO
## 101 Wow Kidz Action
## 102 Justin Bieber
## 104 Billie Eilish
## 105 Kurzgesagt �����\xef\xbf
## 106 Kimberly Loaiza
## 108 Ishaan Ali 11
## 109 Geo News
## 110 CoryxKenshin
## 112 Vlad and Niki IDN
## 113 Diana and Roma EN
## 121 BETER B��
## 122 Infinite
## 124 BuzzFeedVideo
## 125 Gusttavo Lima Oficial
## 128 Enaldinho
## 129 Avicii
## 130 Britain's Got Talent
## 131 netd m�\xef\xbf
## 132 Live
## 134 LeoNata Family
## 135 JD Pantoja
## 137 Avril Lavigne
## 139 Spider Slack
## 140 Lele Pons
## 141 REACT
## 142 Maya and Mary
## 143 Stubborn Facts
## 145 BANGTANTV
## 146 Dyland PROS
## 147 ChuChu TV Nursery Rhymes & Kids Songs
## 148 mmoshaya
## 149 Zhong
## 150 WatchMojo.com
## 154 O Reino Infantil
## 157 H2ODelirious
## 158 Yair17
## 159 It's Mamix
## 160 Beast Philanthropy
## 162 ZutiGang
## 164 JFlaMusic
## 165 Camilo
## 166 Luisito Comunica
## 167 Bruno Mars
## 168 tuzelity SHUFFLE
## 169 Diana and Roma IND
## 171 PewDiePie
## 172 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfdSULGI
## 173 Unbox Therapy
## 174 Sports
## 176 Troom Troom India
## 177 Taylor Swift
## 179 Disney Latinoam��
## 180 Smosh
## 181 Like Nastya Stories
## 182 Knowledge Tv ������
## 186 BRIGHT SIDE
## 187 Shemaroo Movies
## 188 Dream
## 189 Telemundo
## 190 DEV Ke Facts
## 191 Sonotek Bhakti
## 192 Lucas and Marcus
## 193 Goldmines Dishoom
## 195 Shemaroo Comedy
## 196 MyMissAnand
## 197 Ozuna
## 198 Goldmines Cineplex
## 201 Rafa & Luiz
## 202 #Ref����
## 203 CKM
## 204 LooLoo Kids - Nursery Rhymes and Children's Songs
## 205 Ch3Thailand
## 206 Rub������
## 209 Sony PAL
## 210 Maluma
## 211 Roman Atwood Vlogs
## 212 enchufetv
## 213 FACT FIRE KING
## 215 EminemMusic
## 217 SET India
## 218 J Balvin
## 219 Desi Music Factory
## 220 Hacksmith Industries
## 221 Gibby :)
## 222 DALLMYD
## 226 Saregama Music
## 231 KL BRO Biju Rithvik
## 232 NikkieTutorials
## 233 Eros Now Music
## 234 HAR PAL GEO
## 236 Mis Pastelitos
## 241 Jennifer Lopez
## 242 Happy Lives
## 244 Tu COSMOPOLIS
## 245 Valentina Pontes ofc
## 249 Mark Rober
## 254 KSI
## 257 Health Time
## 258 Painzeiro
## 260 TazerCraft
## 261 Rclbeauty101
## 262 Chetan Monga Vlogs
## 263 toyorbabytv
## 265 Pop Chartbusters
## 268 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd Liziqi
## 269 Katakit Baby TV
## 271 Like Nastya VNM
## 273 ABC News
## 274 IGN
## 276 Manoj parihar
## 277 PrestonPlayz
## 278 KatieAngel
## 279 CVS 3D Rhymes & Kids Songs
## 280 Super JoJo - Nursery Rhymes & Kids Songs
## 281 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd one31
## 285 Nicki Minaj
## 286 La Rosa de Guadalupe
## 287 Sony AATH
## 288 Yudist Ardhana
## 289 JesseAndMike
## 290 Frost Diamond
## 291 Little Mix
## 292 Trap Nation
## 294 Sidemen
## 295 EeOneGuy
## 296 Gallina Pintadita
## 298 Luis Fonsi
## 299 BUDI01 GAMING
## 301 Lofi Girl
## 302 MR. INDIAN HACKER
## 306 The Tonight Show Starring Jimmy Fallon
## 307 FFUNTV
## 310 Panda Shorts
## 311 Manual do Mundo
## 313 Katy Perry
## 316 Saad Lamjarred | �����\xef\xbf
## 317 toycantando
## 318 Rans Entertainment
## 319 5-Minute Crafts FAMILY
## 320 Pitbull
## 323 StudyIQ IAS
## 325 Veritasium
## 326 EnriqueIglesiasVEVO
## 327 Blippi - Educational Videos for Kids
## 328 Spinnin' Records
## 329 Morgz
## 330 The Chainsmokers
## 331 Antrax
## 335 POPS Kids
## 337 Desi Gamers
## 338 Lil Nas X
## 339 shfa2 - ��
## 341 Jkk Entertainment
## 342 Danny Fitt
## 343 Wave Music Bhojpuri
## 344 Eva Bravo Play
## 346 Anitta
## 348 Peppa Pig - Official Channel
## 350 James Charles
## 353 Lindsey Stirling
## 354 Sun TV
## 358 ZAMZAM ELECTRONICS TRADING
## 359 HolaSoyGerman.
## 361 Zee Tamil
## 362 Skrillex
## 363 PowerKids TV
## 367 Maria Clara & JP
## 369 Peppa Pig em Portugu��������\xef\xbf
## 370 Diana and Roma ARA
## 372 Thairath Online
## 374 Rauw Alejandro
## 376 Kuplinov ��\xef\xbf
## 377 Salman Noman
## 378 Masha e o Urso
## 379 Fun For Kids TV - Hindi Rhymes
## 381 PlayStation
## 384 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 385 BigSchool
## 386 Goldmines
## 387 Kiddiestv Hindi - Nursery Rhymes & Kids Songs
## 389 CrashCourse
## 392 Marta and Rustam
## 393 Vlad and Niki PRT
## 394 Jorge & Mateus Oficial
## 398 Neha Kakkar
## 399 Mundo Bita
## 400 Lokdhun Punjabi
## 401 Galinha Pintadinha
## 403 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd | Arab Games Network
## 404 \xfd\xfd\xfd Kids Roma Show
## 406 Boram Tube Vlog [��������\xef\xbf
## 407 National Geographic
## 408 Fueled By Ramen
## 411 Ultra Records
## 413 Zeinab Harake
## 414 Cyprien
## 416 5-Minute Crafts PLAY
## 417 WiederDude
## 418 Aditya Movies
## 420 MAIKI021
## 421 PopularMMOs
## 422 Zig & Sharko
## 423 Blockbuster Movies
## 425 Bounce Patrol - Kids Songs
## 427 Pen Movies
## 428 Good Mythical Morning
## 429 DaniRep | +6 V����������\xef
## 430 Daily Dose Of Internet
## 431 Family Fitness
## 434 Drawblogs
## 435 NDTV India
## 436 Sidhu Moose Wala
## 437 RS 1313 SHORTS
## 438 BBC
## 439 Crazy XYZ
## 441 EminemVEVO
## 445 Vilmei
## 446 Logan Paul
## 447 Village Cooking Channel
## 448 NichLmao
## 449 Goldmines Great Indian Comedy
## 453 ERB
## 455 Werever2morro
## 458 Vogue
## 460 Marvel Entertainment
## 461 DopeLyrics
## 462 Vijay Kumar Viner Vlogs
## 463 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd 5 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 465 El Reino a Jugar
## 467 Lotus Music
## 468 With Kids[����\xef
## 469 Boram Tube ToysReview [��������\xef\xbf
## 470 League of Legends
## 471 Maha Fun Tv
## 472 Davie504
## 475 Lana Del Rey
## 477 Marques Brownlee
## 478 That Little Puff
## 479 Green Gold TV - Official Channel
## 480 IndiaTV
## 481 Bollywood Classics
## 482 tanboy kun
## 488 Sebasti���
## 491 Rihanna
## 492 1theK (����\xef
## 493 Enes Batur
## 496 WorkpointOfficial
## 497 Top Viral Talent
## highest_yearly_earnings
## 1 2.000e+06
## 2 2.630e+07
## 4 7.395e+05
## 7 1.000e+00
## 16 3.300e+07
## 21 2.586e+05
## 25 6.470e+07
## 27 9.100e+06
## 28 6.300e+06
## 30 1.700e+07
## 31 2.000e+06
## 32 5.000e-02
## 33 6.800e+06
## 34 3.800e+06
## 35 7.700e+06
## 39 3.860e+07
## 40 1.500e+06
## 44 7.363e+05
## 47 0.000e+00
## 48 6.300e+06
## 49 2.400e+06
## 50 5.000e+00
## 53 6.000e+00
## 55 2.150e+07
## 58 1.120e+07
## 59 7.467e+05
## 60 5.800e-01
## 61 7.630e+04
## 62 2.160e+04
## 64 8.000e+06
## 65 1.100e+06
## 67 1.500e+06
## 69 1.000e-01
## 70 1.530e+07
## 71 2.690e+07
## 72 2.100e+06
## 73 2.600e+06
## 74 1.300e+06
## 75 1.600e+01
## 76 8.450e+04
## 79 1.610e+07
## 80 2.600e+06
## 84 4.000e+06
## 85 1.910e+07
## 88 1.800e+01
## 91 1.880e+07
## 92 1.300e+06
## 93 5.400e+06
## 94 7.790e+02
## 95 2.000e+06
## 96 4.700e+06
## 97 3.200e+06
## 99 4.300e+06
## 100 1.634e+08
## 101 5.100e+06
## 102 8.500e+06
## 104 7.000e+06
## 105 1.400e+06
## 106 6.600e+06
## 108 3.500e+07
## 109 4.800e+06
## 110 5.000e+06
## 112 6.400e+06
## 113 8.500e+06
## 121 7.020e+07
## 122 3.300e+06
## 124 4.374e+05
## 125 1.030e+07
## 128 1.450e+07
## 129 3.900e+06
## 130 2.600e+06
## 131 2.040e+07
## 132 0.000e+00
## 134 5.630e+07
## 135 6.496e+05
## 137 2.400e+06
## 139 3.650e+07
## 140 8.903e+05
## 141 1.100e+06
## 142 2.100e+06
## 143 4.020e+04
## 145 8.100e+06
## 146 4.617e+05
## 147 2.020e+07
## 148 3.500e+06
## 149 0.000e+00
## 150 2.400e+06
## 154 5.300e+06
## 157 8.057e+05
## 158 4.257e+05
## 159 7.672e+05
## 160 1.800e+03
## 162 1.660e+07
## 164 5.327e+05
## 165 2.900e+06
## 166 0.000e+00
## 167 8.400e+06
## 168 2.650e+07
## 169 2.200e+06
## 171 1.900e+06
## 172 5.400e+06
## 173 8.025e+05
## 174 7.700e-01
## 176 8.290e+05
## 177 2.540e+07
## 179 2.270e+02
## 180 3.300e+06
## 181 1.400e+06
## 182 1.000e-01
## 186 0.000e+00
## 187 8.900e+06
## 188 1.300e+06
## 189 2.300e+06
## 190 1.310e+07
## 191 1.200e+06
## 192 1.500e+07
## 193 6.200e+06
## 195 4.900e+06
## 196 1.300e+06
## 197 8.100e+06
## 198 2.300e+06
## 201 5.700e+06
## 202 3.332e+05
## 203 6.308e+05
## 204 8.000e+00
## 205 0.000e+00
## 206 2.460e+07
## 209 2.000e+07
## 210 7.200e-01
## 211 7.600e+04
## 212 1.200e+06
## 213 2.500e+06
## 215 1.250e+07
## 217 8.750e+07
## 218 6.200e+06
## 219 0.000e+00
## 220 4.000e+06
## 221 4.933e+05
## 222 1.500e+06
## 226 2.560e+07
## 231 9.760e+07
## 232 1.700e+06
## 233 9.726e+05
## 234 6.420e+07
## 236 2.400e+06
## 241 3.000e+06
## 242 0.000e+00
## 244 7.747e+05
## 245 1.400e+06
## 249 4.300e+06
## 254 2.611e+05
## 257 6.690e+04
## 258 2.100e+06
## 260 1.900e+06
## 261 4.145e+05
## 262 5.500e+06
## 263 8.100e+06
## 265 3.500e+06
## 268 1.100e+06
## 269 4.400e+06
## 271 4.100e+06
## 273 8.900e+06
## 274 4.700e+06
## 276 1.800e+06
## 277 7.300e+06
## 278 2.500e+06
## 279 6.500e+06
## 280 1.580e+07
## 281 6.800e+06
## 285 5.000e+06
## 286 0.000e+00
## 287 1.320e+07
## 288 8.500e+06
## 289 2.000e+06
## 290 0.000e+00
## 291 1.900e+06
## 292 2.200e+06
## 294 3.800e+06
## 295 7.850e+04
## 296 3.400e+06
## 298 0.000e+00
## 299 6.449e+05
## 301 1.500e+06
## 302 5.200e+06
## 306 0.000e+00
## 307 3.800e+06
## 310 2.300e+07
## 311 2.600e+06
## 313 6.400e+06
## 316 1.800e+06
## 317 8.300e+06
## 318 2.800e+06
## 319 1.300e+06
## 320 4.200e+06
## 323 3.600e+06
## 325 2.100e+06
## 326 3.600e+06
## 327 8.700e+06
## 328 4.800e+06
## 329 2.800e+06
## 330 3.900e+06
## 331 2.255e+05
## 335 1.230e+07
## 337 2.400e-01
## 338 2.200e+06
## 339 1.190e+07
## 341 2.400e+06
## 342 1.320e+07
## 343 2.500e+06
## 344 3.100e+06
## 346 3.500e+06
## 348 1.180e+07
## 350 2.800e+06
## 353 7.333e+05
## 354 4.710e+07
## 358 7.670e+07
## 359 1.900e-01
## 361 1.680e+07
## 362 1.200e+06
## 363 1.530e+07
## 367 1.210e+07
## 369 1.300e+06
## 370 3.200e+06
## 372 1.080e+07
## 374 9.900e+06
## 376 4.700e+06
## 377 3.400e-01
## 378 0.000e+00
## 379 5.300e+06
## 381 2.000e+06
## 384 3.400e+06
## 385 0.000e+00
## 386 8.600e-01
## 387 5.400e+06
## 389 3.445e+05
## 392 2.170e+07
## 393 1.900e+06
## 394 4.200e+06
## 398 1.200e+06
## 399 1.030e+07
## 400 1.700e+06
## 401 1.940e+07
## 403 2.100e+06
## 404 8.400e+06
## 406 1.100e+06
## 407 2.200e+06
## 408 2.900e+06
## 411 3.900e+06
## 413 5.802e+05
## 414 5.480e+05
## 416 5.100e+06
## 417 2.700e+06
## 418 1.090e+07
## 420 3.570e+05
## 421 7.342e+05
## 422 3.000e+06
## 423 0.000e+00
## 425 6.100e+06
## 427 4.600e+06
## 428 0.000e+00
## 429 4.000e+06
## 430 1.920e+07
## 431 1.130e+07
## 434 4.810e+04
## 435 2.400e+06
## 436 7.700e+06
## 437 1.020e+07
## 438 2.100e+06
## 439 4.900e+06
## 441 6.700e+06
## 445 1.270e+07
## 446 5.186e+05
## 447 9.300e+06
## 448 2.910e+07
## 449 3.200e+06
## 453 5.301e+05
## 455 0.000e+00
## 458 2.200e+06
## 460 3.000e+00
## 461 4.759e+05
## 462 5.300e+06
## 463 1.600e+06
## 465 4.000e+06
## 467 1.100e+06
## 468 2.200e+06
## 469 2.381e+05
## 470 2.100e+06
## 471 2.295e+05
## 472 1.400e+06
## 475 6.500e+06
## 477 2.500e+06
## 478 3.620e+07
## 479 0.000e+00
## 480 1.400e+07
## 481 7.300e+06
## 482 2.300e+06
## 488 5.300e+06
## 491 8.800e+06
## 492 5.100e+06
## 493 0.000e+00
## 496 6.300e+06
## 497 1.400e+06
df4[!duplicated(df4$Youtuber) & !duplicated(df3$Youtuber, fromLast = TRUE), ]
## Youtuber
## 1 Gulshan Kalra
## 3 DUDU e CAROL
## 5 RS 1313 SHORTS
## 8 Saad Lamjarred | �����\xef\xbf
## 10 Vlad and Niki IDN
## 11 Jake Paul
## 13 #Ref����
## 14 TEDx Talks
## 15 5-Minute Crafts DIY
## 17 David Guetta
## 19 5-Minute Crafts
## 20 Vijay Television
## 21 Family Fitness
## 22 Vilmei
## 23 TED
## 25 SIS vs BRO
## 26 Trap City
## 28 DaFuq!?Boom!
## 34 Netflix Jr.
## 35 Village Cooking Channel
## 36 Vlad and Niki ESP
## 39 Ben Azelart
## 42 News18 India
## 44 YRF
## 45 PlayStation
## 46 Wiz Khalifa
## 47 Dream
## 49 shfa
## 53 Camila Loures
## 54 Tekashi 6ix9ine
## 55 ZutiGang
## 57 Ivana Alawi
## 58 WWE
## 59 zbing z.
## 61 HYBE LABELS
## 62 Alan Chikin Chow
## 64 It's Mamix
## 65 Aphmau
## 66 1theK (����\xef
## 68 Sony Music South
## 70 Rosanna Pansino
## 73 mmoshaya
## 74 Popular on YouTube
## 79 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 81 Linkin Park
## 83 The Vishal bhatt
## 86 Shawn Mendes
## 87 Prime Video India
## 88 Vijay Kumar Viner Vlogs
## 89 Wolfoo Family
## 90 Nicki Minaj
## 91 H2ODelirious
## 93 Maroon5VEVO
## 95 Lana Del Rey
## 96 DeGoBooM
## 98 Bruno Mars
## 99 DaniRep | +6 V����������\xef
## 100 A4
## 101 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 102 Ajay Sharma
## 104 Wolfoo Channel
## 105 WatchMojo.com
## 106 Sony PAL
## 107 ATHLEAN-X�
## 108 F2Freestylers - Ultimate Soccer Skills Channel
## 109 Vlad v��\xef
## 111 Pencilmation
## 112 Go Ami Go!
## 113 Daftar Populer
## 115 Goldmines Movies
## 116 Maya and Mary
## 118 tabii Urdu
## 127 BUDI01 GAMING
## 128 NDTV
## 132 XpressTV
## 135 OneDirectionVEVO
## 136 LosPolinesios
## 138 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 140 Dan-Sa / Daniel Saboya
## 141 MGC Playhouse
## 142 The Shiny Peanut
## 143 E-MasterSensei
## 145 GMA Integrated News
## 147 Mundo Bita
## 149 TRANS TV Official
## 151 Family GamesTV
## 152 ABP NEWS
## 153 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd KIMPRO
## 154 Jelly
## 158 LeoNata Family
## 160 Coke Studio
## 161 Indosiar
## 163 theRadBrad
## 164 netd m�\xef\xbf
## 165 Zee Music Classic
## 168 Robin Hood Gamer
## 170 EminemVEVO
## 172 Liza Koshy
## 173 Priyal Kukreja
## 174 Caeli YT
## 175 Infobells Bangla
## 176 TommyInnit
## 177 DeToxoMoroxo
## 179 infobells - Tamil
## 181 Junya.����
## 182 Ariana Grande
## 183 Vlad and Niki PRT
## 184 Speed Records
## 185 Avicii
## 186 Khan GS Research Centre
## 187 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd | Arab Games Network
## 188 Jason Vlogs
## 189 Camila Cabello
## 190 Voot Kids
## 194 Neha Kakkar
## 200 AboFlah
## 204 FailArmy
## 205 Crescendo com Luluca
## 210 Shemaroo Comedy
## 212 Mariale
## 213 XXXTENTACION
## 217 Airrack
## 218 CollegeHumor
## 219 Dan Rhodes
## 220 Pok���������
## 222 Darkar Company Studios
## 224 RCTI - LAYAR DRAMA INDONESIA
## 225 Calvin Harris
## 228 GMMTV OFFICIAL��
## 230 SAM SMITH
## 231 MrBeast 2
## 232 JOJO TV - Hindi Stories
## 234 Mis Pastelitos
## 239 whinderssonnunes
## 240 Lofi Girl
## 241 Harry Styles
## 242 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd Ms Yeah
## 244 Little Angel - M����������
## 245 The World Adventures ������
## 246 NishaMadhulika
## 247 RobleisIUTU
## 249 DALLMYD
## 250 Planeta das G��
## 251 PowerfulJRE
## 252 karameeshchannel
## 253 J Balvin
## 254 Kurt Hugo Schneider
## 255 DisneyMusicVEVO
## 257 Pinkfong Baby Shark - Kids' Songs & Stories
## 258 Wow Kidz Action
## 259 Pastor Ant����\xef
## 260 Techno Gamerz
## 263 les boys tv2
## 265 D Billions
## 267 FunFun Toy Doll TV
## 268 SriBalajiMovies
## 271 Narins Beauty
## 272 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd - Al-Remas
## 273 Bebefinn - Nursery Rhymes & Kids Songs
## 274 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 275 Beast Philanthropy
## 276 Fatos Desconhecidos
## 277 BBC News
## 278 KatyPerryVEVO
## 280 Lyrical Lemonade
## 281 WB Kids
## 283 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd\xfd\xfd
## 284 Unbox Therapy
## 287 jbalvinVEVO
## 288 Adexe & Nau
## 289 Peet Montzingo
## 290 infobells - Kannada
## 292 Arif muhammad
## 293 Just For Laughs Gags
## 294 NMF News
## 297 Peppa Pig - Official Channel
## 298 WORLDSTARHIPHOP
## 301 Las Ratitas
## 303 jaanvi patel
## 304 My Mate Nate
## 307 DM - Desi Melodies
## 310 Voc���
## 313 HAR PAL GEO
## 314 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd \xfd\xfd \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 316 Zee Bangla
## 317 Morgz
## 318 Gallina Pintadita
## 319 Gyan Gaming�
## 321 Jimmy Kimmel Live
## 323 Vania Mania Kids
## 324 Tu COSMOPOLIS
## 325 Noman Official
## 328 XO TEAM
## 329 ISSEI / ����
## 334 People Vs Food
## 335 Markiplier
## 336 WowKidz
## 337 Vlad and Niki ARA
## 342 PowerKids TV
## 343 Natan por A\xef\xbf
## 344 Free Fire India Official
## 345 ADEL et SAMI
## 346 Ray William Johnson
## 347 Kimberly Loaiza
## 348 Heidi y Zidane
## 349 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd - Genevieve's Playhouse
## 350 MrSuicideSheep
## 351 T-Series
## 352 Mister Max
## 353 Daddy Yankee
## 354 Drake
## 355 Jingle Toons
## 356 Smile Family Spanish
## 357 THE BROWN SIBLINGS
## 359 RedeTV
## 364 Troom Troom India
## 365 The MriDul
## 366 Sony Music India
## 367 Chad Wild Clay
## 368 Like Nastya Vlog
## 369 Chris Brown
## 370 Reaction Time
## 373 Maria Clara & JP
## 374 Stubborn Facts
## 377 Hero Movies 2023
## 379 Kwebbelkop
## 383 Chetan Monga Vlogs
## 388 Hacksmith Industries
## 390 LIV Crime
## 391 elrubiusOMG
## 392 JD Pantoja
## 395 LEGO
## 398 SCTV
## 399 GRAMMY GOLD OFFICIAL
## 400 Diana and Roma IND
## 401 Anaysa
## 403 La Rosa de Guadalupe
## 405 AH
## 406 POPS Kids
## 407 Talking Angela
## 408 MattyBRaps
## 409 Sonotek
## 412 Luli Pamp�
## 413 Saturday Night Live
## 414 MC Divertida
## 415 Mar�����
## 417 T-Series Hamaar Bhojpuri
## 420 Timba Vk
## 421 Jordan Matter
## 424 Lyna
## 425 Like Nastya Stories
## 426 Mobile Legends: Bang Bang
## 427 Sia
## 429 AM3NlC
## 430 Manoj parihar
## 431 Stokes Twins
## 432 Zee News
## 434 Piuzinho
## 436 Unspeakable
## 437 \xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd
## 438 Like Nastya IDN
## 439 Canal KondZilla
## 440 YoungBoy Never Broke Again
## 442 FC Barcelona
## 443 Talking Tom
## 445 Little Mix
## 447 Matt Steffanina
## 449 The Lallantop
## 450 Atlantic Records
## 454 League of Legends
## 457 IDEIAS INCR��
## 460 dednahype
## 461 Preston
## 462 Aadishakti Films
## 464 SelenaGomezVEVO
## 466 BLACKPINK
## 470 SlivkiShow
## 471 1MILLION Dance Studio
## 473 Ami Rodriguez
## 474 TheGrefg
## 476 FactTechz
## 481 Franco Escamilla
## 482 Jazzghost
## 483 Masha y el Oso
## 484 MyMissAnand
## 486 Pari's Lifestyle
## 488 Ch3Thailand
## 491 Werever2morro
## 492 Cyprien
## 493 Badabun
## 494 Kurzgesagt �����\xef\xbf
## 495 Salman Noman
## 497 KL BRO Biju Rithvik
## 498 Alex Gonzaga Official
## uploads
## 1 545
## 3 2942
## 5 5628
## 8 176
## 10 498
## 11 1006
## 13 846
## 14 200933
## 15 5062
## 17 749
## 19 1
## 20 51515
## 21 1699
## 22 1324
## 23 4445
## 25 60
## 26 3
## 28 214
## 34 1996
## 35 219
## 36 515
## 39 301
## 42 182742
## 44 3707
## 45 20292
## 46 682
## 47 116
## 49 982
## 53 3978
## 54 51
## 55 1363
## 57 180
## 58 70127
## 59 3151
## 61 1337
## 62 865
## 64 210
## 65 4411
## 66 18950
## 68 2726
## 70 1248
## 73 1189
## 74 3
## 79 1255
## 81 0
## 83 1040
## 86 133
## 87 7090
## 88 1357
## 89 61
## 90 42
## 91 3727
## 93 147
## 95 43
## 96 4702
## 98 99
## 99 12419
## 100 1
## 101 1478
## 102 0
## 104 22
## 105 24837
## 106 24089
## 107 1349
## 108 777
## 109 515
## 111 1481
## 112 252
## 113 3810
## 115 3
## 116 552
## 118 1306
## 127 319
## 128 151136
## 132 724
## 135 266
## 136 982
## 138 0
## 140 1329
## 141 1426
## 142 2337
## 143 1300
## 145 296272
## 147 253
## 149 148225
## 151 0
## 152 301308
## 153 1646
## 154 6066
## 158 2321
## 160 450
## 161 65286
## 163 8195
## 164 23491
## 165 1640
## 168 0
## 170 104
## 172 142
## 173 772
## 174 483
## 175 359
## 176 342
## 177 1
## 179 555
## 181 5985
## 182 147
## 183 516
## 184 10938
## 185 156
## 186 1
## 187 6289
## 188 83
## 189 80
## 190 4660
## 194 149
## 200 641
## 204 438
## 205 1307
## 210 4487
## 212 2618
## 213 133
## 217 173
## 218 4340
## 219 1644
## 220 194
## 222 183
## 224 1
## 225 79
## 228 23952
## 230 230
## 231 27
## 232 1097
## 234 603
## 239 558
## 240 409
## 241 0
## 242 435
## 244 795
## 245 1028
## 246 2158
## 247 1344
## 249 412
## 250 951
## 251 1037
## 252 2254
## 253 141
## 254 698
## 255 2068
## 257 2865
## 258 1525
## 259 4712
## 260 1
## 263 453
## 265 775
## 267 735
## 268 20102
## 271 431
## 272 2133
## 273 322
## 274 1021
## 275 34
## 276 6262
## 277 18972
## 278 175
## 280 420
## 281 2025
## 283 60
## 284 2175
## 287 237
## 288 594
## 289 319
## 290 433
## 292 542
## 293 6916
## 294 112261
## 297 3589
## 298 6873
## 301 4
## 303 512
## 304 1195
## 307 79
## 310 1558
## 313 100755
## 314 504
## 316 132398
## 317 825
## 318 62
## 319 3086
## 321 6526
## 323 985
## 324 8741
## 325 560
## 328 189
## 329 1788
## 334 601
## 335 5490
## 336 2
## 337 510
## 342 5621
## 343 1200
## 344 1500
## 345 503
## 346 1803
## 347 291
## 348 600
## 349 107
## 350 3483
## 351 20082
## 352 1099
## 353 505
## 354 3
## 355 240
## 356 457
## 357 965
## 359 36760
## 364 2385
## 365 106
## 366 3882
## 367 698
## 368 493
## 369 0
## 370 1717
## 373 744
## 374 287
## 377 689
## 379 5198
## 383 899
## 388 887
## 390 9850
## 391 703
## 392 16
## 395 31889
## 398 267
## 399 6287
## 400 534
## 401 591
## 403 0
## 405 2197
## 406 3943
## 407 233
## 408 195
## 409 8285
## 412 294
## 413 8335
## 414 413
## 415 1
## 417 9862
## 420 1024
## 421 413
## 424 4906
## 425 479
## 426 1647
## 427 171
## 429 5757
## 430 335
## 431 257
## 432 180092
## 434 504
## 436 796
## 437 608
## 438 502
## 439 2572
## 440 142
## 442 10988
## 443 2
## 445 278
## 447 331
## 449 51129
## 450 1660
## 454 1362
## 457 5430
## 460 1935
## 461 4009
## 462 4790
## 464 186
## 466 543
## 470 462
## 471 0
## 473 460
## 474 3566
## 476 709
## 481 2483
## 482 5494
## 483 6
## 484 340
## 486 459
## 488 96214
## 491 0
## 492 222
## 493 1
## 494 193
## 495 3
## 497 1841
## 498 287
The above code uses the duplicated function to identify Youtubers in each dataframe that have duplicates within the same dataframe. By comparing df3 with df4 and vice versa, the code identifies Youtubers in each dataframe that are unique, meaning they do not have duplicates within the same dataframe.In this context, these unique Youtubers are considered “anomalies” because they represent data points or observations that exist in one dataframe but do not have corresponding matches in the other dataframe. They stand out as different or uncommon observations when comparing the two dataframes. It is useful in identifying discrepencies in datasets.
ggplot()+
geom_point(data=df5,aes(Country,created_year))+
theme(axis.text.x = element_text(angle = 90, hjust = 1))
## Warning: Removed 1 rows containing missing values (`geom_point()`).
ggplot()+
geom_point(data=df6,aes(category,created_year))+
theme(axis.text.x = element_text(angle = 90, hjust = 1))
One major anomaly we notice in df6 that’s not in df5 is the presence of a youtuber with a ‘created_year’ of 1970. This is practically not possible as youtube was founded only at 2005. However, this anomaly isn’t present in df5 as we can see from the scatter plot of df2 that the youtube channels atleast exist since 2005.
ch1<-df1[df1$video.views < 0.5 * df1$subscribers & df1$video.views > 0,]
ch1
## category video.views subscribers
## 348 Science & Technology 2634 23200000
ch2<-df2[df2$video.views < 0.5 * df2$subscribers & df2$video.views > 0,]
ch2
## Country video.views subscribers
## 470 Russia 439098 14900000
The above checks if the “video views” are less than half of the “subscribers” count and greater than 0 for both df1 and df2. This is to see whether there are channels out there that receive significantly lesser viewership in comparison to their subscriber count. If that’s the case, we consider it as an anomaly. From our results, we see one such anomaly in df2 for a youtube channel that has only 2634 views but has about 23.2 million subscribers. However, such an anomaly doesn’t exist in df1.
For this, we can consider the subsamples that have common attributes and find the respective that are consistent across these sub samples.
Common attributes amongst the dataframes/ subsamples:
a<-intersect(df1$category,df6$category)
a
## [1] "Entertainment" "Comedy" "Gaming"
## [4] "Film & Animation" "Education" "Howto & Style"
## [7] "People & Blogs" "Music" "News & Politics"
## [10] "Sports" "Science & Technology" "Shows"
## [13] "nan" "Autos & Vehicles" "Trailers"
b<-length(unique(df1$category))
c<-length(unique(df6$category))
avg<- (b+c)/2
length(a)
## [1] 15
length(a)/avg
## [1] 0.9375
The above code finds the common variables between the sub-samples, and then calculates the length of unique categories present in both sub-samples. From this, we get the average number of unique categories and is divided by the length of the intersection to obtain the percentage of consistency. In this way, we calculate the proportion of categories that are consistent in both sub-samples. After the calculation, we see that there is a 93.75% consistency for the categories present in both sub-samples. This shows that there is excellent consistency in categories among the sub-samples.
cor(df1$video.views,df2$video.views,method="pearson")
## [1] 0.05639789
The correlation coefficient is -0.04224275. The indicates a degree of inconsistency or lack of consistency for ‘Video views’. But since this is more inclined towards 0, the sub-samples don’t completely disagree with each other.
cor(df1$subscribers,df2$subscribers,method="pearson")
## [1] 0.005850112
The correlation coefficient is -0.05700081. The indicates a degree of inconsistency or lack of consistency for ‘Subscribers’. But since this is more inclined towards 0, the subsamples don’t completely disagree with each other.
a<-a<-Reduce(intersect,list(df3$Youtuber,df4$Youtuber,df5$Youtuber,df6$Youtuber))
a
## [1] "\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd\xfd"
## [2] "ADEL et SAMI"
## [3] "DM - Desi Melodies"
## [4] "DeToxoMoroxo"
## [5] "YouTube Movies"
## [6] "SCTV"
## [7] "TWICE"
## [8] "Ami Rodriguez"
## [9] "mmoshaya"
## [10] "SriBalajiMovies"
## [11] "H2ODelirious"
## [12] "Bruno Mars"
## [13] "KL BRO Biju Rithvik"
## [14] "Ricis Official"
## [15] "Nicki Minaj"
## [16] "Gallina Pintadita"
## [17] "Willie Salim"
## [18] "The Tonight Show Starring Jimmy Fallon"
## [19] "Sun TV"
## [20] "WiederDude"
## [21] "EminemVEVO"
## [22] "Village Cooking Channel"
b<-length(unique(df3$Youtuber))
c<-length(unique(df4$Youtuber))
d<-length(unique(df5$Youtuber))
e<-length(unique(df6$Youtuber))
avg<- (b+c+d+e)/4
length(a)
## [1] 22
length(a)/avg
## [1] 0.05573148
The above code finds the common variables between the sub-samples, and then calculates the length of unique Youtubers present in the 4 sub-samples. From this, we get the average number of unique Youtubers and is divided by the length of the intersection to obtain the percentage of consistency. In this way, we calculate the proportion of Youtubers that are consistent in the 4 sub-samples. After the calculation, we see that there is about 7.044% consistency for the Youtubers present in the 4 sub-samples. This shows there is a huge inconsistency in Youtubers among the sub-samples.
a<-intersect(df2$Country,df5$Country)
a
## [1] "United States" "Canada" "nan"
## [4] "Saudi Arabia" "India" "Indonesia"
## [7] "Mexico" "South Korea" "Thailand"
## [10] "United Kingdom" "Latvia" "Brazil"
## [13] "United Arab Emirates" "Argentina" "Japan"
## [16] "France" "Spain" "Ukraine"
## [19] "Colombia" "Pakistan" "Egypt"
## [22] "Iraq" "Australia" "Philippines"
## [25] "Germany" "Turkey" "Russia"
## [28] "Afghanistan" "Chile" "Peru"
b<-length(unique(df2$Country))
c<-length(unique(df5$Country))
avg<- (b+c)/2
length(a)
## [1] 30
length(a)/avg
## [1] 0.8
The above code finds the common variables between the sub-samples, and then calculates the length of unique countries present in both sub-samples. From this, we get the average number of unique countries and is divided by the length of the intersection to obtain the percentage of consistency. In this way, we calculate the proportion of countries that are consistent in both sub-samples. After the calculation, we see that there is a 80.0% consistency for the categories present in both sub-samples.
However, we can’t find the consistency of an occurrence among the 6 sub-samples since there isn’t any common variable among all the 6 sub-samples. But we were able to derive some valuable insights from the common attributes between the above pairs mentioned.
Conclusion:
How this investigation affects how you might draw conclusions about the data in the future?
By generating multiple subsamples, I gained insights into the robustness of your conclusions. If key patterns or trends are consistent across different subsamples, it provides more confidence that these patterns are representative of the population rather than artifacts of a specific sample.
Analyzing the subsamples allowed me to identify anomalies or outliers that may not be apparent in the full dataset. Anomalies that consistently appear across multiple subsamples may indicate real data issues or important phenomena.
The investigation allowed me to assess the generalizability of your findings.
Scrutinizing subsamples helped me gain insights into the underlying data structure.
By considering the variability and consistency across subsamples, I can make more informed decisions. For example, if I am conducting hypothesis testing or making predictions, understanding the variability helps me set realistic expectations for the accuracy of my results.