Code Monkey home page Code Monkey logo

Comments (8)

mmamaev avatar mmamaev commented on August 27, 2024 1

Sorry guys, this is probably pandas that have changed their API. I will look into it soon. Meanwhile try to downgrade pandas to 0.24.

from timeboard.

btmartin721 avatar btmartin721 commented on August 27, 2024

Having the same exact issue. I tried using US.Weekly8x5() and tb.Timeboard using the examples provided in the user guide. It always gives me one of two errors:

TypeError: __new__() got an unexpected keyword argument start

or

TypeError: __new__() got an unexpected keyword argument end

Here's the code I used:

import timeboard as tb
weekly = tb.Organizer(marker='W', structure=[[1,1,1,1,1,0,0]])	
	clnd = tb.Timeboard(base_unit_freq='D', start='01 Oct 2017', end='12 Oct 2017', layout=weekly)

I've tried using Python 3.6 and 2.7 with no success. I think something in the package is broken.

from timeboard.

lotusflyer avatar lotusflyer commented on August 27, 2024

same problem here :-(

TypeError: __new__() got an unexpected keyword argument end

from timeboard.

btmartin721 avatar btmartin721 commented on August 27, 2024

Downgrading to pandas 0.24.2 worked for me. It now runs, though it displays some deprecation warnings.

Thanks for that suggestion.

-Bradley

from timeboard.

elpaisik avatar elpaisik commented on August 27, 2024

I have the same problem. The first issue is that the pandas.PeriodIndex class no longer supports 'start', 'periods' and 'end' parameters (see core.py line 227). Instead, pandas.period_range() should be used. I tried to fix this problem but subsequent errors occured which I was not able to fix.

from timeboard.

mmamaev avatar mmamaev commented on August 27, 2024

Fixed in timeboard 0.2.3. Now it is compatible with pandas 1.0.

from timeboard.

elpaisik avatar elpaisik commented on August 27, 2024

Fixed in timeboard 0.2.3. Now it is compatible with pandas 1.0.

Thanks a lot, it now works for me. As far as I can tell: Great Job!

from timeboard.

mmamaev avatar mmamaev commented on August 27, 2024

You're welcome :)

from timeboard.

Related Issues (14)

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.