Introduction to Zoonyper’s Data Structures#
DataFrames constructed from the CSV files#
Project.classifications
is
the classifications DataFrame, and has all the functionality of a regular
pandas.DataFrame
:
project.classifications.head(2)
Project.subjects
is the subjects
DataFrame, and has the same kind of functionality
:
project.subjects.head(2)
Project.workflows
is the
pandas.DataFrame
representing the project’s workflows:
project.workflows.head(2)
Shortcuts to Column Summaries#
Project.workflow_ids
is a list
of all of the project’s workflow IDs:
project.workflow_ids
Project.inactive_workflow_ids
is a list of the project’s inactive workflow’s IDs:
project.inactive_workflow_ids
By using Project.workflow_ids
and zoonyper.project.Project.inactive_workflow_ids
, we can get the
active workflows by using:
set(project.workflow_ids) - set(project.inactive_workflow_ids)
Project.subject_sets
is a list
all of the project’s subject sets and corresponding subject IDs:
project.subject_sets
Project.subject_urls
is a list
of all of the project’s subjects and their corresponding URLs:
project.subject_urls