A
A
ArtiRam2022-01-26 23:35:44
Python
ArtiRam, 2022-01-26 23:35:44

How to remove quotes from csv?

Can you please tell me how to remove quotes from csv file?
61f1b06ccb5c7994051338.png
Those. from the entry "24009326", "3.48955036" make 24009326,3.48955036

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Leonid, 2022-01-27
@ArtiRam

You need to use the built-in functions float() and int()
float() converts a string to a float
int() ... to an integer
The string object has built-in methods that can help determine what type of data it can be converted to.
Read the basics:
https://docs.python.org/3/library/functions.html
https://docs.python.org/3/library/stdtypes.html

G
galaxy, 2022-01-26
@galaxy

Ctrl+H -> quote to nothing
What's Python got to do with it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question