Comments (7)
kotori@elbanco:~$ /opt/kotori/bin/python
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
>>> pandas.__version__
'1.2.5'
from kotori.
- pandas-dev/pandas#27385 (comment) tells us it may be an issue with ggplot, see yhat/ggpy#662.
- Nuitka/Nuitka#831 (comment) may have a different solution.
from kotori.
It looks like yhat/ggpy#662 (comment) summarizes the solution.
The correct way should be:
- Change
pandas.tslib.Timestamp
topandas.Timestamp
. - Change
from pandas.lib import Timestamp
tofrom pandas import Timestamp
.
from kotori.
kotori@elbanco:~$ /opt/kotori/bin/python
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ggplot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/kotori/lib/python3.9/site-packages/ggplot/__init__.py", line 19, in <module>
from .geoms import geom_area, geom_blank, geom_boxplot, geom_line, geom_point, geom_jitter, geom_histogram, geom_density, geom_hline, geom_vline, geom_bar, geom_abline, geom_tile, geom_rect, geom_bin2d, geom_step, geom_text, geom_path, geom_ribbon, geom_now_its_art, geom_violin, geom_errorbar, geom_polygon
File "/opt/kotori/lib/python3.9/site-packages/ggplot/geoms/__init__.py", line 1, in <module>
from .geom_abline import geom_abline
File "/opt/kotori/lib/python3.9/site-packages/ggplot/geoms/geom_abline.py", line 1, in <module>
from .geom import geom
File "/opt/kotori/lib/python3.9/site-packages/ggplot/geoms/geom.py", line 3, in <module>
from ..ggplot import ggplot
File "/opt/kotori/lib/python3.9/site-packages/ggplot/ggplot.py", line 13, in <module>
from .aes import aes
File "/opt/kotori/lib/python3.9/site-packages/ggplot/aes.py", line 11, in <module>
from . import utils
File "/opt/kotori/lib/python3.9/site-packages/ggplot/utils.py", line 81, in <module>
pd.tslib.Timestamp,
File "/opt/kotori/lib/python3.9/site-packages/pandas/__init__.py", line 244, in __getattr__
raise AttributeError(f"module 'pandas' has no attribute '{name}'")
AttributeError: module 'pandas' has no attribute 'tslib'
kotori@elbanco:~$ cat /opt/kotori/lib/python3.9/site-packages/ggplot/__init__.py | grep version
__version__ = '0.11.5'
from kotori.
It looks like there is no newer release of ggplot available. The most recent one is 0.11.5, released on Sep 29, 2016.
-- https://pypi.org/project/ggplot/
from kotori.
At yhat/ggpy#662 (comment), @AAAlex-123 suggests to pip install plotnine
. Maybe it is a drop-in replacement / successor package?
-- https://pypi.org/project/plotnine/
from kotori.
We fixed it on behalf of GH-147.
from kotori.
Related Issues (20)
- docker-compose up is taking very long HOT 2
- Video tutorial HOT 1
- Panels are not updated on instant dashboards after update to Grafana 9.3.1 and Kotori 0.27.0 HOT 1
- Support new devices for DAQ-SIG
- Add ISEMS project to gallery
- Add "Well Depth Monitor" to project gallery
- Grafana: Adjust a few integration details
- Error channel reports `'NoneType' object has no attribute 'endswith'`
- Docker is sunsetting Free Team organizations HOT 5
- [Proposal] Add a generic device-based addressing scheme for "WAN" networks HOT 1
- Modernize firmware builder to use PlatformIO
- bunch ยป munch ยป benedict
- Support FIWARE NGSI-LD, NGSIv2, and Ultralight 2.0 protocols
- Support Sparkplug MQTT protocol HOT 2
- Make plumbing less opinionated
- Receiving telemetry data via UDP HOT 1
- Support for InfluxDB 2.x HOT 7
- Support receiving data via AMQP
- Problem when using unicode characters in channel name or field name
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 kotori.