@@ -86,7 +86,7 @@ The following tabular data types are supported:
86
86
- NumPy record arrays (names as columns)
87
87
- pandas.DataFrame
88
88
89
- Examples in this file use Python2. Tabulate supports Python3 too .
89
+ Tabulate is a Python3 library .
90
90
91
91
### Headers
92
92
@@ -1025,19 +1025,19 @@ At the same time, `tabulate` is comparable to other table
1025
1025
pretty-printers. Given a 10x10 table (a list of lists) of mixed text and
1026
1026
numeric data, ` tabulate ` appears to be slower than ` asciitable ` , and
1027
1027
faster than ` PrettyTable ` and ` texttable ` The following mini-benchmark
1028
- was run in Python 3.8.2 in Ubuntu 20.04 :
1028
+ was run in Python 3.9.13 on Windows 10 :
1029
1029
1030
- ================================== ========== ===========
1031
- Table formatter time, μs rel. time
1032
- ================================== ========== ===========
1033
- csv to StringIO 9.0 1.0
1034
- join with tabs and newlines 10.7 1.2
1035
- asciitable (0.8.0) 174.6 19 .4
1036
- tabulate (0.8.10 ) 385.0 42.8
1037
- tabulate (0.8.10 , WIDE_CHARS_MODE) 509.1 56.5
1038
- PrettyTable (3.3.0 ) 827.7 91.9
1039
- texttable (1.6.4) 952.1 105.7
1040
- ================================== ========== ===========
1030
+ ================================= ========== ===========
1031
+ Table formatter time, μs rel. time
1032
+ ================================= ========== ===========
1033
+ csv to StringIO 12.5 1.0
1034
+ join with tabs and newlines 14.6 1.2
1035
+ asciitable (0.8.0) 192.0 15 .4
1036
+ tabulate (0.9.0 ) 483.5 38.7
1037
+ tabulate (0.9.0 , WIDE_CHARS_MODE) 637.6 51.1
1038
+ PrettyTable (3.4.1 ) 1080.6 86.6
1039
+ texttable (1.6.4) 1390.3 111.4
1040
+ ================================= ========== ===========
1041
1041
1042
1042
1043
1043
Version history
@@ -1120,4 +1120,8 @@ endolith, Dominic Davis-Foster, pavlocat, Daniel Aslau, paulc,
1120
1120
Felix Yan, Shane Loretz, Frank Busse, Harsh Singh, Derek Weitzel,
1121
1121
Vladimir Vrzić, 서승우 (chrd5273), Georgy Frolov, Christian Cwienk,
1122
1122
Bart Broere, Vilhelm Prytz, Alexander Gažo, Hugo van Kemenade,
1123
- jamescooke, Matt Warner, Jérôme Provensal.
1123
+ jamescooke, Matt Warner, Jérôme Provensal, Kevin Deldycke,
1124
+ Kian-Meng Ang, Kevin Patterson, Shodhan Save, cleoold, KOLANICH,
1125
+ Vijaya Krishna Kasula, Furcy Pin, Christian Fibich, Shaun Duncan,
1126
+ Dimitri Papadopoulos.
1127
+
0 commit comments