Last active
June 27, 2024 15:36
-
-
Save vinayak-mehta/e5949f7c2410a0e12f25d3682dc9e873 to your computer and use it in GitHub Desktop.
A jupyter notebook showing how Camelot can be used to extract tables from PDFs scraped from the IDSP website.
How can I manually change a value (cell) of the table? Is there a way to access and overwrite ? Thank you
There are two ways to manually edit the value of a cell. The first is by the at
keyword. df.at[index, 'column_name'] = new_value
is the way to update a cell. The second way is to use iat
keyword and this format is df.iat[row_index, column_index]
. The iat
method can be faster since there is no need to do a lookup.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I manually change a value (cell) of the table? Is there a way to access and overwrite ? Thank you