fafbseg.flywire.fetch_edit_history¶
-
fafbseg.flywire.
fetch_edit_history
(x, dataset='production', progress=True, max_threads=4)[source]¶ Fetch edit history for given neuron(s).
- Parameters
x (int | iterable) –
dataset (str | CloudVolume) –
- Against which flywire dataset to query::
”production” (current production dataset, fly_v31)
”sandbox” (i.e. fly_v26)
progress (bool) – If True, show progress bar.
max_threads (int) – Max number of parallel requests to server.
- Returns
- Return type
pandas.DataFrame
Examples
>>> from fafbseg import flywire >>> # Fetch edits >>> edits = flywire.fetch_edit_history(720575940621039145) >>> # Group by user >>> edits.groupby('user_name').size() user_name Claire McKellar 47 Jay Gager 4 Sandeep Kumar 1 Sarah Morejohn 6 dtype: int64