Pandas is Python library that is utilized to work with a set of data. Pandas has function to analyze, clean, explore and manipulate the data.
<aside> 💡 The name of “Panda” has reference to “Data Panel”, and “Python Data Analysis” that is created by Wes McKinney in 2008.
</aside>
<aside> 💡 Panda can also delete line that is irrelevant or consist of false value such as empty or NULL. It is called by cleaning data.
</aside>
import pandas as pd
mydataset = {
'cars': ["BMW", "Volvo", "Ford"],
'passings': [3, 7, 2]
}
myvar = pd.DataFrame(mydataset)
print(myvar)
cars passings
0 BMW 3
1 Volvo 7
2 Ford 2