Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove maximum number of variables allowed for the enrichment as it's… #1624

Merged
merged 1 commit into from
Apr 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions cartoframes/data/observatory/enrichment/enrichment.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def enrich_points(self, dataframe, variables, geom_col=None, filters=None):
dataframe (pandas.DataFrame, geopandas.GeoDataFrame: a `DataFrame` instance to be enriched.
variables (:py:class:`Variable <cartoframes.data.observatory.Variable>`, list, str):
variable ID, slug or :obj:`Variable` instance or list of variable IDs, slugs
or :obj:`Variable` instances taken from the Data Observatory :obj:`Catalog`. The maximum number of
variables is 50.
or :obj:`Variable` instances taken from the Data Observatory :obj:`Catalog`.
geom_col (str, optional): string indicating the geometry column name in the source `DataFrame`.
filters (dict, optional): dictionary to filter results by variable values. As a key it receives the
variable id, and as value receives a SQL operator, for example: `{variable1.id: "> 30"}`. It works by
Expand Down Expand Up @@ -101,8 +100,7 @@ def enrich_polygons(self, dataframe, variables, geom_col=None, filters=None, agg
dataframe (pandas.DataFrame, geopandas.GeoDataFrame): a `DataFrame` instance to be enriched.
variables (:py:class:`Variable <cartoframes.data.observatory.Variable>`, list, str):
variable ID, slug or :obj:`Variable` instance or list of variable IDs, slugs
or :obj:`Variable` instances taken from the Data Observatory :obj:`Catalog`. The maximum number of
variables is 50.
or :obj:`Variable` instances taken from the Data Observatory :obj:`Catalog`.
geom_col (str, optional): string indicating the geometry column name in the source `DataFrame`.
filters (dict, optional): dictionary to filter results by variable values. As a key it receives the
variable id, and as value receives a SQL operator, for example: `{variable1.id: "> 30"}`. It works by
Expand Down