Skip to content

Instantly share code, notes, and snippets.

@feilipu
Forked from yu-hai-li/float.py
Last active October 16, 2023 11:23
Show Gist options
  • Save feilipu/ec339a754c2aa51ce06033244dcb6823 to your computer and use it in GitHub Desktop.
Save feilipu/ec339a754c2aa51ce06033244dcb6823 to your computer and use it in GitHub Desktop.
app_data_set = [['0.0', '2974676', '3.5'],
['0.0', '2161558', '4.5'],
['0.0', '2130805','4.5'],
['0.0', '1724546', '4.5'],
['0.0', '1126879', '4.0']]
for i, row in enumerate(app_data_set):
float_app_data_set = list(map(float, app_data_set[i]))
print(float_app_data_set)
@feilipu
Copy link
Author

feilipu commented Oct 16, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment