question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature] Extend DataFrame support in report_table to allow for MultiIndex

See original GitHub issue

If we modify pandas_reporting.py to use a MultiIndex instead of an index, the WebUI will concatenate the MultiIndex entries using a comma:

image

Notice how training,main and training,ba_mean_h... are originally two-level MultiIndex in pandas.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
idantenecommented, Aug 10, 2021

Hey @bmartinn, I was finally able to test it out. Much better now, although there’s now a null header for the indices.

image

0reactions
idantenecommented, Jul 27, 2021

Hey @bmartinn, I’d love to! Just to clarify though

  1. Do I install this on the local/remote agent?
  2. If remote agent, do I need to restart my queues?
Read more comments on GitHub >

github_iconTop Results From Across the Web

MultiIndex / advanced indexing — pandas 1.5.2 documentation
This section covers indexing with a MultiIndex and other advanced indexing features. See the Indexing and Selecting Data for general indexing documentation.
Read more >
How to extend pandas Dataframe by values in multiindex ...
Unique Id has some amount in each category. But I need to get a table where is amount presented for each 'id' for...
Read more >
How to Use MultiIndex in Pandas to Level Up Your Analysis
The multi-level index feature in Pandas allows you to do just that. A regular Pandas DataFrame has a single column that acts as...
Read more >
Pandas - Multi-index and groupby - GeeksforGeeks
Multi-index allows you to select more than one row and column in your index. It is a multi-level or hierarchical object for pandas...
Read more >
Working with MultiIndex in pandas DataFrame
2. pandas MultiIndex to Columns. Use pandas DataFrame.reset_index() function to convert/transfer MultiIndex (multi-level index) indexes to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found