Print the number of duplicated entries and remove them if needed. The function tests for all duplicated columns (contrary to findduplicatedflows() which looks only for some columns). This might be an issue if 2 flows have duplicated reportercode, partnercode, productcode, flow, period but their quantity column is different.
1 |
dtf |
a dataframe contiaining trade flows, |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.