vastorbit.VastFrame.info¶
- VastFrame.info() str¶
Displays information about the different VastFrame transformations.
- Returns:
information on the VastFrame modifications
- Return type:
str
Examples
Let’s begin by importing vastorbit.
import vastorbit as vo
Hint
By assigning an alias to
vastorbit, we mitigate the risk of code collisions with other libraries. This precaution is necessary because vastorbit uses commonly known function names like “average” and “median”, which can potentially lead to naming conflicts. The use of an alias ensures that the functions fromvastorbitare used as intended without interfering with functions from other libraries.Let us create a dummy dataset and check modifications:
vdf = vo.VastFrame({"val": [0, 10, 20]})
123valInteger1 0 2 10 3 20 Rows: 1-3 | Column: val | Type: integerSince the
VastFramejust got created, it will have no modifications. We can check:vdf.info()
Next we can add 10 to all the values:
vdf["val"] = 10 + vdf["val"]
123valInteger1 30 2 10 3 20 Rows: 1-3 | Column: val | Type: integerWe can check the modifications:
vdf.info()