These are chat archives for spyder-ide/public

5th
May 2019
pgr123
@pgr123
May 05 08:25
Why ?
CAM Gerlach
@CAM-Gerlach
May 05 15:25

Good sunday.

@pgr123 In my timezone (US), it was 12:00 noon (mid-day) on Saturday; I was just making a joke about that. Sorry for the confusion.

pgr123
@pgr123
May 05 17:25
No problem. I understood. Have a good day.
CAM Gerlach
@CAM-Gerlach
May 05 19:05
You too!
serra
@quiguisola
May 05 22:05
hi, the variables explorer doesn't show the variables written in all caps, why is that?
CAM Gerlach
@CAM-Gerlach
May 05 22:07
@quiguisola Because, by default, it is set to filter them (by standard convention, ALL_CAPS is only used for module-level constants in Python, and are thus typically uninteresting to examine dynamically when you could do so merely by scrolling to the top of your module where you defined them). If for whatever reason you want to change this, just uncheck it in the Variable Explorer options menu (the "gear").
serra
@quiguisola
May 05 22:08
ok, thx! one more thing: can I ask something about pandas here?
CAM Gerlach
@CAM-Gerlach
May 05 22:10
Unless it has something directly to do with Spyder, I'd suggest you find a more appropriate help resource that can assist you, as likely much of anything that cannot be found somewhere in pandas' extensive docs and user guide is likely to be beyond regular users as myself.
But you could ask.
serra
@quiguisola
May 05 22:12
Ok, I'll give a try... when I print a dataframe into the spyder terminal, it is displayed with some columns omitted with three dots, eventhough my screen has plenty of space left. I think I have to modify some panda's option (display.max_columns) but I'm not sure.
CAM Gerlach
@CAM-Gerlach
May 05 22:16
@quiguisola Yes. This explanation in the pandas docs was the first hit when I Googled it for you. Of course, you can always just view the entire thing interactively in Spyder's Variable Explorer, with the ability to expand and scroll to an arbitrary size, sort by columns, color code by value, edit the dataframe, plot any column, etc, etc.
serra
@quiguisola
May 05 22:17
thank you very much
serra
@quiguisola
May 05 22:28
I'm trying to plot or edit the dataframe throught the variable explorer, but I dont see how...
I manage to sort, expand, color code, but not plot or edit
CAM Gerlach
@CAM-Gerlach
May 05 22:35
Just double click any value to edit. Actually, you currently can't plot dataframes in the VarExp, only arrays but that could be added to dataframe columns in the future.
(Since dataframe columns are backed by arrays)
serra
@quiguisola
May 05 22:36
thanks again :)