Elektrine lite

← Feed

@ansate@social.coop

Post #3892426

2026-07-17 18:25 UTC

ok #Rstats i have some questions. yes, i have been under a rock for a long time. what is a tibble? why is a tibble not just a dataframe? i honestly want you to tell me all about it

Replies (1)

  • @nxskok@cupoftea.social 2026-07-17 18:52

    @ansate@social.coop some thoughts: - a tibble is a newer concept than a data.frame, with the intention of learning from the confusing things about data.frames. - tibbles don't have row names (on the basis that your row names should be a column in the dataframe) - if you display a tibble, you get by default the first 10 rows, on the basis that this will usually tell you if your dataframe contains the right things. - if you use read_csv etc from readr to read in data from a file, you'll get a tibble; if you use the old read.csv, read.table you'll get a data.frame.

    Open ##3892424