The aim of this playbook🏁 is to copy pandas dataframe to clipboard quickly. I import a csv first, select columns that I need and copy quickly to clipboard → and paste into a Zendesk ticket.
- Install pyperclip · PyPI
import pandas as pd
import pyperclip as clip
df = pd.read_csv(".\\foo.csv", usecols=[0,3,4,5])
- Paste into ZD ticket