Created
November 1, 2017 06:28
-
-
Save PureMath86/741d0eb3ee6ce0bc3eed6d2c934e3a84 to your computer and use it in GitHub Desktop.
frame_clipboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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