Using the following code:
predictions = pd.DataFrame([x6,x5,x4,x3,x2,x1])
print(predictions)
Prints the following in the console:
0
0 782.367392
1 783.314159
2 726.904744
3 772.089101
4 728.797342
5 753.678877
How do I print predictions
without row (0-5) or column (0) indexes?
In R the code would look like:
print(predictions, row.names = FALSE)
print(predictions.to_string(index=False))
Happy Coding
. :)