Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product Engineering Review: Mortgage_Calculator_Python #583

Open
chetan-hirapara opened this issue Apr 8, 2024 · 1 comment
Open

Product Engineering Review: Mortgage_Calculator_Python #583

chetan-hirapara opened this issue Apr 8, 2024 · 1 comment
Assignees
Labels
enhancement Adding graphs and improving output

Comments

@chetan-hirapara
Copy link
Collaborator

chetan-hirapara commented Apr 8, 2024

Reviewer 1 comments:

  • Use of pandas read_sql()
  • Use of langchain framework
  • We should look into using teradataml gen AI

Reviewer 1 suggestions:

  • Create teradataml Dataframe using either from_table() or from_query()

Reviewer 2 comments:

  • Use of pandas to read sql.
  • use of execute_sql() to create table.

Reviewer 2 suggestions:

  • Avoid db_drop_table in the beginning
  • Instead of executing query to create table, Either use pandas dataframe or csv to load the data to vantage. copy_to_sql()
    function helps handling table creation.
  • In secition 3.1, Avoid using pandas API call instead use DataFrame.from_query() method to examine the interest rate instead. Otherwise, use teradataml dataframe supported methods such as join and condition

@DallasBowden : PR

@chetan-hirapara
Copy link
Collaborator Author

Reviewer 1 comments:

  • Use of pandas read_sql() --- Thanks for suggestion, done
  • Use of langchain framework --- This is the core framework to work with gen AI
  • We should look into using teradataml gen AI --- Within teradataml, there are no such function like SQLAgent, memory, etc

Reviewer 1 suggestions:

  • Create teradataml Dataframe using either from_table() or from_query() --- Thanks for suggestion, done

Reviewer 2 comments:

  • Use of pandas to read sql. --- Thanks for suggestion, done
  • use of execute_sql() to create table. --- Thanks for suggestion, done

Reviewer 2 suggestions:

  • Avoid db_drop_table in the beginning --- Thanks for suggestion, done
  • Instead of executing query to create table, Either use pandas dataframe or csv to load the data to vantage. copy_to_sql()
    function helps handling table creation. --- Thanks for suggestion, done
  • In secition 3.1, Avoid using pandas API call instead use DataFrame.from_query() method to examine the interest rate instead. Otherwise, use teradataml dataframe supported methods such as join and condition --- Thanks for suggestion, done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding graphs and improving output
Projects
None yet
Development

No branches or pull requests

1 participant