Skip to content

Commit 323f194

Browse files
authored
Merge pull request #195 from neo4j/case-insensitive-size-check
Let size check be case insensitive in `from_dfs`
2 parents 8561d63 + 870d0b2 commit 323f194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-wrapper/src/neo4j_viz/pandas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def _parse_nodes(
7474
has_size = True
7575
nodes = []
7676
for node_df in node_dfs_iter:
77-
has_size &= "size" in node_df.columns
77+
has_size &= "size" in [c.lower() for c in node_df.columns]
7878
for _, row in node_df.iterrows():
7979
if dropna:
8080
row = row.dropna(inplace=False)

0 commit comments

Comments
 (0)