Skip to content

Commit

Permalink
Convert from old dplyr grouped_df format
Browse files Browse the repository at this point in the history
  • Loading branch information
rdpeng committed Jul 6, 2020
1 parent 7fcd7e1 commit 28123b0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Data_Manipulation/convert_old_dplyr.R
Original file line number Diff line number Diff line change
@@ -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")
Binary file modified Data_Manipulation/titanic_4.rds
Binary file not shown.
Binary file modified Data_Manipulation/titanic_4_b.rds
Binary file not shown.

0 comments on commit 28123b0

Please sign in to comment.