Created
September 16, 2021 22:14
-
-
Save BexTuychiev/bc56f1351d959b6973de40b8a8b523f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
massive_df = pd.concat([tps.drop(["f1000", "f1001"], axis=1)] * 10) | |
>>> massive_df.shape | |
(9579190, 120) | |
memory_usage = massive_df.memory_usage(deep=True) | |
memory_usage_in_mbs = np.sum(memory_usage / 1024 ** 2) | |
>>> memory_usage_in_mbs | |
8742.604093551636 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment