Comments (8)
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.
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.
same problem here :-(
TypeError: __new__() got an unexpected keyword argument end
from timeboard.
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.
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.
Fixed in timeboard 0.2.3. Now it is compatible with pandas 1.0.
from timeboard.
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.
You're welcome :)
from timeboard.
Related Issues (14)
- Finding out a portion of period HOT 1
- Hourly schedule for a weeks or months [QA] HOT 2
- Support for Python 3.8 HOT 2
- Availability Check
- Creating timeboard for current year months
- ImportError: cannot import name 'Iterable' from 'collections' HOT 1
- User holiday (Annual Leave) HOT 1
- Saving timeboard to DB
- How to make schedule for Teachers within a day HOT 1
- Working hours HOT 1
- Visualizing the time board HOT 2
- Future warnings HOT 2
- minutes is not working in timeboard.marker HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timeboard.