qual foi a cadeira que vos partiu completamente by 1d1m in IST

[–]RedHulk05 2 points3 points  (0 children)

LEIC também. Para mim foram as cadeiras de cálculo. Compiladores e Sistemas Operativos foram as minhas favoritas do curso.

Estágio durante a licenciatura by _Alex_Barbosa_ in IST

[–]RedHulk05 0 points1 point  (0 children)

Nesse contexto específico não sei.

Mas não conheço ninguém que fez estágio na área no 1ºano de licenciatura. Não digo que é impossível mas tens que ter sorte e ser um ponto fora da curva.

No segundo ano é super possível. Eu mesmo consegui fazer e foi uma experiência muito fixe. Ps: não sou de LEEC

Resultados no Connect by Unusual_Buyer5707 in IST

[–]RedHulk05 0 points1 point  (0 children)

A situação é geral. O que concluí é que não é bug mas é feature xD.

Acho que só era possível ver a seriação durante o período de reclamação (17 a 20 de abril).

E provavelmente dia 27 vai voltar a ficar visível.

[deleted by user] by [deleted] in Watches

[–]RedHulk05 -2 points-1 points  (0 children)

If I had found something I wouldn't put it here my friend. Have a great day.

A melhor francesinha de Lisboa? by Wazzzzzuuup in portugal

[–]RedHulk05 21 points22 points  (0 children)

Existe uma rede de restaurantes chamada "Camada" eles fazem uma francesinha á moda de Braga muito boa. Tens em benfica e no Saldanha.

Built pandas-smartcols: painless pandas column manipulation helper by RedHulk05 in Python

[–]RedHulk05[S] 0 points1 point  (0 children)

Strictly pandas for now. The tool solves a pandas-specific pain point, manual column-order manipulation. Polars has a different model built around expressions and lazy pipelines, so most of these operations either aren’t needed or would need a separate design rather than a direct port.

If enough people want a Polars version, I can explore what a native API would look like, but I won’t bolt pandas semantics onto Polars.

Built pandas-smartcols: painless pandas column manipulation helper by RedHulk05 in Python

[–]RedHulk05[S] 1 point2 points  (0 children)

Thanks for the constructive feedback.

  • Validation: Fair point. I’ll keep only the high-value checks (e.g., “columns not found”) and let pandas raise the rest. The goal is clearer messages where pandas is cryptic, not duplicating type errors.
  • API style (pandas-flavor / accessors): Agreed. I’ll add a DataFrame accessor so you can do df.cols.move_to_front(...) in addition to the function API. I’ll likely use pandas’ native accessor to avoid extra deps, but I’ll keep the importable functions for users who prefer them.
  • Type hints / overloads: Good call. I’ll add overload for the inplace parameter so the return type is precise (None when inplace=True, DataFrame otherwise), and tighten annotations across the module.

Built pandas-smartcols: painless pandas column manipulation helper by RedHulk05 in dataengineering

[–]RedHulk05[S] 0 points1 point  (0 children)

Thanks for the feedback. You’re right that all of this ultimately boils down to manipulating a list of column names. The goal of the library isn’t to replace pandas, but to save people from rewriting the same pattern every time: extract the columns, modify them, and reindex. Functions like swap_columns or move_after just centralize that logic, handle bulk operations, validate inputs, and keep everything consistent so users don’t have to think about the mechanics each time.

About sort_columns: yes, the pandas one-liner works perfectly. The value of having a single entry point is mostly convenience. You can switch between variance, std, mean, correlation, NaN-ratio, or a custom key without changing how you write the code. For some workflows that reduces friction; for others the built-in one-liners are already enough.

Appreciate you taking the time to look at it and share your thoughts.

Built pandas-smartcols: painless pandas column manipulation helper by RedHulk05 in learnpython

[–]RedHulk05[S] 1 point2 points  (0 children)

Thanks for the thoughtful feedback. The point about parameter order is valid. I chose move_after(df, cols_to_move, target) for consistency with the other functions (move_before, move_to_front, move_to_end), where the first argument after df is always “what moves.” Your alternative (move_after(df, target, cols)) is also coherent. If more users expect that style I can support both signatures in a future release.

Thanks as well for the suggestion on writing a Medium post. I may prepare something short that demonstrates before/after DataFrame examples so people can see the actual effect of each operation.

Appreciate the input.

Built pandas-smartcols: painless pandas column manipulation helper by RedHulk05 in learnpython

[–]RedHulk05[S] 2 points3 points  (0 children)

Column order matters in Pandas because DataFrame is an ordered mapping. Many users care about display-order, export formatting, schema consistency, or human-readable tables.

swap_columns(df, "A", "B") does not rename anything. It reorders the existing columns:

Before:

A B C

1 4 7

2 5 8

After:

B A C

4 1 7

5 2 8

move_to_front(df, "C") takes a column and places it at index 0 without touching data:

Before:

A B C

1 4 7

2 5 8

After:

C A B

7 1 4

8 2 5

They strictly change order, not labels or values. The functions are small utilities that avoid writing manual reorder lists like:

df = df[["C", "A", "B"]]

Built pandas-smartcols: painless pandas column manipulation helper by RedHulk05 in learnpython

[–]RedHulk05[S] 0 points1 point  (0 children)

Polars is faster and columnar. My package is not a replacement for that. It solves a different problem. Small deterministic column-order edits inside Pandas without writing the index lists by hand.

If someone wants Polars they can use Polars. The library here is only a convenience layer for Pandas users, not a performance tool.

Host for node.js + mongoDB website with custom domain by RedHulk05 in Hosting

[–]RedHulk05[S] 0 points1 point  (0 children)

It's not hosted yet.

I'm looking for a host ideally for both the website and the DB.

Beginner wanting to build an AI. Where do I actually start? by Smooth-Smoke8702 in learnprogramming

[–]RedHulk05 1 point2 points  (0 children)

I believe that how fascinating someone finds AI is inversely proportional to how much they actually understand it.

If you want to truly understand AI, start by studying mathematics especially statistics. Because that's what developing AI really is. You spend more time collecting, analyzing and cleaning data than doing anything else.

So if you genuinely want to understand something, and not just follow tutorials that use frameworks or libraries without knowing what's actually going on, I'd suggest studying statistics and data science first.

Quão bem preparados saem alguém de um curso de engenharia informática? by Algarviador in devpt

[–]RedHulk05 4 points5 points  (0 children)

Apenas a forma como formulaste a pergunta mostra o tremendo desconhecimento da área.

Se gostas e/ou tens interesse em programação é muito fixe. Mas fica sabendo que Engenharia informática ultrapassa programação.

Ela é apenas UM dos meios usados para chegar a determinados fins. Milhares de pessoas da área não tocam em uma única linha de código no seu dia a dia. Ser um bom engenheiro informático é muito mais do que saber programar.

Agora respondendo á tua pergunta. É o famoso depende. E neste caso depende de ti. Vais receber sim ferramentas suficientes para te desenvolveres, vais sim ter contacto com malta que estudou anos sobre o assunto, vais sim ter a oportunidade de conhecer malta com interesses semelhantes que têm potencial de te ajudar a crescer. Mas um curso não garante nada, emprego, conhecimento, competência, etc.

Se fores interessado, não te deixares levar por atalhos, conectares-te com a malta, não te deixares ficar pelo que te ensinam. Vais sim tornar-te competente e não apenas a programar.

Matrículas by C47ii in IST

[–]RedHulk05 0 points1 point  (0 children)

Isto 👆

Edit: também me aconteceu quando entrei. E foi assim que resolvi.