read_xlsx {rpymat} | R Documentation |
Read data frame from a 'xlsx'
file
Description
Tries to use 'readxl'
package or 'pandas'
to read data frame.
Usage
read_xlsx(
path,
sheet = NULL,
method = c("auto", "pandas", "readxl"),
n_max = Inf,
...
)
Arguments
path |
|
sheet |
either a character or an integer of which spread-sheet to read;
the number starts from |
method |
which method to use for reading the |
n_max |
maximum number of rows (excluding headers) to read |
... |
passed to 'Python' function |
Value
A data.frame
table
Examples
## Not run:
rpymat::read_xlsx("Book1.xlsx", sheet = 1)
rpymat::read_xlsx("Book1.xlsx", sheet = "sheet1")
## End(Not run)
[Package rpymat version 0.1.7 Index]