Glossary

Choosing a data structure:

Homogeneous numerical data -> NumPy array - Tabular data with mixed types -> pandas DataFrame - Sparse data (mostly zeros) -> scipy.sparse - Key-value pairs -> Python dict

Learn More

Related Terms