practical-data-science / gapandas4 Goto Github PK
View Code? Open in Web Editor NEWGAPandas4 is a Python package for querying the Google Analytics Data API for GA4 and displaying the results in a Pandas dataframe.
License: MIT License
GAPandas4 is a Python package for querying the Google Analytics Data API for GA4 and displaying the results in a Pandas dataframe.
License: MIT License
hi guys!
thank you for ur library.
it works great.
it could benefit a bit from test coverage and examples.
i actually cant find the example for passing filters to report configs
Number of sessions and New users are 25% if i run the code early in morning. Why it is happening? can you please help me out
calling gp.query with arguments
metrics=["conversions:load_lobby"]
seems it was auto-parsed from x: y into x[y] format
traceback:
/usr/bin/python3 /Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd.py --multiprocess --qt-support=auto --client 127.0.0.1 --port 64789 --file /Users/v0/Py/sidus/airflow-dag/main_ga_visitors.py
Unable to load extension pydevd_plugins.extensions.types.pydevd_plugin_pandas_types
Connected to pydev debugger (build 223.8617.48)
Traceback (most recent call last):
File "/Library/Python/3.8/site-packages/google/api_core/grpc_helpers.py", line 72, in error_remapped_callable
return callable_(*args, **kwargs)
File "/Library/Python/3.8/site-packages/grpc/_channel.py", line 1030, in call
return _end_unary_response_blocking(state, call, False, None)
File "/Library/Python/3.8/site-packages/grpc/_channel.py", line 910, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Metric names must only contain letters, numbers, or _. Received a metric name = conversions[click_play]"
debug_error_string = "UNKNOWN:Error received from peer ipv4:142.251.36.42:443 {created_time:"2023-08-21T11:50:19.239056+04:00", grpc_status:3, grpc_message:"Metric names must only contain letters, numbers, or _. Received a metric name = conversions[click_play]"}"
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Library/Python/3.8/site-packages/google/api_core/grpc_helpers.py", line 74, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.InvalidArgument: 400 Metric names must only contain letters, numbers, or _. Received a metric name = conversions[click_play.sidusheroes.com]
python-BaseException
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.