![]() ![]() |
External Packages (page 17 of 38) |
We can create Series and DataFrames from lists, tuples, dictionaries, and numpy arrays. We can also create a DataFrame from delimited text files (i.e., my_df = pd.read_csv('employees.csv', sep='|')) and well-formed json files (i.e., my_df = pd.read_json('employees.json')). All rows in a Series must have the same data type similar to a field in a relational database.
