From 55ed71bd2e6dbe5c0975391d8393cb9cfe9f3136 Mon Sep 17 00:00:00 2001 From: ExpandingMan Date: Wed, 14 Sep 2022 10:00:33 -0400 Subject: [PATCH 1/3] fix deprecation and possible faulty construction of pandas tables --- src/pywrap/PyPandasDataFrame.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pywrap/PyPandasDataFrame.jl b/src/pywrap/PyPandasDataFrame.jl index c177f566..0af4b136 100644 --- a/src/pywrap/PyPandasDataFrame.jl +++ b/src/pywrap/PyPandasDataFrame.jl @@ -102,6 +102,6 @@ function _columns(df, columnnames, columntypes) # output a table # TODO: realising columns to vectors could be done lazily with a different table type schema = Tables.Schema(colnames, coltypes) - coldict = Dict(k=>v for (k,v) in zip(colnames, columns)) + coldict = Tables.OrderedDict(k=>v for (k,v) in zip(colnames, columns)) Tables.DictColumnTable(schema, coldict) end From cf4191178275c1c8b09a7258dfca05d49b9c0672 Mon Sep 17 00:00:00 2001 From: ExpandingMan Date: Wed, 14 Sep 2022 10:01:03 -0400 Subject: [PATCH 2/3] bump version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index e7d6e6d8..cba7aac6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PythonCall" uuid = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d" authors = ["Christopher Doris "] -version = "0.9.6" +version = "0.9.7" [deps] CondaPkg = "992eb4ea-22a4-4c89-a5bb-47a3300528ab" From f32759f3534bd855c09561690c5d1d2995c3a6aa Mon Sep 17 00:00:00 2001 From: ExpandingMan Date: Wed, 14 Sep 2022 12:03:07 -0400 Subject: [PATCH 3/3] revert version bump --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index cba7aac6..e7d6e6d8 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PythonCall" uuid = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d" authors = ["Christopher Doris "] -version = "0.9.7" +version = "0.9.6" [deps] CondaPkg = "992eb4ea-22a4-4c89-a5bb-47a3300528ab"