Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output recovery #8

Open
Bhaney44 opened this issue Mar 6, 2019 · 1 comment
Open

Output recovery #8

Bhaney44 opened this issue Mar 6, 2019 · 1 comment

Comments

@Bhaney44
Copy link

Bhaney44 commented Mar 6, 2019

screen shot 2019-03-06 at 2 43 09 pm

I am unable to recover the output of the code:

pypatent.Search('rocket', results_limit=2).as_dataframe()

The function returns the information - but I want to collect it in a separate file. How can I gather the information?

Similarly, I am unable to recover the output of the code:

pypatent.Search('rocket', results_limit=2).as_list()

The function returns a box 'Squeeze Text' which I can open, but it stalls Idle. And, I am unable to right click the box to copy it. Ultimately I am trying to get the return results from the search in a file. Any advice would be appreciated.

@lixinf
Copy link

lixinf commented Nov 24, 2019

df = pypatent.Search('rocket', results_limit=2).as_dataframe()
df.to_csv(r'c:\temp\xxxx.csv')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants