Skip to content

Instantly share code, notes, and snippets.

@PureMath86
Created November 1, 2017 06:28
Show Gist options
  • Save PureMath86/741d0eb3ee6ce0bc3eed6d2c934e3a84 to your computer and use it in GitHub Desktop.
Save PureMath86/741d0eb3ee6ce0bc3eed6d2c934e3a84 to your computer and use it in GitHub Desktop.
frame_clipboard
import pandas as pd
import pyperclip
import io
def frame_clipboard():
s = pyperclip.paste()
clip_df = pd.read_table(io.StringIO(s))
return clip_df
df = frame_clipboard()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment