Comments (2)
In all transparency, this might be purely a PyCharm problem and that there is nothing Polars can do.
But it's an IDE that is used so widely (in particular in the professional world, with PyCharm Professional for Windows) that it's worth investigating IMHO.
I've also raised this issue (and another similar one concerning arithmetic calculations on pl.Series
) directly to PyCharm in parallel: https://youtrack.jetbrains.com/issue/PY-73306/Type-hints-fail-for-decorated-functions
from polars.
Hi, just as an update the main issue raised here was a problem with PyCharm, and is solved in their latest build.
The other issue is still present, but I suspect this is also a problem on their end.
series = pl.Series(values=[1, 2, 3])
(series - series.mean()).sum() # tooltip saying: Unresolved attribute reference 'sum' for class 'Decimal'
I'll try to get to the bottom of this with them and will close this issue myself if and when this is solved by their team.
from polars.
Related Issues (20)
- High memory usage when calculating variance? HOT 1
- write_csv ignores formatting when writing to io.StringIO() HOT 3
- `read_csv` raises ComputeError when filename contains "[" HOT 1
- Performance regression (particularly in q21 of the TPC-H benchmark, +60%) after specific commit HOT 1
- bug: plotting breaks when `axis` is passed to `alt.X` HOT 3
- `pl.Array` + `pl.lit` PanicException Cannot apply operation on arrays of different lengths HOT 7
- GPU accelerated Polars taking 4 times longer to SUM a column in 100m record CSV than regular CPU. Running in Jupyter Notebook HOT 6
- Filtering with pl.col is substantially (27x) slower than filtering with pl.Series HOT 3
- Ability to `sink` lazy datasets to `STDOUT` or to files
- Panicking with "Unreachable code" when passing a DataFrame into `DataFrame.drop` HOT 1
- Polars produce wrong result in streaming mode HOT 2
- Consider removing unnecessary projection for single key join followed by `.select(pl.len())` HOT 1
- Initializing a struct series with an array type field using Numpy arrays results in nulls
- `Series` constructor is not strict for nested lists
- `join` can be called with both `on=` and `left_on=`
- Casting negative or large values to Time causes panic HOT 2
- cross join should raise when `on` is provided HOT 1
- Implement min-max predicate pushdown optimisation through joins (from DuckDB)
- `df.write_excel` does not work with file objects HOT 3
- Broken API links in the user guide (404 page not found) + stale documentation example (fetch function) HOT 4
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 polars.