Monday 30 December 2019

python - Sorting in pandas for large datasets

I would like to sort my data by a given column, specifically p-values. However, the issue is that I am not able to load my entire data into memory. Thus, the following doesn't work or rather works for only small datasets.



data = data.sort(columns=["P_VALUE"], ascending=True, axis=0)


Is there a quick way to sort my data by a given column that only takes chunks into account and doesn't require loading entire datasets in memory?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...