Oluwakemi Farinde
Oluwakemi Farinde

Reputation: 1

Am i to install a package on Pycharm to enable me use pd.read_clipboard() function?

I am trying to use few lines of a data online in pycharm. i copied the lines i needed, went to pycharm

import pandas as pd
from pandas import Series, DataFrame

df = pd.read_clipboard()
print(df)

Output :

line 2872, in _alert_malformed
    raise ParserError(msg) pandas.errors.ParserError: Expected 4 fields in line 4, saw 5. 
Error could possibly be due to quotes being ignored when a multi-char delimiter is used.

Upvotes: 0

Views: 37

Answers (0)

Related Questions