Coder Social home page Coder Social logo

Comments (3)

OnnoEbbens avatar OnnoEbbens commented on June 29, 2024

I agree with you completely on the io structure.

Additionally I restructured the to_collection_dict method of the Obs class. Previously this method returned the meta dictionary of every Obs instance. Now it returns a dictionary with all the registered attributes and the values of an Obs instance. I think this works more intuitive when using the ObsCollection.from_list() method. However this may break some stuff. Easiest way to fix it is to call the add_meta_to_df method of an ObsCollection to add data manually from the meta dictionary of an Obs object.

from hydropandas.

dbrakenhoff avatar dbrakenhoff commented on June 29, 2024

That seems to make sense, to only use the registered attributes and leave the Obs metadata attributes alone. This only breaks things where something in metadata was assumed to be in the ObsCollection columns right?

And cool, I'll see if I can get started on restructuring IO methods next week!

from hydropandas.

dbrakenhoff avatar dbrakenhoff commented on June 29, 2024

Closed by #11

from hydropandas.

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.