Aba=abalone. Loc [abalone [' height '& lt;, 0.4:]]
DataPlot (aba)
Code to the abalone data set height is greater than or equal to 0.4 data excluding
But an error TypeError: '& lt; 'not supported between the instances of' STR 'and' int '
Floating point Numbers should not be compared with less than the number,
But it can normal execution code the author is not an error,
Pray god give directions
CodePudding user response:
Aba=abalone. Loc [abalone [' height '] <0.4] tryCodePudding user response:
Aba=abalone. Loc [abalone [' height '] <0.4, :)