'how to split dataframe into multiple dataframes on basis of certain criteria
this is a picture of my datatable enter image description here
I want to know how to split this Datatable at all those points where the "long" column is equal to zero. I tried using the following code: dfnew=np.split(result,np.where(df['long']==0)) This above code didnot work.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
