@rock_bt wrote:
Hey All,
Can anyone help me to know why data value(No. of rows) is less after merging, and how i can get the all data of GEN_3 with merge one column from P_List.
Note: In both the file one "Key"column is there.Input: GEN_3= pd.read_csv("~/Dec.csv",encoding="iso-8859-1") P_List = pd.read_csv("~/P_List.csv",encoding="iso-8859-1") print(GEN_3.shape) GEN_Mer = pd.merge(GEN_3,P_List) print(GEN_Mer.shape) Output: (442155, 8) (377761, 9)
Thank You
Posts: 2
Participants: 2