From b2ceab96ae70da35704f8aaa626f426ae5275cf0 Mon Sep 17 00:00:00 2001 From: cmongut Date: Mon, 27 Apr 2020 19:23:51 +0200 Subject: [PATCH] Remove maximum number of variables allowed for the enrichment as it's not true anymore. --- cartoframes/data/observatory/enrichment/enrichment.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cartoframes/data/observatory/enrichment/enrichment.py b/cartoframes/data/observatory/enrichment/enrichment.py index 75f246f07..cfcfa4dc8 100644 --- a/cartoframes/data/observatory/enrichment/enrichment.py +++ b/cartoframes/data/observatory/enrichment/enrichment.py @@ -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 `, 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 @@ -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 `, 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