79485905

Date: 2025-03-05 08:58:14
Score: 3.5
Natty:
Report link

Shouldn't you use a series instead of a dataFrame for the y parameter?

y = pd.Series([0, 1, 0, 1, 0, 1]) 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Tommaso_