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

Change type #3

Closed
naveen521kk opened this issue Jun 8, 2020 · 4 comments
Closed

Change type #3

naveen521kk opened this issue Jun 8, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@naveen521kk
Copy link
Collaborator

[sg.Text("AGE:"), sg.Input(key="AGE")],

In these lines age is stored as STR. Change it to Number. I found it difficult while converting to MySql.

@naveen521kk naveen521kk added the bug Something isn't working label Jun 8, 2020
@naveen521kk
Copy link
Collaborator Author

Or, I should write a function to convert it while writing to Database?

@Aathish04
Copy link
Owner

Or, I should write a function to convert it while writing to Database?

In the CSV file, the data is stored as an Integer and not a string. Where are you reading the data from?

@Aathish04
Copy link
Owner

The data also has lists etc in it, so, I could make those appear as lists, but they will get converted to strings when written to the CSV.

@naveen521kk
Copy link
Collaborator Author

OK, all are stored as string in CSV file. I am checking using a function so it is int or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants