powered by
This function takes a dataframe as input and converts it to a text representation.
dataframe_to_text(dataframe)
A character vector representing the dataframe in text format.
A dataframe to be converted.
dataframe <- data.frame( Name = c("John", "Alice", "Bob"), Age = c(25, 30, 22), Score = c(95, 88, 75) ) dataframe_to_text(dataframe)
Run the code above in your browser using DataLab