Skip to content

Commit

Permalink
refactor: remove double import
Browse files Browse the repository at this point in the history
Release-As: 8.19.0
  • Loading branch information
jsolaas committed Jul 4, 2024
1 parent 590d076 commit 60cf1c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libecalc/infrastructure/file_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from typing import IO, Dict, List, Protocol, TextIO, Tuple, Union

import numpy as np
import pandas
import pandas as pd

from libecalc.common.errors.exceptions import (
Expand Down Expand Up @@ -428,7 +427,7 @@ def _dataframe_to_resource(df: pd.DataFrame, validate_headers: bool = True) -> R
)


def read_csv(csv_data: Union[str, TextIO, BytesIO]) -> pandas.DataFrame:
def read_csv(csv_data: Union[str, TextIO, BytesIO]) -> pd.DataFrame:
"""Wrapper of pandas read csv function
Settings used:
Expand Down

0 comments on commit 60cf1c6

Please sign in to comment.