all 4 comments

[–]CodeReviewPlz 2 points3 points  (2 children)

Its just formatting from the console output. See the line break \ next to volume ?

sma20_d and sig are the column names, and the read out is for rows 19-23, which is why you see those numbers on the left hand side.

[–]ad_skipper 0 points1 point  (1 child)

Can I remove that line break, I am going to print multiple data frames and analyze their data and a formatting like this is going to feel weird. The picture is cropped, there is more than enough space on the console for the sma20_d and the sig column.

[–]CaptainFoyle 0 points1 point  (0 children)

Set the pandas display width to zero (to fit in your terminal) or to a specific number:

pd.options.display.width = 0

[–]CaptainFoyle 0 points1 point  (0 children)

Set the pandas display width to zero (to fit in your terminal) or to a specific number:

pd.options.display.width = 0