How to check if groups of data are connected in python

前端 未结 0 1875
灰色年华
灰色年华 2021-02-18 19:39

Imagine we have a data set like this:

import pandas as pd
import numpy as np

df = pd.DataFrame({\'ID\':[1,1,1,2,2,2,3,3,3,4,4,4], \'Number\':[234, 43, 455, 112,          


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