Skip to content

Instantly share code, notes, and snippets.

@titaneric
Last active October 24, 2019 03:19
Show Gist options
  • Save titaneric/bb1210b04ddb66ecf90bd78849c1b555 to your computer and use it in GitHub Desktop.
Save titaneric/bb1210b04ddb66ecf90bd78849c1b555 to your computer and use it in GitHub Desktop.
PTT for @ctr1
Jan 2 07:50:41 clftp1 ftpd[14459]: NOOP
Jan 2 07:50:41 clftp1 ftpd[14459]: CWD //MG11T36.1
Jan 2 07:50:41 clftp1 ftpd[14459]: PORT
Jan 2 07:50:41 clftp1 ftpd[14459]: LIST
#!/usr/bin/env python
# coding: utf-8
# In[1]:
import pandas as pd
# In[4]:
header = "month day time c1 c2 c3 c4".split()
# In[6]:
header
# In[16]:
df = pd.read_csv("test.log", sep="\s+", names=header, header=None)
# In[17]:
df.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment