Dataframe - How to keep limited number of rows and remove the rest

前端 未结 0 1303
说谎
说谎 2021-01-05 04:42

There is a Dataframe like this:

df = pd.DataFrame(columns=[\'id\', \'color\', \'type\'])

And the table is like this:

+-----+--         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题