Skip to content

Commit

Permalink
Merge pull request #1160 from NREL-Sienna/jd/fix_csv_file_permission
Browse files Browse the repository at this point in the history
change implementation of read dataframe
  • Loading branch information
jd-lara authored Oct 11, 2024
2 parents a0626bb + 31f1a6b commit 5863e9e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/file_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ end
Return a DataFrame from a CSV file.
"""
function read_dataframe(filename::AbstractString)
open(filename, "r") do io
DataFrames.DataFrame(CSV.File(io))
end
return CSV.read(filename, DataFrames.DataFrame)
end

"""
Expand Down

0 comments on commit 5863e9e

Please sign in to comment.