Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to store in parquet format using pandas

>>> df = pd.DataFrame(data={'col1': [1, 2], 'col2': [3, 4]})
>>> df.to_parquet('df.parquet.gzip', compression='gzip')  
>>> pd.read_parquet('df.parquet.gzip')  
   col1  col2
0     1     3
1     2     4
Comment

PREVIOUS NEXT
Code Example
Python :: sort a string in python 
Python :: converting int to binary python 
Python :: python pop element 
Python :: one-line for loop python 
Python :: enable debug mode flask 
Python :: python reserved keywords 
Python :: generate list of consecutive numbers 
Python :: wordle python 
Python :: import os 
Python :: sha512 python 
Python :: write a python program to find table of a number using while loop 
Python :: python list.peek 
Python :: python add up values in list 
Python :: plot size 
Python :: how to download instagram profile picture with the help of python 
Python :: how to connect wifi using python 
Python :: python comment multiple lines 
Python :: python classes 
Python :: kafka get last offset of topic python 
Python :: python ssh into server 
Python :: pandas drop column in dataframe 
Python :: 1. write a program to multiply two numbers using function python 
Python :: how to create numpy array using two vectors 
Python :: python spotify player 
Python :: youtube-dl python get file name 
Python :: python pynput space 
Python :: numpy combinations of 5 bits 
Python :: python list prime numbers 
Python :: delete dictionary key python 
Python :: openpyxl load file 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =