mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Minor fix
This commit is contained in:
@@ -129,7 +129,7 @@ class IfcCsv:
|
|||||||
df = self.export_pd()
|
df = self.export_pd()
|
||||||
for col_index, col in enumerate(df.columns):
|
for col_index, col in enumerate(df.columns):
|
||||||
# Assuming the first row of the table contains headers
|
# Assuming the first row of the table contains headers
|
||||||
header_cell = first_table.getElementsByType(TableRow)[0].getElementsByType(TableCell)[col_index]
|
header_cell = self.get_col(first_table.getElementsByType(TableRow)[0], col_index)
|
||||||
self.set_cell_value(header_cell, col)
|
self.set_cell_value(header_cell, col)
|
||||||
|
|
||||||
# Replace existing table data with data from DataFrame
|
# Replace existing table data with data from DataFrame
|
||||||
|
|||||||
Reference in New Issue
Block a user