I have the below dataframe that includes file number field and departements where each file number is assign to one or more departments and the number (1-0-99) represent the status of the file like
- 1: mean the task is done
- 0: the task is pending
- 99: the department has no access to the file
df=pd.DataFrame({'file':[1205,2897,1171,1322,4312,2211,1242,52,443,111],
'finance':[1,99,0,0,1,99,1,0,1,99],
'IT':[1,99,0,1,99,1,0,0,99,0],
'marketing':[1,1,0,99,1,99,1,1,0,1]})
file finance IT marketing
0 1205 1 1 1
1 2897 99 99 1
2 1171 0 0 0
3 1322 0 1 99
4 4312 1 99 1
5 2211 99 1 99
6 1242 1 0 1
7 52 0 0 1
8 443 1 99 0
9 111 99 0 1
what i am asking is it possible to visualize the network of these files and departments using network graph??
where the expected result is :
- node 1 file number 1205 is connected to the three department and all the required tasks are done
- node 2 file number 2897 is connected to marketing dept
- node 3 file number 1171 is connected to the three department but the tasks still pending.
