Skip to content

Instantly share code, notes, and snippets.

@nickedes
Created August 26, 2015 13:06
Show Gist options
  • Save nickedes/4a53583b5085e4092531 to your computer and use it in GitHub Desktop.
Save nickedes/4a53583b5085e4092531 to your computer and use it in GitHub Desktop.
import pandas as pd
data = [1,2,3,4,5]
df = pd.DataFrame(data)
print(df.to_csv(index=False,header=False,line_terminator=','))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment