grai_source_flat_file
loader

get_file_name

def get_file_name(file_name: str) -> str

Arguments:

file_name (str):

Returns:

load_file

def load_file(file_name: str) -> pd.DataFrame

Arguments:

file_name (str):

Returns:

map_pandas_types

def map_pandas_types(dtype) -> str

Arguments:

dtype:

Returns:

build_column

def build_column(data: pd.Series, namespace: str, table_name: str) -> Column

Arguments:

data (pd.Series): namespace (str): table_name (str):

Returns:

column_builder

def column_builder(namespace: str,
                   table_name: str) -> Callable[[pd.Series], Column]

Arguments:

namespace (str): table_name (str):

Returns:

table_builder

def table_builder(namespace: str, table_name: str,
                  file_location: str) -> Table

Arguments:

namespace (str): table_name (str): file_location (str):

Returns:

build_nodes_and_edges

def build_nodes_and_edges(
        file_name: str,
        namespace: str) -> Tuple[List[Union[Table, Column]], List[Edge]]

Arguments:

file_name (str): namespace (str):

Returns: