zacqed opened a new issue, #13505:
URL: https://github.com/apache/arrow/issues/13505
iloc equivalent for selection by position and setting values?
```
import pyarrow as pa
import pandas as pd
df = pd.DataFrame({'year': [2020, 2022, 2019, 2021],
'n_legs': [2, 4, 5, 100],
'animals': ["Flamingo", "Horse", "Brittle stars", None]})
table = pa.Table.from_pandas(df)
```
`df.loc[df["animals"].isnull(), "animals"] = "new_value" # how do we perform
this in pyarrow?`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]