Skip to content

Data Viewer shows null index column when index column is reset #3436

@ReagentX

Description

@ReagentX

Environment data

  • VS Code version: 1.33.1
  • Extension version (available under the Extensions sidebar): 2019.4.11881
  • OS and version: Windows 10 1709 build 16299.1029
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
  • Relevant/affected Python packages and their versions: N/A

Expected behavior

image

Actual behavior

image

Steps to reproduce:

all_data = pd.read_csv('output/filename.csv')
all_data['Week Ending'] = pd.to_datetime(all_data['Week Ending'])
all_data.set_index('Week Ending', drop=True, inplace=True)
all_data.head()

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)


Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)


Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions