nexB / scancode-analyzer

scancode-results-analyzer
4 stars 2 forks source link

Inconsistencies in dataframe due to `chained_indexing` #24

Closed AyanSinhaMahapatra closed 3 years ago

AyanSinhaMahapatra commented 3 years ago

Docs : https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy

Group Location wasn't being added to the dataframe properly because of chained_indexing in the DataFrames (which handles different sizes of data differently even with the same code).