I'm trying this code but getting the following error
testDF = (eventsDF .groupBy("user_id") .pivot("event_name") .count("event_name"))
TypeError : _api() takes 1 positional argument but 2 were given
Please guide how to fix the error
Excited to expand your horizons with us? Click here to Register and begin your journey to success!
Already a member? Login and join your local regional user group ! If there isn’t one near you, fill out this form and we’ll create one for you to join!