Jos muistatte vielä kitti vai pakkeli -problematiikan, niin ratkaisin sen ostamalla kahdenlaista *tasoitetta*.
Samalla huomasin, että Puuilossa myydään myös kaliaa. Makes sense. En silti ostanut.
#pint-a-remppa
Jos muistatte vielä kitti vai pakkeli -problematiikan, niin ratkaisin sen ostamalla kahdenlaista *tasoitetta*.
Samalla huomasin, että Puuilossa myydään myös kaliaa. Makes sense. En silti ostanut.
#pint-a-remppa
Do you have the need to import quantities from #CSV files in order to process them with #Python and you'd like to use #pandas and #pint for that purpose?
I run quite frequently into this situation and created an importer for it, which I just added to the #QuanTables repo:
I’ve just deposited some Python code in a public codeberg repo 🚀
The modules are designed to simplify GUI creation with PySide6 (Qt), specifically tailored for handling quantities (with uncertainties). Perfect for anyone working on scientific or engineering applications where precision matters.
🔗 https://codeberg.org/Cs137/QuanTables
Feel free to explore, fork, and contribute! 🛠️✨
#Python #PySide6 #Qt #pint #uncertainties #UnPaAc #OpenSource #codeberg #QuanTables
Since I'd like to display a #pandas DataFrame containing Pint Uncertainty Series in a GUI using `QtTableView` widgets, I drafted a module that provides a suitable `QAbstractTableModel` derivation.
The output is customisable: `deconvolute` toggles the way #uncertainties are displayed, `significant_digits` should be self-explanatory, and the `unit_separator` is placed between the measure and the #unit in the header.
I am really looking forward to a time when scientific data analysis is less of a constant fuckaround and fight with technical bullshit. I'd *really* like
- #netCDF natively supporting complex numbers
- #Python #xarray and #pandas to natively support physical units (#pint is great on its own but the integrations leave a LOT to be desired)
- #Jupyter notebooks to suck less (crashes, glitches, widget plots not saved statically, an effing BUILTIN formatter, etc.)
- proper data pipeline systems
...
From the #Ministry of #Mugs Poobah says. “A #pint of #wisdom is best served #cold, unless it’s #Monday, then serve it with regret and #pretzels.”
Moral: National #Beer Day won’t fix your #week, but it makes Monday forget what it was doing.
#PoobahSays
#MondayMotivation
#NationalBeerDay
#BeerDay
#CheersToBeer
#MondayBrews
#HappyHour
#PintsAndPretzels
Putting the world to rights.
Taylors is a good pint!
Sunk in Six
'Tis St. Headache's Day
Pain in drinkin' o' the green
Why'd I quaff so much?
#Haiku #OneHaikuADay #WritersCollective #writingcommunity #BackToHaiku #Winter #March #Spring #StPatricksDay #GreenBeer #Hangover #Headache #Drunk #Drinking #Alcohol #Beer #Pint #Guinness
March 18, 2025
The #Edinburgh feeling is very strong tonight again - and I'd like nothing more than to finish my day's work with a decent #pint of Caledonian 80 or some other real ale in one of #AuldReekie's cosy pubs.
(Such as Bennet's Bar, pictured)
I use the #Python library #Pint to integrate units into my #engineering calculations. In general, it works well with #NumPy, but I discovered yesterday that units are lost when using the "piecewise" function on an array with units.
Possibly the problem would be solved if I upgraded to the latest versions of Pint and NumPy; both have seen a lot of development in recent years. But I won't depend upon NumPy > v.2.0 until it's been released in Debian Stable.
The #UnPaAc package is now available on #PyPI. One advantage compared to #pint and #uncertainties (including their #pandas integrations) is, that it allows to store and restore DataFrames with Series containing #units and uncertainties to/from csv files. An example workflow of this procedure is described in the package's readme file: https://codeberg.org/Cs137/UnPaAc#save-a-dataframe-to-csv-and-restore-dataframe-from-csv
I created accessors which simplify working with #uncertainties and #units in #pandas objects. Since the weekend was to short, the package is not ready for a #pypi deposition yet, but available via the #codeberg repo:
https://codeberg.org/Cs137/UnPaAc
Feedback appreciated 🙂
Public Theology! 6 PM tonight at Nello's, 48th and Warner (northwest corner). Join us for fellowship and conversation shared over your favorite drink!
#goodfood #pub #publictheology #pint #beer #drink #fellowship #conversation #ahwatukee
El festival #Pint of #Science de divulgación en bares vuelve en 2025 y ya está en búsqueda de voluntariado.
¿Te gustaría formar parte del equipo organizador de #Pint25ES en tu localidad? Solo tienes que rellenar un sencillo y rápido formulario ☺️
Web de Pint of Science pintofscience.es
Formulario docs.google.com/forms/d/e/1FAIpQLSdLGjMR_8AiV5iP0PlRjzOb51urRnF2jK36YP3KbxJFl1v1dg/viewform?usp=send_form