You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When merging the synthetic data with the empirical data, the merge function does not work as shown because the uid column is acting as the dataframe's index by default, and the nunique function does not work on the index column. I was able to bypass this by resetting the index before using groupby and agg, and the head of the dataframe changed slightly but the following plot did not change meaningfully.
Also when merging the synthetic data with the empirical the documentation states that it is data for Mexico, but it should be for Beijing, correct?
Is the Mexican data used for the remainder of the tutorial available for download? It looks like the CSV used is produced in one of the example notebooks (mobilkit_population_per_area.ipynb) but when I follow the trail I cannot find the original input data ("/data/dataHFLB/mexico/20171*/part-*.csv.gz"). If the input data is available, the tutorial should tell users how to create the CSV, and if the input data is not available for download, the tutorial should state that.
@levisweetbreu thanks a lot for your feedback on this!
Below our actions:
in 8d65cf9 we fixed that issue in the mobilkit_tutorial.ipynb, we also moved to newer Dask and Pandas versions, which required a fix in the temporal.py submodule.
@takayabe0505 and @ubi15 I have reviewed mobilkit_tutorial.ipynb to assess the functionality of the package and I have a few thoughts:
merge
function does not work as shown because theuid
column is acting as the dataframe's index by default, and thenunique
function does not work on the index column. I was able to bypass this by resetting the index before usinggroupby
andagg
, and the head of the dataframe changed slightly but the following plot did not change meaningfully.openjournals/joss-reviews#5201
The text was updated successfully, but these errors were encountered: