Commit 01bf52f
authored
Improve the speed of displaying large datasets in Jupyter Notebook (#81)
fix #82
* Improve the speed of displaying large datasets in Jupyter Notebook
Fix the issue that Jupyter Notebook takes too much time when displaying large datasets with many columns.
The getmaxwidths() function now only calculates the maximum width of the columns that will be displayed, not all columns.
Please see issue for more details.
* Modify the initialization code of maxwidths
Now might break the loop before filling all the values of maxwidths.
The initialize code of maxwidths has been modified.1 parent 289f907 commit 01bf52f
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
73 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
74 | 81 | | |
75 | 82 | | |
76 | 83 | | |
| |||
0 commit comments