Module 10
pandas introduction
Data analysis with DataFrames.
Data analysis
pandas is a library for data analysis. Its main structure is the DataFrame: a table with rows and columns.
PythonA simple DataFrame.
import pandas as pd
df = pd.DataFrame({"gene": ["Tv01", "Tv02"], "length": [499, 300]})
print(df)→
Your task
Create a DataFrame
- Create a DataFrame with gene and length columns.