Skip to content

Commit

Permalink
Don't copy the dataframe
Browse files Browse the repository at this point in the history
  • Loading branch information
olejandro committed Mar 15, 2024
1 parent 4246cac commit f6a0d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xl2times/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def apply_composite_tag(table: datatypes.EmbeddedXlTable) -> datatypes.EmbeddedX
"""
if table.defaults:
varname = table.defaults
df = table.dataframe.copy()
df = table.dataframe
if "attribute" in df.columns:
df["attribute"] = df["attribute"].fillna(varname)
else:
Expand Down

0 comments on commit f6a0d87

Please sign in to comment.