Skip to content

Allow 3D references as argument to xl method #37

Open
@ncalm

Description

@ncalm

It would be incredibly useful to be able to pass 3D references into the xl method.

Suppose you have some data in B2:K11 on each of sheets 1, 2 and 3.

We might have a 3D reference:

Sheet1:Sheet3!B2:K11

The xl method currently doesn't allow this type of reference.

It would be useful to be able to create one of the following from such a reference:

  • 3D np.ndarray
  • list of dataframes (one per sheet)
  • dictionary of dataframes (one per sheet)
  • sheets concatenated into a single pd.DataFrame (with a metadata column for sheet_name added by the function)

I'm sure all of this is possible by passing a callback to excel.set_xl_array_conversion, but the issue is that the xl method doesn't recognize 3D arrays at all, so it's not possible.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions