Elamur Dictionary

dataframe

English · noun

Senses

Sense 1 · noun · corpus

corpus

A table of data arranged in rows and columns in a computer program.

Source: Mova's open texts. Licence: cc-by-sa-4.0.

Forms and counts

Noun

  • Forms: dataframe (Number: Sing); dataframes (Number: Plur).

Usage and labels

corpus

Here, it names a data.frame object in the R programming language.

Examples

2 source examples.

  • [,1] [,2] [,3] [1,] 2 10 22 [2,] 38 58 82 # z_matrix, with row names 'A' and 'B' > new_df <- data.frame(t(z_matrix), row.names = c("A", "B")) > names(new_df) <- c("X", "Y", "Z") # Set the column names of the new_df dataframe as X, Y, and Z. — Wikipedia: R (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
  • [1] TRUE > attributes(new_df) # Print information about attributes of the new_df dataframe $names [1] "X" "Y" "Z" $row.names [1] "A" "B" $class [1] "data.frame" > attributes(new_df)$row.names <- c("one", "two") # Access and then change the row.names attribute; this can also be done using the rownames() function > new_df X Y Z one 2 6 12 two 20 30 42 — Wikipedia: R (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)

Notes and derived forms

corpus

Sources

Mova's open texts. Licence: cc-by-sa-4.0.

Mova's word records: counts from Mova's corpus index, word lists from Wiktionary and Mova's concept inventory. Licence: cc-by-sa-4.0.

This page in Markdown https://md.dictionary.elamur.ai/free/en/english/dataframe/