i deleted a dir name python 3.8 in usr/lib and my $path are changed

**[email protected]:~$**gnome-terminal Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Fatal Python error: initfsencoding: Unable to get the locale encoding ModuleNotFoundError: No module named ‘encodings’ Current thread 0x00007f2eacdcb740 (most recent call first): Aborted (core dumped) [email protected]:~$ my ubuntu version is 19.10 some other application also stopped working…

Details

Write large pandas dataframe as parquet with pyarrow

I’m trying to write a large pandas dataframe (shape 4247×10) Nothing special, just using next code: df_base = read_from_google_storage() df_base.to_parquet(courses.CORE_PATH, engine=’pyarrow’, compression=’gzip’, partition_cols=None) I unsuccessfully tried to use different compressions, different partition_cols but fails anyway. I mentioned It works fine with small dataframes (1000×10<) and it also works when I’m debugging and leave it enough…

Details