擅长:python、mysql、java
<p>迟到:试试这个></p>
<pre><code>#pd: your pandas dataframe
base_filename = 'Values.txt'
with open(os.path.join(WorkingFolder, base_filename),'w') as outfile:
pd.to_string(outfile)
#Neatly allocate all columns and rows to a .txt file
</code></pre>