From 28123b085e947950baa2816f166c14f65f9109ec Mon Sep 17 00:00:00 2001 From: "Roger D. Peng" Date: Mon, 6 Jul 2020 10:02:51 -0400 Subject: [PATCH] Convert from old dplyr grouped_df format --- Data_Manipulation/convert_old_dplyr.R | 10 ++++++++++ Data_Manipulation/titanic_4.rds | Bin 448 -> 418 bytes Data_Manipulation/titanic_4_b.rds | Bin 441 -> 418 bytes 3 files changed, 10 insertions(+) create mode 100644 Data_Manipulation/convert_old_dplyr.R diff --git a/Data_Manipulation/convert_old_dplyr.R b/Data_Manipulation/convert_old_dplyr.R new file mode 100644 index 0000000..1815341 --- /dev/null +++ b/Data_Manipulation/convert_old_dplyr.R @@ -0,0 +1,10 @@ +## Convert from old grouped_df dplyr format to ungrouped format + +x <- readRDS("titanic_4.rds") +x <- ungroup(x) +saveRDS(x, file = "titanic_4.rds") + + +x <- readRDS("titanic_4_b.rds") +x <- ungroup(x) +saveRDS(x, file = "titanic_4_b.rds") diff --git a/Data_Manipulation/titanic_4.rds b/Data_Manipulation/titanic_4.rds index be284048efe3f32ebdd3376ee6efb9e89b5f6571..6662aaf4cd81e2b99913e800f2d2a61e10066f5f 100644 GIT binary patch delta 388 zcmV-~0ek+y1EK>ZABzY80000000WEQVqjokW?*4pVqj(kG8tGyL)>&NfMUWx4v`%x ze^76ML^(q9Qc{Z)3{7EtLsNy4d<9bjD4*TG3@8ocq8i4UoRe4#GYf7*T4HiZei4xM z4=N)Bmr2b{%t?jvSdiGmM+T7^U@_nZ#2!#_DIf+VCy;tuAohc*;Q?Z4DE0#4o6wl# zL`z*DwJt!c02OCNGS33aXM(Ebg^DWzf3Yl73J+B5)e7KSv>9o zBDlD*weUtDg7aZ?*yoJbEJiU7l1roI%9*yR!aaR zT|#+@>8Z(yB~Tu7aB2mV$>;~Ot+=$PEVC@X2&RR%Ahjqt9wM5W0VJk_> iiBCy`nG57WnOrG}C5d`zML?HuV88b<+J;j0i}UlRKr-4a}tYTX2ESpOH3}wF9NduL1l#CGO4+V z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