danfojs icon indicating copy to clipboard operation
danfojs copied to clipboard

DataFrame.print() can't print the DataFrame correctly.

Open LastsForever opened this issue 3 years ago • 2 comments

Describe the bug DataFrame.print() can't print the DataFrame correctly.

Screenshots image image

Desktop (please complete the following information):

LastsForever avatar May 02 '22 01:05 LastsForever

Finally, I found that if the columns contain the keywordindex, the print method will make mistake, and even the loc method will have problem. If there is no index in the columns, everything is normal.

index in columns: image

no index: image

LastsForever avatar May 03 '22 06:05 LastsForever

Finally, I found that if the columns contain the keywordindex, the print method will make mistake, and even the loc method will have problem. If there is no index in the columns, everything is normal.

index in columns: image

no index: image

Nice catch. I will work on a fix, unless you're interested in working on this.

risenW avatar Jun 14 '22 15:06 risenW