Configuration Options
This section describes all user configurable options available on DataFrame/Series creation.
Parameter
Description
Examples of setting configs
Add a DataFrame header
const data = {
"Name": ["Apples", "Mango", "Banana", "Pear"],
"Count": [21, 5, 30, 10],
"Price": [200, 300, 40, 250]
};
const df = new DataFrame(data, {
config: {
tableDisplayConfig: {
header: {
alignment: 'center',
content: 'THE HEADER\nThis is the table about something',
},
},
}
});
df.print()Configure column size and display format of DataFrame
Configure the number of rows displayed when print is called
Last updated