Package tech.tablesaw.io.string
Class DataFramePrinter
java.lang.Object
tech.tablesaw.io.string.DataFramePrinter
A class that can pretty print a DataFrame to text for visualization in a console
Based off of https://github.com/zavtech/morpheus-core/blob/master/src/main/java/com/zavtech/morpheus/reference/XDataFramePrinter.java under Apache 2 license
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DataFramePrinter
Constructor- Parameters:
maxRows
- the max rows to printstream
- the print stream to write to
-
-
Method Details
-
print
Prints the specified DataFrame to the stream bound to this printer- Parameters:
frame
- the DataFrame to print
-