Open PhD-GOAT opened 3 months ago
Hi, can you please provide more information on the problem? A screenshot of the error message to see in which line exactly the error occurred would already help a lot...
but data is in the form of Index(['acc_x', 'acc_y', 'acc_z'], dtype='object').
AttributeError: 'numpy.ndarray' object has no attribute 'index'
I don't understand why an error occurs even though that dataframe have an index.
sleep_results = bp.sleep.sleep_processing_pipeline.predict_pipeline_acceleration( data, sampling_rate=60)
The error appears when I use the biopsykit module. I'm curious as to why this happens even though I followed the dataframe guides uses.