Comments (2)
Hi @Kimiko00,
Are you using Apache Spark 3.3?
It looks like the sql_ctx
attribute was finally deprecated from the GroupedData
class when 3.3 was released.
It used to be like this:
def __init__(self, jgd, df):
self._jgd = jgd
self._df = df
self.sql_ctx = df.sql_ctx
And now it is like this:
def __init__(self, jgd: JavaObject, df: DataFrame):
self._jgd = jgd
self._df = df
self.session: SparkSession = df.sparkSession
HandySpark was built for Apache Spark 2.x, and unfortunately some functionalities may not work well (or at all!) under Apache 3.x.
This particular error, though, should go away if you downgrade to Apache Spark 3.2 (the last version still using sql_ctx
).
Best,
Daniel
from handyspark.
thank you so much for the help, i'll go downgrade the Apache Spark version
from handyspark.
Related Issues (20)
- SyntaxError: only named arguments may follow *expression when use python2 HOT 1
- Access to filter method in handyspark API HOT 2
- how to get get bins and counts instead of a plot HOT 5
- How to compute the median value of a column HOT 1
- koalas vs handyspark HOT 2
- need to have inline plots visuals on zeppelin ..
- Error: only named arguments may follow *expression HOT 1
- Boxplot X label rotation HOT 1
- remove pyspark dependency
- When column is of type int, histogram acts different from pandas dataframe
- pyqt4 error
- Request Python2.6.6 version HOT 1
- Confusion martrix not working with DataBricks 7.4 ML level of spark HOT 1
- boxplot is failing HOT 1
- tukey outliers fails
- Use of Mahalanobis distance for outlier detection
- getMetricsByThreshold is failing HOT 1
- Request for new feature: Quantile based discretization: pandas.qcut() HOT 1
- Options for hist() plot HOT 2
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 handyspark.