Path Location within computer where we want to store Text file ...

Example 2 ( write DataFrame value to text (.txt) file using to_csv( ) ):- Note :- 1. If DataFrame will contain NaN values then same NaN value will be represented by empty space in Text file. 2. By default every value will be separated by Comma ( , ) in Text file. also. 3. Text file can be opened by any Text Editor like Notepad , Notepad++ etc. ................
................