To install the cbsodata Python package, perform the following steps:
- We can use one of the following commands:
conda install cbsodata pip install cbsodata
For more detailed instructions about how to install the Python package, please see Chapter 6, Managing Packages:
- The next program shows one example of using the package:
import pandas as pd import cbsodata as cb name='82070ENG' data = pd.DataFrame(cb.get_data(name)) print(data.head()) info=cb.get_info(name) print(info['Title'])
- The corresponding output is shown in the following screenshot:
The last line in the screenshot gives the name ...