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.

The output is not displayed in tabular form by using %%prun

See original GitHub issue
%%prun
print("hello")

image

The output is very messy, not formatted or presented in tabular form.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
RomanCastcommented, Oct 28, 2022

The workaround I’m using at the moment is saving the %prun output to a separate file and inspecting that file.

%prun -T tmp.txt my_fn()

Thanks for looking into this !

0reactions
robnacommented, Oct 12, 2022

maybe it is obvious to you but just in case: the same occurs for the line magic %prun

@DonJayamanne do you have a workaround that could be applied from the user side, while it is not correctly formatted automatically? Would really appreciate!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter %%prun magic output not displayed properly in VS ...
The workaround I'm using at the moment is saving the %prun output to a separate file and inspecting that file. %prun -T tmp.txt...
Read more >
prun(1) man page (version 3.1.6) - Open MPI
Display the output from the processes identified by their ranks in separate xterm windows. The ranks are specified as a comma-separated list of ......
Read more >
prun - man pages section 1: User Commands
pfiles does not display verbose information for each file descriptor. Instead, pfiles limits its output to the information that would be retrieved if...
Read more >
jupyter and pandas display - pydata
1. show all the rows or columns from a DataFrame in Jupyter ... the string_x is long so by default it will not...
Read more >
Built-in magic commands — IPython 8.7.0 documentation
In [6]: alias show echo In [7]: PATH='A Python string' In [8]: show $PATH A ... If called with no parameters, %alias prints...
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