Skip to content

Commit

Permalink
Merge pull request #1624 from CartoDB/remove_variable_limit_doc
Browse files Browse the repository at this point in the history
Remove maximum number of variables allowed for the enrichment as it's…
  • Loading branch information
Jesus89 authored Apr 28, 2020
2 parents 40a2628 + b2ceab9 commit dfd0bb7
Showing 1 changed file with 2 additions and 4 deletions.
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

0 comments on commit dfd0bb7

Please sign in to comment.