Skip to content
Advertisement

Tag: dataframe

‘ValueError: too many values to unpack (expected 10)’ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 months ago. Improve this question I am working on a self-learning project on AIS ship tracking, and the following line of code: is giving me the following error: What should

Similar to pivot table in Python

Here is a dataframe data_1. I want to make this data_1 as follows: I tried pivot_table ,but the output is not the same as I expected. Moreover, I need to save the data_1 as csv file, but the there are no columns id and date in the csv file that I made. Is there any method to change the data_1

Advertisement