SpatioTemporal / STAREPandas

STAREpandas adds SpatioTemporal Adaptive Resolution Encoding (STARE) support to pandas DataFrames. https://starepandas.readthedocs.io/en/latest/
MIT License
5 stars 1 forks source link

read_pods gets podnames wrong #105

Closed michaelleerilee closed 2 years ago

michaelleerilee commented 2 years ago

In starepandas/starepandas/io/pod.py we have:

        for pod in pods:
            df = df.append(pandas.read_pickle(pod))
            if add_podname:
                df['pod'] = pod

Which is a "last one wins" error. The podname needs to be added before the new dataframe is appended.