Description
sortValues seems inconvinient because it does reset the index and its hard to reindex it if I only have numbers...
The Index gets ignored too often in general for example:
Series.toJSON() or toCSV() only includes the values. This is inconvinient. There should be an option to not drop the index.
Pandas doesn't drop the index either.
Also is it possible to combine the functions valueCounts() and sortValues, just like pandas does? The missing index when passing a Series makes further calculations unnecessarily complicated..
If it is intended to leave a passed Series 1 dimensional there should be atleast a method that converts a Series to a Dataframe by adding a new Index. This is done by reindex() in pandas, but in danfojs this only seems to drop the current index and give it new values.