Giter VIP home page Giter VIP logo

Comments (4)

stijnh avatar stijnh commented on August 10, 2024

Hi

I am wondering how possible is to manipulate (like in a pandas table)

Manipulating the documents themselves is not possible. You can, however, manipulate a DocumentSet which contains a list of documents by, for example, calculating the intersection, union, or differen between sets (see DocumentSet)

and save a loaded DocumentSet such as .bib, ieee_csv.

Saving a document set is not possible, but it is a highly requested feature. There are open issues for saving a document set as a Bibtex file or RIS file:

Of you interesting in looking into these, we welcome all relevant pull requests!

from litstudy.

FlashFFF avatar FlashFFF commented on August 10, 2024

I was looking for this as well. A possible workaround might be to just Export the documentset to a csv and later Reimport it if needed.
Or is there any other way to not lose my progress everytime I shut down my machine? I mean, there must be a database saved somewhere, or is all this data sitting in the memory?

from litstudy.

FlashFFF avatar FlashFFF commented on August 10, 2024

Which fields are called from the api upon refine? Is it all the ones from the class litstudy.types.Document?

from litstudy.

okoknik avatar okoknik commented on August 10, 2024

I was looking for this as well. A possible workaround might be to just Export the documentset to a csv and later Reimport it if needed. Or is there any other way to not lose my progress everytime I shut down my machine? I mean, there must be a database saved somewhere, or is all this data sitting in the memory?

Alternatively you could pickle the document set which takes less space than a csv. After that you can reload it whenever you would like to perform further analysis on the set. Just use these code snippets:

to save:
with open("data.pickle", "wb") as f:
pickle.dump(data, f, protocol=pickle.HIGHEST_PROTOCOL)
to load:
with open("data.pickle", "rb") as f:
data = pickle.load(f)

from litstudy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.