Skip to content

Commit c7f6e72

Browse files
committed
Update readkuruczdata.py
1 parent 8ba15f5 commit c7f6e72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

artisatomic/readkuruczdata.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from pathlib import Path
44

55
import numpy as np
6-
import pandas as pd
76
import polars as pl
87

98
import artisatomic
@@ -65,6 +64,8 @@ def parse_gfall(fname: str) -> pl.LazyFrame:
6564

6665
field_widths = list(map(int, re.sub(r"\.\d+", "", type_match.sub("", gfall_fortran_format)).split(",")))
6766

67+
import pandas as pd
68+
6869
gfall = pl.from_pandas(
6970
pd.read_fwf(
7071
fname,

0 commit comments

Comments
 (0)