I am trying to use str.match() and i did use this function with my data. and its working very well. But I have a question, I want to save the rest of the data in another DataFrame, and then save it to_csv().
Any Idea about that. Thanks in advance.
Address = df[df['Address'].str.match('nan')]
Address = pd.DataFrame(Address)
Address.to_csv(r'nan_Address_df.csv',index = False, header=True)