Skip to content

Instantly share code, notes, and snippets.

@marufeuille
Last active February 12, 2020 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marufeuille/1f8d91be2270fb422b94f229be36ab26 to your computer and use it in GitHub Desktop.
Save marufeuille/1f8d91be2270fb422b94f229be36ab26 to your computer and use it in GitHub Desktop.
data = pd.read_csv("./day.csv")
for i in range(data.shape[0]):
contents = [list(zip(data.columns, map(lambda x: str(x), tuple(data.loc[i,:]))))]
put_logs(client, project, logstore, contents)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment