Find Jobs
Hire Freelancers

207651 python BerkeleyDB class

N/A

Selesai
Dibuat sekitar 16 tahun yang lalu

N/A

Dibayar ketika dikirim
I need a simple interface class "Data" that handles the BerkeleyDB connections for table data with id's as columns and dates as rows such as ,A,B 20080101,3,10 20080102,2,20 20080103,1,30 20080104,0,40 This simple "Data" class will have the following 5 methods: * __init__(self, filename): opens a BerkeleyDB database connection to "filename" * get(self, ids, d1, d2): returns a scipy array of floats (ie, a matrix) for each id in the "ids" list for dates between "d1" and "d2" * update(self, ids, date_vec, matrix): takes a list of "ids" and "date_vec" and a scipy array "matrix" and updates the BerkeleyDB * load_csv(self, filename): reads a csv table (see above) and updates the BerkeleyDB * dump_csv(self, filename): writes the BerkeleyDB to csv table (see above) The class will use both the python module "bsddb" for the "Interface to Berkeley DB library" and the python module "csv" for reading/writing the csv files. As stated above, I would prefer that the matrix data be return as a Scipy array, but a nested list of floats would be acceptable. I would anticipate this project to take approximately 1 hour for someone with experience with python, BerkeleyDB, and bsddb. Please don't hesitate to PM me for any clarifications required. Best, J
ID Proyek: 1953876

Tentang proyek

1 proposal
Proyek remot
Aktif 12 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
$20 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera
5,0
4
Anggota sejak Jan 13, 2008

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.