Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read value from a CSV
#2
If you want to read a specific cell you can use pandas,

example reads cell in row 2 column 0

import pandas as pd

df = pd.read_csv('csv_prova.csv', delimiter=';')

print(df.iat[2,0])
martinmistere likes this post
Reply


Messages In This Thread
Read value from a CSV - by martinmistere - Jun-01-2022, 02:50 PM
RE: Read value from a CSV - by Axel_Erfurt - Jun-01-2022, 07:40 PM
RE: Read value from a CSV - by Pedroski55 - Jun-04-2022, 10:48 PM
RE: Read value from a CSV - by martinmistere - Jun-06-2022, 02:24 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020