Questions tagged [feather]

Feather is a file format for storing data frames. It allows fast data exchange between Python and R.

147 questions
0
votes
1 answer

R write in feather format to byte vector

In R, how can a data.frame be written to an in-memory raw byte vector in the feather format? The arrow package has a write_feather function in which the destination can be an BufferedOutputStream, but the documentation doesn’t describe how to create…
Ramón J Romero y Vigil
  • 17,373
  • 7
  • 77
  • 125
0
votes
3 answers

How I can use React Native vector icons from different directory inside same component?

import Icon from 'react-native-vector-icons/Feather'; import Icon from 'react-native-vector-icons/Ionicons'; I want to use icons both from 'react-native-vector-icons/Feather' and 'react-native-vector-icons/Ionicons' inside same component. But…
0
votes
1 answer

Can't get Adafruit MusicMaker and Ethernet to work at the same time

Working on an IoT project. Environment: Adafruit Feather M4 Express Adafruit MusicMaker FeatherWing (amplified, this is a VS1053 at heart) Silicognition PoE FeatherWing (electrically compatible with the Adafruit Ethernet FeatherWing) PlatformIO…
David Patterson
  • 1,780
  • 3
  • 17
  • 40
0
votes
1 answer

Count Lines, grep, head, and tail inside Feather Files

Setup: I am contemplating switching from writing large (~20GB) data files with csv to feather format, since I have plenty of storage space and the extra speed is more important. One thing I like about csv files is that at the command line, I can do…
Adrian Keister
  • 842
  • 3
  • 15
  • 33
0
votes
1 answer

Is there a way to handle dtypes of pandas.DataFrame in rows and not columns?

Big Data file formats like parquet, feather and hdf5 are able to work with a columnar oriented table to accelerate the speed of reading columns. In my use case I would like to switch from netcdf4 files to a feather file format because I can read…
dl.meteo
  • 1,658
  • 15
  • 25
0
votes
0 answers

can't open ftr file in python

I want to open a feather file in python, however below 2 approaches both not working. Please help me. Thanks in advance! 1. py.read_feather import pandas as pd houses_rawdata = pd.read_feather('test_file.ftr') outputs: TypeError: read_feather() got…
OwenZ
  • 11
0
votes
2 answers

Make feather icon and text vertically aligned to the middle

Code to my HTML page - https://jsfiddle.net/ghemachandra94/5rfymwgc/4/ I am trying to align the text beside the icon to middle of the icon, but no luck with the styles display: flex and/or vertical-align: middle Need help in getting both of them…
0
votes
0 answers

RDS file to feather: Error: `x` must be a data frame

I've imported an *.rds file via data = readRDS("file.rds"). Now I am trying to save the matrices as *.feather files. I tried write_feather("test.feather", data[1986]) which returns Error: x must be a data frame. However,…
Stücke
  • 868
  • 3
  • 14
  • 41
0
votes
1 answer

pandas: preserve dtypes saved to feather format

My understanding is that the feather format's advantage is that it preserves types. So I expected that the object dtype of variable state would be preserved, but it's not. Why? Is there a way around this? import sys import pandas from pandas import…
PatrickT
  • 10,037
  • 9
  • 76
  • 111
0
votes
1 answer

Caching a large data structure in python across instances while maintaining types

I'm looking to use a distributed cache in python. I have a fastApi application and wish that every instance have access to the same data as our load balancer may route the incoming requests differently. The problem is that I'm storing / editing…
afriedman111
  • 1,925
  • 4
  • 25
  • 42
0
votes
1 answer

Reading feather file from a url in python

I am using api gateway proxy for s3 to read feather files. Below is the simplest form of the code I am using. import pandas as pd s3_data=pd.read_feather('https:///') This gives an error - reader =…
Naxi
  • 1,504
  • 5
  • 33
  • 72
0
votes
0 answers

How to keep trailing zero after reading from arrow files

Using apache-arrow js (https://github.com/apache/arrow/tree/master/js), I can read arrow file (or even feather file) by a few lines only. const arrow = fs.readFileSync("test.feather"); const table = apArrow.Table.from([arrow]); However I found…
appletabo
  • 239
  • 2
  • 12
0
votes
2 answers

Reading Arrow Feather files in GoLang or Javascript

I am looking for a way to read the feather files via GoLang or Javascript, or some other languages that does not require users to do some other extra installation. My goal is to provide a User-interface to read a feather csv file and convert it back…
appletabo
  • 239
  • 2
  • 12
0
votes
1 answer

R package "feather" give me error "Error in check_dots_empty(action = signal) : unused argument (action = signal)"

I start getting a very strange error from the "feather" package in R: Let say I write and read file write_feather(mtcars, 'm') read_feather('m') The last one gives me Error in check_dots_empty(action = signal) : unused argument (action =…
Andrii
  • 2,843
  • 27
  • 33
0
votes
1 answer

"NOT a feather file" when reading feather file from pandas

I'm new to this. Any ideas? Thank you somcuh!