View Source Xlsxplorer (Xlsxplorer v0.1.0)

Xlsxplorer. Load data from your .xlsx file into an Explorer.DataFrame.

Uses Xlsxir to parse data from an .xlsx file.

Summary

Functions

Loads data from a .xlsx file into an Explorer.DataFrame

Functions

@spec from_xlsx(String.t(), integer()) :: Explorer.DataFrame.t()

Loads data from a .xlsx file into an Explorer.DataFrame

  • path is a string with the path to the .xlsx file
  • index is the sheet number to be read from the .xlsx file into the Explorer.DataFrame

Example

iex(1)> Xlsxplorer.from_xlsx("./test/data/example.xlsx", 0)
#Explorer.DataFrame<
  Polars[2 x 2]
  number integer [1, 2]
  string string ["hello", "world"]
>